Hi,

On Fri, Mar 19, 2010 at 6: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 haven't looked at that code in more than a year but, last time I did
something like that (to move the IW camera in sync with my head tracked by a
webcam), I remember I had to simply translate() the LLViewerCamera, since,
deep down, those objects (LLCamera and LLViewerCamera) are LLCoordFrame.

The data you try to modify are computed intermediate values used for culling
and whatever you do is likely overwritten by other calls at the next frame
drawing.

Cheers,
- Merov
_______________________________________________
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

Reply via email to