POV-Ray : Newsgroups : povray.binaries.images : several view in one image : several view in one image Server Time
28 Apr 2024 01:40:55 EDT (-0400)
  several view in one image  
From: Le Forgeron
Date: 6 Jul 2016 12:58:18
Message: <577d38aa@news.povray.org>
wasting some round tuits, as some seems to have a good supply of them,
I added in hgpovray a new camera type: grid.

#declare Camera_0 = camera {  /*ultra_wide_angle*/ angle 10      // front view
                            location  <0.0 , 2.0 ,-40.0>
                            right     x*image_width/image_height
                            look_at   <0.0 , 2.0 , 0.0>}
#declare Camera_1 = camera {/*ultra_wide_angle*/ angle 10   // diagonal view
                            location  <20.0 , 20.0 ,-20.0>
                            right     x*image_width/image_height
                            look_at   <1.0 , 2.0 , 0.0>}
#declare Camera_2 = camera {  /*ultra_wide_angle*/ angle 10  //right side view
                            location  <40.0 , 2.0 , 0.0>
                            right     x*image_width/image_height
                            look_at   <0.0 , 2.0 , 0.0>}
#declare Camera_3 = camera {  /*ultra_wide_angle*/ angle 10        // top view
                            location  <0.0 , 40.0 ,0.0>
                            right     x*image_width/image_height
                            look_at   <0.0 , 1.0 , 0.0>}
camera{ grid 2 Camera_2 Camera_0 Camera_1 Camera_3}

Followed by the number of camera per side, and then that squared number of camera
identifiers, to make a grid of the various view directly for the rendered image.


Post a reply to this message


Attachments:
Download 'grid.png' (212 KB)

Preview of image 'grid.png'
grid.png


 

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