Subject:
|
Re: What does a subpart with color=24 mean?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 5 Sep 2006 22:17:02 GMT
|
Viewed:
|
2658 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Steve Bliss wrote:
> 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...
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 always use black as the edge color
within a subfile if 24 is given as the main color, regardless of what
the main color was in the calling file. So I don't know what to think.
> > 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.
This possibility had occurred to me, but I didn't want to make that
assumption.
But if these occurrences are just a mistake, would it be a bad thing to
just treat lines "1 24 ..." as if it were "1 16 ..." (as the program I
mentioned above does)?
>> Mark
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: What does a subpart with color=24 mean?
|
| (...) 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 (...) (18 years ago, 5-Sep-06, to lugnet.cad.dev)
|
12 Messages in This Thread: ![What does a subpart with color=24 mean? -Mark Tarrabain (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: What does a subpart with color=24 mean? -Ross Crawford (5-Sep-06 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: What does a subpart with color=24 mean? -Ross Crawford (5-Sep-06 to lugnet.cad.dev)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: What does a subpart with color=24 mean? -Steve Bliss (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: What does a subpart with color=24 mean? -Mark Tarrabain (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/246.gif) ![Re: What does a subpart with color=24 mean? -Steve Bliss (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: What does a subpart with color=24 mean? -Mark Tarrabain (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: What does a subpart with color=24 mean? -Steve Bliss (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: What does a subpart with color=24 mean? -Mark Tarrabain (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![Re: What does a subpart with color=24 mean? -Steve Bliss (5-Sep-06 to lugnet.cad.dev)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: What does a subpart with color=24 mean? -Travis Cobbs (5-Sep-06 to lugnet.cad.dev)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|