Jump to content

[SOLVED] Asymmetric viewing frustum


photo

Recommended Posts

Posted

Hi folks

 

I'd like to change the viewing frustum on a single screen setup. If I'm running the simulation on a big screen, while the gamer is not sitting in the middle of the screen but f.ex. displaced to the left,  see the attached picture for a possible center of the viewing frustum.

 

post-1137-0-23134900-1406623115_thumb.png

 

I'm trying to adjust the projection matrix of PlayerDummy, but I'm not getting the expected result. If I translate the matrix, the center of the frustum comes a long. Do i missunderstand something?Could you please give me a hint, how to approach this task.

 

Thanks a lot

Posted

I think frustum() function with left/right parameters adjusted to your viewer offset is the way to go

Posted

Thanks a lot Ulf,

 

I'm wondering how I could overseen this function. This is exactly what we need.

×
×
  • Create New...