To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2874
2873  |  2875
Subject: 
Re: colors.dat (Was: POV Color Cheat?)
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 30 Jan 2008 05:54:18 GMT
Viewed: 
8584 times
  
I have two comments.  First of all, it appears that you divided the colors in
ldconfig.ldr by 256, instead of dividing by 255.  For example, blue in
ldconfig.ldr has RGB values of 0, 51, 178.  Dividing these by 256 yields the
values you have below, which is why I'm assuming that's where you got your
numbers.  Dividing by 255 (since the range is 0 to 255, not 0 to 256) would
yield <0, 0.2, 0.6980>.  Of course, this isn't likely to produce any visible
difference, but if you're going to calculate things out to 4 decimal places,
it's probably best to use the correct values in those 4 decimal places.  (Note
that I didn't check your values for the other four colors; maybe you didn't
really do this.)

Secondly, I'd suggest adding the following to the end of the file right above
the 0 L3P ENDPOV:

0 L3P ELSEPOV
0 !COLOUR Blue              CODE   1  VALUE #0033B2  EDGE 0
0 !COLOUR Green             CODE   2  VALUE #008C14  EDGE 0
0 !COLOUR Red               CODE   4  VALUE #C40026  EDGE 0
0 !COLOUR Brown             CODE   6  VALUE #5C2000  EDGE 8
0 !COLOUR Bright_Green      CODE  10  VALUE #6BEE90  EDGE 0

The above makes it so that LDView, for example, would use the updated colors
even if it's set to not parse ldconfig.ldr.  (At the moment, chrome, metallic
silver, and gold look better if ldconfig.ldr parsing is turned off in LDView.
Additionally if you like bright edge lines, you also have to turn it off, since
ldconfig.ldr uses black for almost all the edge colors.)


In lugnet.cad.ray, Tore Eriksson wrote:
Here's an "include file" with some redifinitions of the most horrible L3P
colors:

0 Color Redifinition Include File
0 Name: colors.dat
0 Author: Tore Eriksson

0 L3P IFPOV

Add my code from above right before the following line:

0 L3P ENDPOV
0

--Travis



Message has 1 Reply:
  Re: colors.dat (Was: POV Color Cheat?)
 
(...) <snip> (...) Thanks for your comments and suggestions. Is this better? 0 Color Redifinition Include File 0 Name: colors.dat 0 Author: Tore Eriksson 0 // Original idea by Dave Schuler 0 // Original POV code by Jeroen de Haan 0 // LDView code by (...) (16 years ago, 31-Jan-08, to lugnet.cad.ray)

Message is in Reply To:
  colors.dat (Was: POV Color Cheat?)
 
Here's an "include file" with some redifinitions of the most horrible L3P colors: 0 Color Redifinition Include File 0 Name: colors.dat 0 Author: Tore Eriksson 0 L3P IFPOV 0 #undef Color1 0 #ifndef (Color1) 0 #declare Color1 = #if (version >= 3.1) (...) (16 years ago, 29-Jan-08, to lugnet.cad.ray)

11 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