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 / 14177
14176  |  14178
Subject: 
Re: I found an LDRAW importer for Google SketchUp
Newsgroups: 
lugnet.cad
Date: 
Sat, 4 Nov 2006 18:24:45 GMT
Viewed: 
3317 times
  
In lugnet.cad, Travis Cobbs wrote:

A note on colors.  Some LDraw tools (including MLCAD, LDView, L3P) support
arbitrary 24-bit color specifications.  Use the following in place of the
color code for colors you don't recognize:

Thanks for the tip.

I plan on having a custom pallet in SketchUp with all the ldraw colors
available. Of course, you can create your own colors too. A custom color will
get exported as you describe below.


0x02RRGGBB

The RRGGBB part is the hex version of the RGB.  Make sure to 0-pad.  So
255,128,0 would be 0x02FF8000.

You can use the following to get transparent colors:

0x03RRGGBB

Of course, you can't control the amount of transparency, just whether it's on
or off.

I'd use 50% in that case.


--Travis



Message is in Reply To:
  Re: I found an LDRAW importer for Google SketchUp
 
(...) A note on colors. Some LDraw tools (including MLCAD, LDView, L3P) support arbitrary 24-bit color specifications. Use the following in place of the color code for colors you don't recognize: 0x02RRGGBB The RRGGBB part is the hex version of the (...) (18 years ago, 3-Nov-06, to lugnet.cad, FTX)

16 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