|
![](/i/fill.gif) |
> Am 13.05.2010 19:02, schrieb Alex:
>
>> Can we put in the output file name a parameter coming from the scene
>> file (.pov) ?
>> Eg: myScene_CAMERA2.bmp
>>
>> with pov file named myScene.pov
>> and the parameter being "_CAMERA2"
>
> No.
>
> What you can do, however, is automatically generate a batch file or
> shell script to rename the output file, by using the #fopen and #write
> SDL statements.
Here is my current 'solution':
I set vue to the appropriate view I want to compute.... but I get a
single picture while I would like to get for example views 0, 1 and 10....
#local vue = 3;
#switch (vue)
#case (0) // Vue globale de face
camera { location < 50, 170, -650 > look_at < 50, 170, 0 > }
#break;
#case (1) // Vue globale de face proche
camera { location < 60, 10, -30 > look_at < 65, 5, 0 > }
#break;
camera { location < 80, 120, -150 > look_at < 60, 60, 0 > }
#break;
camera { location < 0, 0, -150 > look_at < 0, 0, 0 > }
#break;
#case (10) // Vue de dessous
camera { location < 0, -50, 0 > look_at < 0, 0, 0 > }
#break;
#case (100) // Vue de de droite
camera { location < 150, 50, -100 > look_at < 50, 50, 0 > }
#break;
camera { location < 250, 170, -50 > look_at < 50, 50, 50 > }
#break;
camera { location < -50, 0, 50 > look_at < 0, 0, 0 > }
#break;
#case (202) // Vue de de gauche avant
camera { location < -50, 0, -50 > look_at < 0, 0, 0 > }
#break;
#end
Post a reply to this message
|
![](/i/fill.gif) |