| | POV Color Cheat? Dave Schuler
|
| | Would it be possible to inline certain hard-to-achieve POV-Ray colors in a primitive file so that the color would be available in rendered models without having to tweak the output file? Something like this: 0 stud.dat primitive 0 L3P IFNOTPOV 1 16 (...) (22 years ago, 5-Aug-02, to lugnet.cad.ray)
|
| | |
| | | | Re: POV Color Cheat? Jeroen de Haan
|
| | | | (...) [ 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 Tore Eriksson
|
| | | | | (...) 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 (...) (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
| | | | | |
| | | | | | | Re: POV Color Cheat! Turn Pink into Medium Blue Travis Cobbs
|
| | | | | | (...) 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 (...) (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
| | | | | | |
| | | | | | | | Re: POV Color Cheat! Turn Pink into Medium Blue Tore Eriksson
|
| | | | | | | (...) 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 (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
| | | | | | | |
| | | | | | | | Re: POV Color Cheat! Turn Pink into Medium Blue Tore Eriksson
|
| | | | | | (...) 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 (18 years ago, 9-Apr-07, to lugnet.cad.ray)
|
| | | | | | |
| | | | | | colors.dat (Was: POV Color Cheat?) Tore Eriksson
|
| | | | 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?) Tore Eriksson
|
| | | | | (...) <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?) Travis Cobbs
|
| | | | 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?) Tore Eriksson
|
| | | | (...) <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?) Travis Cobbs
|
| | | | (...) <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)
|
| | | | |