POV-Ray : Newsgroups : povray.windows : Include color-changes in ini-files. possible? : Re: Include color-changes in ini-files. possible? Server Time
19 May 2024 06:34:01 EDT (-0400)
  Re: Include color-changes in ini-files. possible?  
From: Olaf I 
Date: 20 Oct 2006 00:20:00
Message: <web.45384d32bb20a1503fc90b9f0@news.povray.org>
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>}
>
>

> >
> > // 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>


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 2003-2023 Persistence of Vision Raytracer Pty. Ltd.