PDA

View Full Version : panorama/multiview camera setup problem



wiseguy
05-22-2015, 02:04 AM
Hello,
I have a problem setting up correct view/projection matrices when rendering a scene into several views/windows for panoramic like rendering.
Based on a viewer position and viewing direction I create three or several cameras. In my current test I have three adjacent perspective cameras with 30 field of view, rotated with 30 offset around viewer.
In screenshots below the problem can be seen in the last image.
183518361834
The projection matrix is the same for all three cameras. Only view matrix differs in rotation.
Does anyone have any ideas what I might be doing wrong?