Thread View: comp.sys.sgi.misc
1 messages
1 total messages
Started by Frederick R. Phelan Jr.
Wed, 30 Dec 1992 16:42
multiple polarviews
Author: Frederick R. Phelan Jr.
Date: Wed, 30 Dec 1992 16:42
Date: Wed, 30 Dec 1992 16:42
42 lines
1609 bytes
1609 bytes
I open a window with the following sequence:
prefposition(10,990,10,990);
mainwin = winopen("Name");
keepaspect(980.0,980.0);
minsize(98.0,98.0);
winconstraints();
doublebuffer();
RGBmode();
gconfig();
mmode(MVIEWING);
/* set up hidden surface elimination */
zbuffer(TRUE);
czclear(0,getgdesc(GD_ZMAX));
/* Intialize the eye position and orientation. */
perspective(500,1.0,1.0,400.0);
polarview(2.5*WorldMax,0,0,0);
^^^^^^^^
^
The value of WorldMax >>>>^ is based on values in the input data file.
Problem:
When I read in a new data file, recalculate WorldMax and call polarview
with the new val of WorldMax, the view is not modified. Very strange.
I noticed that on the polarview man page it says:
The matrix computed by polarview premultiplies the current matrix, as
specified by mmode ....
Could this be part of the problem?
Fred
---
Fred Phelan
fred@poly2.nist.gov
/*___________________________________________________
____ __ ___ __ ___ ___ ___
/__ /_/ /__ / / /__/ /__/ /__ / /__/ /\ /
/ / ( /__ /_/ / / / /___ /___ / / / \/
___________________________________________________*/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads