Question on pfEarthSky and pfChanTravFunc

New Message Reply Date view Thread view Subject view Author view

Ren-Jye Yu (renjye++at++python.tamu.edu)
Fri, 13 Jun 1997 01:05:56 -0500


Hello,

        I create three channels for my simulation program. I attach channel one
and channel three to channel two. I use pfChanESky to add earthsky to master
channel, channel two.

        Q1 : If I let the gound (green color) fill all the viewport of either
channel one or channel three by rolling or pitching, the green color will not
be cleared after I rotate it back. Also, the edge of the horizon will bend when
it begin to show the sky. I tried to use drawcallback function to clear them.
But it is not work. Does anybody know what is going wrong? How to solve this
problem? Samething happen if I attach the earthsky to other two channels.

        Q2 : I use pfChanTravFunc to call "drawFunc" during draw process.

             pfChanTravFunc(chan[1], PFTRAV_DRAW, drawFunc);

My question is why the other two channels, chan[0] and chan[2] will call the
drawFunc too? chan[1] is not the master channel.

        I will appreciate for you help and answer. Have a nice day.

-- 

______________________________________________________________________________

("`-''-/").___..--''"`-._ Ren-Jye Yu `6_ 6 ) `-. ( ).`-.__.`) Email :renjye++at++python.tamu.edu (_Y_.)' ._ ) `._ `. ``-..-' Phone(O) :(409) 845-0729 _..`--'_..-_/ /--'_.' ,' (H) :(409) 691-8570 (il),-'' (li),' ((!.-' Address :Aerospace Engineering Department H.R. Bright Building Texas A&M University College Station 77840-3141 _______________________________________________________________________________

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com SGI DevForum 97 info: http://www.sgi.com/Forum97/


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:55:26 PDT

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