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 / 11936
    Re: New colours in Ldraw? —Travis Cobbs
   (...) So, just so that I understand, are you saying that ldraw subtracts 64 from colors between 64 and 128, and uses that new value as the color? I wasn't aware of this behavior. (I understand it might not do exactly that; I just want to know if (...) (20 years ago, 7-Oct-04, to lugnet.cad)
   
        Re: New colours in Ldraw? —Steve Bliss
   (...) Yes, basically. LDraw color codes are bit-mapped. Bit 8 -> 0=normal, 1=dithered Bit 5 -> 0=opaque, 1=transparent (when bit 8 is 0) Bit 0-3 -> Color index (when bit 8 is 0) When LDraw goes to draw an opaque color, it does (color && 0xF) to mask (...) (20 years ago, 7-Oct-04, to lugnet.cad)
 

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