POV-Ray : Newsgroups : povray.programming : Camera Shift (2) : Camera Shift (2) Server Time: 4 Jul 2008 22:26:23 GMT
  Camera Shift (2)  
From: karpov
Date: 21 Feb 2008 19:10:01
Hi !

I've "added a new function" to povray called "Camera Shift".
It enable to render the view with a shift to left/right | up/down.
(Based on Blender shift camera )
I use it for architectural rendering.

So I tweak the render.ccp code with this :

function : create_ray()
case : perspective camera

x0 = ( x / (DBL)Frame.Screen_Width - 0.5) + shiftx  ;
y0 = (((DBL)(Frame.Screen_Height ) - y -1)  / (DBL)Frame.Screen_Height -0.5  ) +
shifty * right ;

....but I've got problems with Bounding Box :(

See this image :

http://www.mediafire.com/imageview.php?quickkey=2zri2zmfrbj&thumb=4

When I turn off Bounding Box it works but slow down too much the rendering.

Any clue ?


Milovann
- Sorry for my english  :) -


Post a reply to this message

Copyright 1991-2004 POV-Team™