POV-Ray : Newsgroups : povray.binaries.images : one scene, many cameras, one picture : one scene, many cameras, one picture Server Time
5 Jul 2022 05:58:01 EDT (-0400)
  one scene, many cameras, one picture  
From: Le Forgeron
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


 

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