|
| | Re: Converting Polyline to Mesh
|
| (...) Uh. Wow. Yeah, that should do what I need. If it can fill in Lake Superior, it should handle my little de-rasterized figure. I suspect that using Triangle on my little polygon-filling exercise will be like using a firehose to water a flower (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
| | | | Re: Converting Polyline to Mesh
|
| (...) Oops, found it. (URL) in case I lose it again: Delaunay, triangle, vectorize, mesh, polyline, voronoi, and tesselate! That oughta do it... Don (20 years ago, 21-Sep-04, to lugnet.cad.dev)
| | | | Re: Converting Polyline to Mesh
|
| (...) I coulda sworn I mentioned this here before. (URL) I can't find the reference (something about stained glass window patterns). Oh well. Enjoy, Don (20 years ago, 21-Sep-04, to lugnet.cad.dev)
| | | | Converting Polyline to Mesh
|
| Heya, Can anyone point me to an algorithm for converting a polyline to a triangle mesh? The polyline must be allowed to be highly irregular - concave, definitely. Maybe not ... ummm ... fully connected. I've been doing some googling, but so far I've (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
| | | | Re: LPub mask generation
|
| (...) Hi Anders, I have not been able to gain access to the source. Do you have any suggestions on how to do it? Thanks, Kevin (20 years ago, 20-Sep-04, to lugnet.cad.dev)
| | | | Re: LPub mask generation
|
| (...) Both classes are in the TCFoundation directory: TCImage and TCPngImageFormat. To use them directly, you'll also need TCObject and TCAutoreleasePool. However, the only thing they use out of there that I know of is my reference counting stuff, (...) (20 years ago, 20-Sep-04, to lugnet.cad.dev, FTX)
| | | | Re: LPub mask generation
|
| (...) Hi Travis, I've downloaded LDview, and gotten libpng and zlib built under C++ Builder. What classes do you have for reading and writing PNG files based on libpng. I'd like to give them a look. Thanks, Kevin (20 years ago, 20-Sep-04, to lugnet.cad.dev)
| | | | Re: LPub mask generation
|
| (...) This project seems pretty old, but you've set me on the right track. PNG provides compression like JPG and no loss of image quality like BMP. Plus POV-Ray supports alpha channel with PNG. These three combined set me off on the task of (...) (20 years ago, 17-Sep-04, to lugnet.cad.dev)
| | | | Re: LPub mask generation
|
| (...) If you're interested, LDView has two C++ classes that together allow you to write a PNG via libpng. They have the advantage of being much easier to use that libpng itself. Take a look in the LDView source at TCImage.{h,cpp} and (...) (20 years ago, 16-Sep-04, to lugnet.cad.dev)
| | | | Re: LPub mask generation
|
| (...) I just upgraded to Borland C++ Builder 6, and there is a good PNG library for it. I'll use that and convert LPub over to use PNG (instead of BMP and JPG?). Alpha channel will be nice, allowing for semi-transparency. Kevin (20 years ago, 16-Sep-04, to lugnet.cad.dev)
| |