To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14862
14861  |  14863
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: PreL3P 1.0
Newsgroups: 
lugnet.cad
Date: 
Tue, 9 Oct 2007 18:33:08 GMT
Viewed: 
2746 times
  
In lugnet.cad, Philippe Hurbain wrote:
It would be interesting to be able to have a secondary remap file other than
LDraw.ldr.

For example, stone colors are not well supported by several programs other than
L3P. If I want to build with these colors I generally use old greys, but it
would be nice that the final rendering be done with real tone hues. That would
need to remap colors 7 and 8 to non-standard colors.

Another example is for NXT parts which were hard coded to color 383 (chrome)
that looks great in MLCad/LDview... but gives a shiny metal when rendered with
POV

Philo

You can always make your own "include file" with colour redifinitions in a .dat,
like this experimental file I made some time ago. It redifines pink into medium
blue and corrects the horrible L3 light green:

To use it, all you have to do is call on it in the beginning of the main model
file.

///
0 My Model
0 Name MyModel.ldr
1 7  0 0 0  1 0 0  0 1 0  0 0 1  C13-73.dat
1 10  0 0 0  1 0 0  0 1 0  0 0 1  3001.dat
0
///


0 POV-Ray Redefine Color 13 (pink) into Color 73 (medium blue)
0 Name: C13-73.dat
0 Author: Tore Eriksson
0 REM Idea ripped from Jeroen de Haan and Dave Schuler
0 REM http://news.lugnet.com/cad/ray/?n=1378
0 REM 2 24  0 -2 0  0 2 0
0 L3P IFPOV
0 #undef Color13  // just to be sure
0 #ifndef (Color13)
0 #declare Color13 =  #if (version >= 3.1) material { #end texture {
0   pigment { rgb <0.43,0.6,0.785> }
0   finish { ambient AMB diffuse DIF }
0   #if (QUAL > 1)
0       finish { phong 0.5 phong_size 40 reflection 0.08 }
0       #if (BUMPS) normal { BUMPNORMAL } #end
0   #end
0 } #if (version >= 3.1) } #end
0 #end
0 L3P ENDPOV
0

0 L3P IFPOV
0 #undef Color10  // just to be sure
0 #ifndef (Color10)
0 #declare Color10 =  #if (version >= 3.1) material { #end texture {
0   pigment { rgb <107/255,238/255,144/255> }
0   finish { ambient AMB diffuse DIF }
0   #if (QUAL > 1)
0       finish { phong 0.5 phong_size 40 reflection 0.08 }
0       #if (BUMPS) normal { BUMPNORMAL } #end
0   #end
0 } #if (version >= 3.1) } #end
0 #end
0 L3P ENDPOV
0



Message is in Reply To:
  Re: PreL3P 1.0
 
It would be interesting to be able to have a secondary remap file other than LDraw.ldr. For example, stone colors are not well supported by several programs other than L3P. If I want to build with these colors I generally use old greys, but it would (...) (17 years ago, 9-Oct-07, to lugnet.cad)

22 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