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 / 1378
  Re: POV Color Cheat?  [DAT]
 
(...) [ snipped ] Intresting, and yes it will work but with a few buts. First you will need to do the color-declaring before you do your model. And you have to (well, not "have to" but is saver to) "undeclare" (or undef) the old color definition. (...) (22 years ago, 5-Aug-02, to lugnet.cad.ray)  
 
  Re: POV Color Cheat! Turn Pink into Medium Blue  [DAT]
 
(...) This is a great idea that deserves to be highlighted while we're waiting for L3P and other programs to support ldconfig.ldr! Inpired be the objects like timers, dialog objects, menu items etc I add to a Form in a Delphi project, I just came up (...) (17 years ago, 9-Apr-07, to lugnet.cad.ray)
 
  Re: POV Color Cheat! Turn Pink into Medium Blue
 
(...) If you want to see the medium blue in LDView, just add the following line to C13-73.dat (anywhere outside the IFPOV section): 0 !COLOUR Medium_Blue CODE 13 VALUE #6E99C8 EDGE 0 Tore, is the color 24 line in the file necessary in order to make (...) (17 years ago, 9-Apr-07, to lugnet.cad.ray)
 
  Re: POV Color Cheat! Turn Pink into Medium Blue
 
(...) Good to know. Thanks! (...) I kind of recall that. In some cases, I've seen that L3P ignores an LDraw file with just Type 0 lines. I haven't checked if the IFPOV code makes it not ignore C13-73.dat, but I just did it in a routine manner. /Tore (17 years ago, 9-Apr-07, to lugnet.cad.ray)
 
  Re: POV Color Cheat! Turn Pink into Medium Blue
 
(...) I thought it was, but in this case it wasn't. The color 24 line can be skipped. And the double pigment declaration was just a pure mistake; one definition is of course sufficient. :) /Tore (17 years ago, 9-Apr-07, to lugnet.cad.ray)
 
  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