Ok, I figured out what's wrong.  I'm trying to set the right
properties, but those properties don't exist.  I know this is a newbie
question, but what's the procedure for creating and initializing a
property node?  I tried defining it in preferences.xml, but that just
gave an error.


On 6/13/05, Drew <[EMAIL PROTECTED]> wrote:
> > Yes, I think I was successful in adding support for asymmetric view
> > frustums.  It's a bit of a hack to get there, but the way I have set it
> > up I think is slightly more intuitive than just passing l, r, t, b, n, f
> > parameters to the glFrustum() function.
> > .
> > .
> > .
> > --prop:/sim/current-view/frustum-left-pct=0.00000
> > --prop:/sim/current-view/frustum-right-pct=0.333333
> Curt,
> I know I'm reviving a somewhat old thread here, but I'm trying to use
> this code to implement something similar.  It's a digital
> pan/tilt/zoom camera control, and since I'm panning around a piece of
> an image, it's the same situation with an offset image center.
> Anyway, I'm modifying these properties real-time, and it's not
> changing anything.  Is this something that will only work during
> startup, or am I doing something wrong?  Is there a function I can
> call to force the changes to work real-time?  Are they too
> computationally intensive for this (I don't imagine it would be, since
> you can rotate a standard view in a similar way).
> Thanks,
> Drew

Flightgear-devel mailing list

Reply via email to