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 / 4644
4643  |  4645
Subject: 
Re: LDraw extended colors (for Paul Gyugyi)
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 5 May 2000 16:25:32 GMT
Viewed: 
1318 times
  
In lugnet.cad.dev, Lars C. Hassing writes:
Well, Paul, have you decided?

I just now noticed the thread.  (Thanks for the email).

I'll add support for the 24-bit range, it is a good idea.

I'll look into the documentation bug.  The code is correct
and I'll change the docs to match.

For the scaling, multiplying by 17 just seems to be
so "impure".  On a 16 bit color display, it
produces an unsightly jump in color around 0x7
(jumping by 3 levels rather than 2), but few people
will be doing shading or color gradients by having many
different-colored triangles, so I guess it is OK.

But I can see the problem: any sort of
black and white output will want to see pure white ffffff
and pure black 000000, and anything else would cause
unsightly dithering on a printer.
Luckily a sclae by 17 is just a shift and an add, so the
performance hit will not be much (maybe nothing depending on
how the code pipelines).  So I'll change the code to scale
by 17.

Thanks,
-gyug



Message is in Reply To:
  Re: LDraw extended colors (for Paul Gyugyi)
 
Lars C. Hassing wrote in (URL) (snip) (...) Well, Paul, have you decided? (...) What do you think? /Lars (25 years ago, 27-Apr-00, to lugnet.cad.dev)

6 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