|
What's the "best"[1] automated or semi-automated way to render a large
number of parts images into GIFs? (It's OK if there are multiple steps or
if a final pass has to convert the results from PNG or BMP to GIF.)
What I would like to do for the LUGNET Brictionary is let something loose on
my C:\LDRAW\PARTS directory and have it spit out thousands of images like
the ones Tom Stangl made here...
http://www.lugnet.com/ldraw/parts/
http://www.lugnet.com/ldraw/parts/?c=15&n1=3004&n2=3004
...but work toward a display format more like this:
http://www.lugnet.com/database/elements/sample-2571.html
and possibly also like one or more of these:
http://www.lugnet.com/database/elements/sample-2357.html
So at the minimum, I want to be able to make White and Clear images of every
element, but if I can do that then I can (probably) make all colors just as
easily.
It'll take a good gigabyte or so of disk space for all the images, but it'll
be well worth it.
The nice thing about having all the parts pre-rendered in all colors, BTW,
is that a set inventory containing LDraw part numbers can be run through a
script to pump out a page showing pictures and names for all[2] the parts in
the set, in full color and crosslinked into the Brictionary for more
details.
--Todd
[1] Or for that matter, what's *any*...?
[2] All that are available in LDraw format, anyway.
|
|
Message has 3 Replies: | | Re: Best way to make parts images?
|
| I would use l3p and povray, but since l3p only runs on wintel, you have to do that part on a wintel box. Here's how I would do it: 1. Make a batch file to create a dat file for each part. 2. make a batch file to run l3p on each of those dat files 3. (...) (25 years ago, 27-Nov-99, to lugnet.db.brictionary, lugnet.cad)
| | | Re: Best way to make parts images?
|
| (...) I once wrote a program to create GIFs from the LeoCAD library for a person who wanted to build a database with all parts. If you're interested, just tell me how you want the files (size, color, command line options) and I'll recompile it (or (...) (25 years ago, 27-Nov-99, to lugnet.db.brictionary, lugnet.cad)
| | | Re: Best way to make parts images?
|
| (...) Quick and Dirty: - Install LDLite and LDraw Add-On - Point LDAO at LDLite for catalog-images (see (URL)). - Run the Make Catalog repeatedly, once for each color. - After running each color-batch, copy/convert all the files in ldraw\vec\ to a (...) (25 years ago, 29-Nov-99, to lugnet.db.brictionary, lugnet.cad)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|