Janet Estabridis (janete++at++pistilmac1.chinalake.navy.mil)
Fri, 22 Nov 1996 09:09:32 +0000
I had some older code that had one channel on a pipe that I used a keyboard
input to toggle on/off a DCS node for viewing (a missile). The DCS node is
located at the viewpoint but I desired a view slightly behind it so you
could actually see the missile. I used pfChanViewOffsets to do this and
set the channel view to be where the missile nose is. I can toggle the
missile on and off just fine.
Now, I needed to fancy things up so I have defined multi-channels on 1
pipe. I used the same structure as I did in the Performer 2.0 Class, for
the Chapter 7 advanced labs, 01multichan and 02hud. I have modified 2
different programs, one after the 01multichan and one after the 02hud and
neither one shows the missle. I used the same pfChanViewOffsets in the
window I wish the missile to be toggled, but no missile appears even though
the code is executed. I have checked my Scene building code (which really
didn't change) and the node is there and the file is loaded.
Is there a bug using pfChanViewOffsets when you have more than one channel
defined in a pipe ?? If there is is there a work around ?? Or am I
missing something ??
Janet Estabridis
NAWC Code 4722E0D
China Lake, CA (619) 939-6984
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:59 PDT