[Q]: Multiple channels...

New Message Reply Date view Thread view Subject view Author view

Guruswamy Kowsik (kxg5947++at++usl.edu)
Wed, 16 Nov 1994 15:12:08 -0600


Hi,
  I am trying to simulate a fly through of the StarShip bridge (Star Trek!)
  by using two channels, one for the bridge itself and the other one for
  the main viewer (which will render some texture mapped sphere to simulate
  planets!).

  The problem I have right now is to convert the world coordinates of the
  main viewer (rectangle) to normalised view coordinates and use that to
  set the viewport for the 2nd channel using pfChanViewport(). Any ideas on
  the conversion process? I know the world coordinates of the main viewer.
  What do I have to do get the (changing) view coordinates?

  I can (and I am) restrict the movements to keep the main viewer as a
  rectangle (no rolling/pitching).

  I tried pfGetChanViewMat followed by pfXformPt3 and then using the
  transformation equations with no result. Somehow I am missing something...

  Any pointers will be appreciated...

Thanks,

K.

--
Kowsik Guruswamy (kowsik++at++usl.edu)         Home: (318)-232-4718   |I never knew
<a href="http://www.ucs.usl.edu/~kxg5947/me.html>My Home page</a>|what I was g
I am not my *Sysadmin* I don't do emacs. I am student and I use  |oing to do w
vi. That's what I am and that's what I do - Peter Kaine (??)     |ith this \s

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:40 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.