To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.ideasOpen lugnet.cad.dat.ideas in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Ideas / 214
213  |  215
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, that’s 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 must’ve worked though.

   The final version of the POV-Ray scene rendered in about 4 hours.

The new code in LDAO isn’t polished enough to publish as a vectorBMP2DAT yet. I’ll 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? I’m 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. I’m 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 you’ve done all the hard work, I’m perfectly willing to borrow it and make a portable vectorBMP2DAT program when you’re 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR