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 / 6204
6203  |  6205
Subject: 
Substitute Colors for Dithered Colors?
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 30 Jun 2001 22:43:04 GMT
Viewed: 
368 times
  
Hi,

I'm wondering how to treat dithered colors (LDRAW 0x0100 to 0x01ff, see
FAQ). Short of implementing a dithered texture--which would preserve that
old-timey look--I'm seeking a conversion function.

My first guess is that the perceptual equivalent of a dithered color is the
average of its RGB components. Good enough or not?

-Erik



Message has 1 Reply:
  Re: Substitute Colors for Dithered Colors?
 
Erik Olson wrote... (...) I use the average of the two colors' RGB. Try it out in L3Lab by toggling the "Dither or blend colord 256-511" button in the toolbar. Here is the code I use for color decoding: /* Return -1 on invalid LDraw color. rgb may (...) (23 years ago, 2-Jul-01, 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