Subject:
|
Re: Sticker Generator for LDRAW / MLCAD
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Thu, 26 Jul 2007 17:44:34 GMT
|
Viewed:
|
4425 times
|
| |
| |
Sorry that it has taken me so long. In fact, I am still working on creating
quadrilaterals and triangles to fill the largest spaces possible. My main
hang-ups are:
reducing processing time
a working point-in-polygon test
I have found two different methods for testing if a point is inside a polygon,
but both have flaws (or my implimentation of them has flaws)
I did create a webpage for the sticker generator. Does anyone have a better
name for it, other than sticker generator?
The ldraw primary colors is now working, and the preview for ignoring background
colors is now more accurate.
Please checkout the website, download the program, and let me know what other
changes that I can make:
<http://www.scottwardlaw.com/sticker_generator/>
I will continue to work on the polygon problem.
Thanks again for all of your help and suggestions,
Scott
|
|
Message has 1 Reply: | | Re: Sticker Generator for LDRAW / MLCAD
|
| (...) There is C code for a point in polygon implementation here: (URL) only 8 lines of code for the whole thing, but it supports arbitrary polygons, including ones with holes. UNDERSTANDING the algorithm might take a little work, but the page (...) (17 years ago, 26-Jul-07, to lugnet.cad)
|
Message is in Reply To:
| | Re: Sticker Generator for LDRAW / MLCAD
|
| (...) If you can work out regions of identical colour I believe there is a theory that says you can fill it with no more than 2N (where N is the number of corners) triangles. This is probably a good way of doing it for complex shapes. If I ever get (...) (17 years ago, 25-Jul-07, to lugnet.cad)
|
17 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|