Three channels -> draw_callback function run three times????

New Message Reply Date view Thread view Subject view Author view

Ren-Jye Yu (renjye++at++python.tamu.edu)
Mon, 24 Feb 1997 00:00:10 -0800


Hello,
        I am creating three channels to show three views and then use the draw
callback fuction to draw the Head Up Display(HUD). I found that my HUD
subroutine will run three times. Two of them are redundant. I only pass data
into channel one. I print out the calculation result of HUD subroutine. The
same variable will print out three times. Only the first one affects the HUD.
Do you have any suggestion to avoid these two redundant calculations?
        Do you have any idea why pfDrawChanStats cannot show the statistics
diagram after my HUD subroutine became complex? Can you tell me which command
also can show the frame rate? I need to know how the HUD subroutine affects the
frame rate. Thanks.

-- 

______________________________________________________________________________

("`-''-/").___..--''"`-._ 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


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:54:42 PDT

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