hi OpenSG users... i have a small problem, yet quite puzzling. I have built the roof of the cave i am using in my experiments and... i discovered that i need to change the aspect ratio of the upper projection.
I mean... on the three walls i have 3 separate projections using the standard 3:4 aspect ratio, which is natural since the screens are rectangular. The roof on the other side is square, so my projection is right in the "horizontal" axis and shortened in the "vertical". I think that i have to use the aspect field of my perspective cameras, to correct this bad side-effect, but since it is the first time that i come across this kind of trouble i was wondering if someone already solved it. What aspect ratio should i use??? 1:1???? Does the correct syntax sound like: camera->setAspect (1.0); ???? where 1.0 is the result of horizontal-pixel/vertical-pixel length??? Thanks for the hints, Enrico ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
