POV-Ray : Newsgroups : povray.binaries.images : one scene, many cameras, one picture : Re: one scene, many cameras, one picture Server Time
16 Apr 2024 04:31:14 EDT (-0400)
  Re: one scene, many cameras, one picture  
From: Mr
Date: 5 Jun 2022 19:40:00
Message: <web.629d3da4992573034c7846e6830a892@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
> Just the production of this week-end (well, hardly, about sunday
> afternoon), in hgpovray38 head.
>
> Purpose was parsing a single scene, yet rendering from multiple cameras
> on the normal picture output.
>
> #version 3.8;
> global_settings{ assumed_gamma 1.0 }
>
> #include "scene.inc"
>
> #declare B=camera { blank }
> #declare C=camera { right image_width/image_height*1*x up 1*y };
> #declare D=camera { right -image_width/image_height*2*x up 2*y };
> #declare E=camera { right image_width/image_height*3*x up 3*y };
> #declare F=camera { orthographic right image_width/image_height*5*x up
> 5*y };
> #declare G=camera { liner 0.02 0.02 C B };
> #declare H=camera { liner 0.02 0.02 D B };
> #declare I=camera { liner 0.02 0.02 E B };
> #declare J=camera { liner 0.02 0.02 F B };
>
> #declare O=camera { grid <2,2> G I J H  };
>
> camera { matte 0.25 0.25 J O}

So this could be used to make a layout, like comicstrips or printed pages ?
sounds fun


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.