POV-Ray : Newsgroups : povray.binaries.images : one scene, many cameras, one picture Server Time
18 Apr 2024 16:07:46 EDT (-0400)
  one scene, many cameras, one picture (Message 1 to 2 of 2)  
From: Le Forgeron
Subject: one scene, many cameras, one picture
Date: 5 Jun 2022 12:15:12
Message: <629cd690$1@news.povray.org>
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}


Post a reply to this message


Attachments:
Download 'stack.png' (120 KB)

Preview of image 'stack.png'
stack.png


 

From: Mr
Subject: Re: one scene, many cameras, one picture
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.