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 / 9266
9265  |  9267
Subject: 
Re: Color Definition for Dull Silver
Newsgroups: 
lugnet.cad.dev, lugnet.cad.ray
Date: 
Tue, 23 Sep 2003 19:51:05 GMT
Viewed: 
2819 times
  
In lugnet.cad.dev, Lars C. Hassing wrote:
In lugnet.cad.dev, Orion Pobursky wrote:
In lugnet.cad.dev, Lars C. Hassing wrote: [snip]
I would like to draw attention to my posting about material:
http://news.lugnet.com/cad/dev/org/ldraw/?n=2530

Are you going to support the ldconfig file in the next version of L3P?  This
would make coming up with different color sets easy.

Yes, as soon as the format is settled.

On that note, let me toss in my $2.

I agree with Cary and Steve that dithering should go.  Who needs it?
The renderer should be able to convert from true color to dithered
colors if the display is underpowered.  If you must have it for some
special effect like pearlescent sprinkles, then add it to the material
section.   So colors should be 0xAARRGGBB because that's the way
I like to parse them.  AA should be somewhere between FF and 00 for
transparent colors. (perhaps 80?)

I think the true color edge colors need the high bits to distinguish
them from color indices, so I vote for 0x2RRGGBB for that.

Multiple material properties are separated by the word MATERIAL.

Contrived examples with completely bogus colors.

0 //      Index  ColorName   EdgeColor  Color ARGB  Materials

0 COLOURDEF  33 TransBlue    0x2002266  0x800020A0  MATERIAL transparent
0 COLOURDEF 256 RubberBlack  0x2000000  0xFF212121  MATERIAL rubber
0 COLOURDEF 334 ChromeGold          15  0xFFC40026  MATERIAL metallic SHININESS
15
0 COLOURDEF nnn PearlyTan    0x2808080  0xFFC40026  MATERIAL pearly 0x80123456

Don



Message has 2 Replies:
  Re: Color Definition for Dull Silver
 
(...) It's needed for backwards compability. Using an old/not updated renderer shouldn't make the rendering look awkward. But using a newer renderer should make it better. So is the case with grey rubber, black rubber, and electric conductor. When (...) (21 years ago, 23-Sep-03, to lugnet.cad.dev, lugnet.cad.ray)
  Re: Color Definition for Dull Silver
 
(...) Actually, I want to keep dithering. (...) Shrug. I dunno. (...) I'm OK with AARRGGBB, if everyone agrees with that. I'd recommend that programs recognize a variety of semi-standard formats, specifically: #AARRGGBB 0xAARRGGBB AARRGGBB (...) (21 years ago, 24-Sep-03, to lugnet.cad.dev, lugnet.cad.ray)

Message is in Reply To:
  Re: Color Definition for Dull Silver
 
(...) [snip] (...) Yes, as soon as the format is settled. /Lars (21 years ago, 23-Sep-03, to lugnet.cad.dev, lugnet.cad.ray)

26 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