|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
i will include changes of background color and the option "shadowless" in an
ini-file.
Is this possible?
Greetings,
Olaf
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Include color-changes in ini-files. possible?
Date: 19 Oct 2006 12:49:09
Message: <4537ac85@news.povray.org>
|
|
|
| |
| |
|
|
Olaf I. <ola### [at] ewetelnet> wrote:
> i will include changes of background color and the option "shadowless" in an
> ini-file.
> Is this possible?
> When it?s possible, how can I do it?
http://povray.org/documentation/view/3.6.1/220/#s02_01_02_05_01
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello Warp,
> > i will include changes of background color and the option "shadowless" in an
> > ini-file.
> > Is this possible?
> > When it?s possible, how can I do it?
>
> http://povray.org/documentation/view/3.6.1/220/#s02_01_02_05_01
// 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>
Greetings,
Olaf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
From: Warp
Subject: Re: Include color-changes in ini-files. possible?
Date: 20 Oct 2006 07:56:41
Message: <4538b979@news.povray.org>
|
|
|
| |
| |
|
|
Olaf I. <ola### [at] ewetelnet> wrote:
> 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.
Perhaps reading the *whole* post instead of just the first lines would
help?
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
> Olaf I. <ola### [at] ewetelnet> wrote:
> > 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.
>
> Perhaps reading the *whole* post instead of just the first lines would
> help?
>
You mean I should the part under "in thefile.ini:" in my ini-file and the
part under "in thefile.pov:", right?
But this is exactly what i not will!
I will only change the ini-file!!!
Not the pov.file!
I need a ini-file which read the rows under "// Background:" and "//
Lights:"
in my pov-files and change rows how I them need.
Olaf
Post a reply to this message
|
|
| |
| |
|
|
From: Nicolas Calimet
Subject: Re: Include color-changes in ini-files. possible?
Date: 20 Oct 2006 09:45:38
Message: <4538d302$1@news.povray.org>
|
|
|
| |
| |
|
|
> But this is exactly what i not will!
> I will only change the ini-file!!!
> Not the pov.file!
Did you understand or at least *try* the proposed method?
- NC
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Include color-changes in ini-files. possible?
Date: 20 Oct 2006 10:06:01
Message: <4538d7c8@news.povray.org>
|
|
|
| |
| |
|
|
Olaf I. <ola### [at] ewetelnet> wrote:
> You mean I should the part under "in thefile.ini:" in my ini-file and the
> part under "in thefile.pov:", right?
> But this is exactly what i not will!
> I will only change the ini-file!!!
> Not the pov.file!
You mean that you have an existing .pov file and that you want to change
its contents without actually editing it?
Well, that's of course just impossible. You have to modify *something*
in the .pov file if you want to be able to control its behaviour from
outside.
The bare minimun addition you have to make into the .pov file is to
add an #include line which includes a secondary .inc file, one which
you can modify at will (assuming that for whatever reason you can't
modify the original .pov file any more than that).
If you absolutely *can't* modify the original .pov file, then it's just
not possible.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nicolas Calimet <pov### [at] freefr> wrote:
> > But this is exactly what i not will!
> > I will only change the ini-file!!!
> > Not the pov.file!
>
> Did you understand or at least *try* the proposed method?
>
What I understand is:
By this method I must change the ini-file AND the pov-file.
And this is for me the wrong way, because I have more than 400 pov-files
to render and will not change everyone from the 400 pov-file.
I search a way where I change only the ini-file and the ini-file change by
render all my pov-files.
Olaf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |