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 / 2872
  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) (...) (17 years ago, 29-Jan-08, to lugnet.cad.ray)
 
  Re: colors.dat (Was: POV Color Cheat?)  [DAT]
 
(...) <snip> ... and here's a sample file of how to use it. 0 Color Redefinition Test 0 Name: Test.ldr 0 Author: Tore Eriksson 1 16 0 0 0 1 0 0 0 1 0 0 0 1 colors.dat 1 1 -40 0 0 0 0 -1 0 1 0 1 0 0 3004.dat 1 2 -20 0 0 0 0 -1 0 1 0 1 0 0 3004.dat 1 (...) (17 years ago, 29-Jan-08, to lugnet.cad.ray)
 
  Re: colors.dat (Was: POV Color Cheat?)
 
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, (...) (17 years ago, 30-Jan-08, to lugnet.cad.ray)
 
  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 (...) (17 years ago, 31-Jan-08, to lugnet.cad.ray)
 
  Re: colors.dat (Was: POV Color Cheat?)
 
(...) <snip> (...) <snip> (...) It looks good. However, while I did copy and paste the lines that help out LDView, I didn't write them. They come directly from ldconfig.ldr, so saying "LDView code by Travis Cobbs" is misleading. --Travis (17 years ago, 12-Feb-08, to lugnet.cad.ray)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR