Whisperings:Solo Piano Radio
  POV-Ray : Newsgroups : povray.windows : Include color-changes in ini-files. possible? : Re: Include color-changes in ini-files. possible? Server Time: 7 Jul 2008 01:56:34 GMT
  Re: Include color-changes in ini-files. possible?  
From: Olaf I 
Date: 20 Oct 2006 04:20:00
Dear Charles,

> One possible way:
>
> in thefile.ini:
> Declare=Color_R=1
> Declare=Color_G=1
> Declare=Color_B=0
>
> in thefile.pov:
> //default Color_ values:
> #ifndef(Color_R) #declare Color_R=.5; #end
> #ifndef(Color_G) #declare Color_G=.5; #end
> #ifndef(Color_B) #declare Color_B=.5; #end
>
> background{rgb <Color_R,Color_G,ColorB>}
>
>
> > The script-area which makes me problems look´s like this:
> >
> > // Background:
> > background { color rgb <0,0,0>}
> >
> > // Lights:
> > light_source {
> >  <0,-46.0887,-92.0887>  // Latitude,Longitude,Radius: 45,0,130.233
> >  color rgb <1,1,1>

Thank you for your help, but it doesn´t work.
I have include the part

Declare=Color_R=1
Declare=Color_G=1
Declare=Color_B=0

in my ini-file. No reaction.
I think the ini-file will know exactly what I want.
And I know how I should write change the background and delete the shadows
from the lights.

Olaf


Post a reply to this message

Copyright 1991-2004 POV-Team™