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 / 6750
6749  |  6751
Subject: 
Re: RGB Coding in LDraw?
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 25 Jan 2002 01:08:13 GMT
Viewed: 
791 times
  
Dave Schuler wrote...
In lugnet.cad.dev, Jacob Sparre Andersen writes:
Lars C. Hassing wrote:

Dave Schuler wrote...

In addition, is it possible to code color qualities, like
reflectiveness, into a .dat file?

No, only transparency.

But maybe it was an idea to add it?

  Well, since I'm not code-savvy, I don't feel comfortable making demands on
those who are.  I'm hoping to find a way to render the dull-metal stainless
steel luster of various wheel hubs and the like, without having to hand edit
the POV file once it's generated.  Not that this is in any way a complaint
(except about my own programming shortcomings).
  Thanks to Jacob and Lars for the input!

We have previously discussed a "0 TEXTURE xxx" meta command, where
xxx could be RUBBER, CHROME, SLOPE, etc.

I have been wondering about another approach where color properties are
encoded in the color value. E.g. 0x1PRRGGBB, where there's room for 16
properties (P).

I know it breaks LDraw compatibility, but direct colors (0x02000000-0x07FFFFFF)
did too, and they are now supported by at least MLCad, LDView and L3P/L3Lab.

If the "0 TEXTURE xxx" ever gets decided, I would probaly use the
0x1PRRGGBB internally anyway :-)
/Lars



Message is in Reply To:
  Re: RGB Coding in LDraw?
 
(...) Well, since I'm not code-savvy, I don't feel comfortable making demands on those who are. I'm hoping to find a way to render the dull-metal stainless steel luster of various wheel hubs and the like, without having to hand edit the POV file (...) (23 years ago, 20-Jan-02, to lugnet.cad.dev)

5 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