|
|
clipka <ano### [at] anonymousorg> wrote:
> If you want the output image format to also adapt, then you're out of luck.
I can specify that in SDL
> > I have something reasonably workable - but I was wondering if there was a
> > standard coding for this, given that so many software applications have some
> > sort of fit page / fit width option.
>
> Nope, nothing inbuilt at present.
I just need a calculation to plug into the beginning of the scene or use as a
macro.
I'm currently using:
#declare Picture = pigment {image_map {png "Image.png"}}
#declare Resolution = max_extent (Picture);
#declare PictureScale = (Resolution + <0, 0, 1>);
camera {location <Resolution.x/2, Resolution.y/2, -max(Resolution.x,
Resolution.y)*1.5>}
Post a reply to this message
|
|