|
|
Nieminen Mika wrote:
>
> Antti Arola <aar### [at] kuhacclutfi> wrote:
>
> : Is there a way to automatically determine the correct right vector for the
> : camera based on the image dimensions specified for the render, so that I
> : wouldn't have to manually edit the scene file every time I change the
> : aspect ratio?
>
> AFAIK there's no way to see the command line parameters from the pov code
> (except for the clock and clock_delta variables which are the only exceptions).
> I'm afraid that you have to do something like this:
>
> #declare Width=640;
> #declare Height=480;
>
> ...
>
> camera
> { right x*Width/Height;
> location ...
> ...
> }
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Having the command line and ini variables available within the scene
language is a feature I'd *really* like to see.
It would be very handy to be able to do things like
camera{
right x*width/height
...
}
and
global_settings{
assumed_gamma display_gama
}
PoD.
Post a reply to this message
|
|