On Fri, Mar 19, 2010 at 8:56 AM, Thomas Schindler <thomas.schind...@t-systems-mms.com> wrote: > Hi there, > > I have a question to the llcamera.cpp code. There is a function that > calculates frustum planes. Four variables are existing: top, bottom, left, > right. The bottom is the negative value of top, the same with left and > write. If I change now the values and add +20 behind left and right, I > expected an effect in which my avatar would stand not in the middle of the > viewer window, but somewhere more left or right. But if I compile and run > the viewer, I don't see any difference. Does anybody can explain it to me, > please?
I'm not an OpenGL expert, but I believe the frustum is used for determining whether an object can be seen from the current camera view (e.g. it's not behind the camera or off to the sides). I don't think the frustum controls the camera position or rotation, though. For that, I think you want to look at the LLCoordFrame class (llmath/llcoordframe.cpp), which is inherited by the llCamera class. Hope that helps. :-) - Jacek _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges