Micheal J. Williams (mwilliam++at++ldsa.com)
Mon, 3 Jul 1995 09:16:00 -0400
In our application (Performer 1.2) we set up a vobj structure
that matches our performer in field of view, aspect, and clipping
planes. We set the viewpoint with pfChanView, and want to use
the gl command mapw to get information about our scene so we can
load appropriate elevation date. Specifically, we want the world
coordinates of our four screen corners.
The problem is, the viewport, perspective, and viewing martices
are not set up until we go through the draw callback. We can't
load our data until we draw, and we don't want to draw until we
have loaded our data.
Is there a way I can tell performer to set up the viewport,
perspective, and viewing martices without going through the draw
callback? Maybe we have gone about this in the wrong way to but
tech support suggested the mapw command, and it seems to work once
the frames are cycling regularly.
Thanks in advance
Mike Williams
mwilliam++at++ldsa.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:39 PDT