To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 11426
11425  |  11427
Subject: 
Help with LDGLite...
Newsgroups: 
lugnet.cad
Date: 
Mon, 3 May 2004 05:27:52 GMT
Viewed: 
572 times
  
Hi everyone,

Please excuse the newby question, but I am using LDGLite to automatically
generate .png thumbnails of the LDraw parts.
I'm quite new at all this, but on the whole, I seem to be working out most
of what I need to know.

My question is, can LDGLite (or any other tool that can automatically spit
out images) use custom colors? Am I able to somehow specify an RGB or Hex
value or am is the list of available colors hardcoded?

For example, the following line generates a thumbnail of part no 2530 in
White;
ldglite -s2 -q -i2 -mSbitmap/2530.png 2530.dat -l2 -c15 -w2

The important value being -c15 which is LDraws defination for white. In my
test, I was able to generate all the standard LDraw colors, but couldn't
find a way to enter custom ones.

Is this possible?

Thanks in advance for the help,
Richard.



Message has 1 Reply:
  Re: Help with LDGLite...
 
(...) It should be possible. I think partsref and maybe peeron do it, but I suspect they use the ldliterc.dat file to define the custom colors. I think that file is documented here. (URL) put something like this in it. 0 COLOUR 335 SAND_RED 12 212 (...) (20 years ago, 3-May-04, to lugnet.cad)

4 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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