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 / 10480
10479  |  10481
Subject: 
Re: What does a subpart with color=24 mean?
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 5 Sep 2006 20:22:45 GMT
Viewed: 
2459 times
  
In lugnet.cad.dev, Mark Tarrabain wrote:
Okay... that makes sense.

But what if the contrast color for the current file's main color is just
an RGB value rather than a color index?   What should the subfile's
contrast color be set to in that case?

In the case of some kind of direct color, I guess the rendering program is free
to do whatever it wants.  The simplest action would be to default to black
(either LDraw 0, or RGB #000000).

I'd be interested to hear what actual rendering programs do...

Thank you for your help, by the way.

No problem.

BTW, it looks like most instances of "1 24 ..." in the parts library are
mistakes -- all primitives are coded to be used with color 16.  Sometimes,
people assume that edge-primitives need to be given the edge-color.

Steve



Message has 1 Reply:
  Re: What does a subpart with color=24 mean?
 
(...) Well, one that I have gives a warning message that says it can't handle color 24 and substitutes 16 for such lines. But I wasn't sure if that was correct behaviour. Another one that I've played with quietly accepts such lines, but appears to (...) (18 years ago, 5-Sep-06, to lugnet.cad.dev)

Message is in Reply To:
  Re: What does a subpart with color=24 mean?
 
Okay... that makes sense. But what if the contrast color for the current file's main color is just an RGB value rather than a color index? What should the subfile's contrast color be set to in that case? Thank you for your help, by the way. >> Mark (...) (18 years ago, 5-Sep-06, to lugnet.cad.dev)

12 Messages in This Thread:




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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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