To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 4106
4105  |  4107
Subject: 
Re: LDraw extended colors
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 2 Mar 2000 07:44:07 GMT
Viewed: 
787 times
  
In lugnet.cad.dev, Lars C. Hassing writes:
The LDraw colors are 0-15, 32-47, 256-511 (and of course 16 and 24).
Paul Gyugyi defined some more colors for LDLite, 17-23, 25, 57
and "Direct Colors" in the range 0x04000000-0x07FFFFFF.

As MLCad supports these colors, I'm going to add support for them too.

However, Gyugyi packed two RGB's (for dithering) into each Direct Color
leaving only 12 bits to each RGB, e.g. 0x04RGBRGB.
Some L3P and L3Lab users have asked for the possibility to specify
"true colors" (24 bit RGB's), so I would like to define/reserve the range
0x02000000-0x03FFFFFF for this.
0x02RRGGBB for solid colors and 0x03RRGGBB for transparent.

I will support, but not require, hex notation for colors (0x/0X prefix).

I hope MLCad, LDLite and other tools will support the new range too.
/Lars

I will have to find a way how to define such colors in MLCad but I think I
will provide an option where the user can define if he/she likes 24bit or
12bit colors.

Generally no problem :-)

Michael



Message is in Reply To:
  LDraw extended colors
 
The LDraw colors are 0-15, 32-47, 256-511 (and of course 16 and 24). Paul Gyugyi defined some more colors for LDLite, 17-23, 25, 57 and "Direct Colors" in the range 0x04000000-0x07FFFFFF. As MLCad supports these colors, I'm going to add support for (...) (25 years ago, 1-Mar-00, to lugnet.cad.dev)

6 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