Subject:
|
Re: non-lego rendering using various LDraw tools
|
Newsgroups:
|
lugnet.cad.dat.ideas
|
Date:
|
Thu, 23 Sep 2004 16:43:50 GMT
|
Viewed:
|
4142 times
|
| |
| |
In lugnet.cad.dat.ideas, Steve Bliss wrote:
|
So, I wrote new code in LDAO to build a vectorized version of the
image. The new code generates the outline of the image, then uses
the Triangle utility to generate the mesh of triangles. Then more
code in LDAO converts the Triangle output back to LDraw code. More
LDAO code turns the 2D figure into a 3D prism (ie, makes it thick).
|
Hey, thats pretty cool. Did you use the Triangle executable I
built? I replaced it with a new build containing the math fix Travis
mentioned, but forgot to mention that I did so. I guess whatever
you used mustve worked though.
|
The final version of the POV-Ray scene rendered in about 4 hours.
The new code in LDAO isnt polished enough to publish as a
vectorBMP2DAT yet. Ill work on that, and release it soon.
|
How does Triangle handle different colors? Do you have to generate
a separate input file for each color? Im hoping to maybe steal
some of your work. A while back (in May) I made a version of autotrace
that takes a BMP file and outputs a LDR file with all the type 2
edge lines. Im pretty sure I posted the source and executable here
somewhere. Anyhow, I lost focus at that point because I had to write
the converters to and from the Triangle format so I could use it to
generate the Meshes for each color. Darn that attention deficit
disorder!
Now what the heck was I talking about? Oh yeah, if youve done all the
hard work, Im perfectly willing to borrow it and make a portable
vectorBMP2DAT program when youre finished.
Have fun,
Don
|
|
Message has 1 Reply: | | Re: non-lego rendering using various LDraw tools
|
| (...) Yep, thanks for doing that. Then I turned around and installed Cygwin, so now I probably have gcc available -- I think. (...) Heh. Yeah, considering how raw my edge-construction code is, a few small math errors wouldn't be noticeable. And the (...) (20 years ago, 23-Sep-04, to lugnet.cad.dat.ideas, FTX)
|
Message is in Reply To:
| | non-lego rendering using various LDraw tools
|
| I've been messing around with a rendered scene for a music CD-R. I'm really happy with how it turned out, so I thought I'd share it. More on-topic, I used a number of LDraw tools in the creation process. (URL) Rendered CD booklet cover>> Bonus (...) (20 years ago, 23-Sep-04, to lugnet.cad.dat.ideas, FTX)
|
8 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
|
|
|
|