RE: Question: Multiple Scenes / Single DCS

New Message Reply Date view Thread view Subject view Author view

rany++at++netvision.net.il
Sat, 16 Nov 96 10:01:34 PST


Assuming you attach each scene to a different channel then :

1. Attach the DCS to both scenes
2. Assign a draw mask to each node, say 0x1 to the first, and 0x2 to the second, with
pfNodeTravMask().
3. Assign a draw mask to each channel, that will cause it to draw that node only, with
pfChanTravMask().
4. All other nodes, that have to be drawn in both channels, can have the default draw
mask of 0xffffffff.
  

--- On Fri, 15 Nov 1996 08:56:31 -0800 Dave Vineyard <dvineyard++at++indy3.gstone.com>
wrote:

>Is it possible to have two separate objects (pfNodes) belong to two different
>scenes, and have both objects share the same dynamic coordinate system (DCS)? The
effect I
>am after is to control the positioning of what is conceptually a single object from a
pdu stream;
>the object has two different representations each within a respective scene. Below
is an example
>hierarchy of what I am trying to achieve. I have tried various iterations of this
one but get either
>both models in both scenes or no models at all.
>
>
> pfDCS
> / \
> pfSwitch1 pfSwitch2
> | |
> pfNode1 pfNode2
> | |
> (model_1) (model_2)
>
>
>pfAddChild(scene_1, switch_1);
>pfAddChild(scene_2, switch_2);
>
>Any suggestions on this would be appreciated. Thanks.
>
>- Dave Vineyard
> GreyStone Technology, Inc.
> (619) 675-7800
>
> dvineyard++at++gstone.com
>
>
>

-----------------End of Original Message-----------------

 __ | Ran Yakir
 /_) _ __ \ / _ / o __ | 28 Ben Gurion St.
/ )_ (_(_) ) \/ (_(_/<_(_)( | Hod Hasharon 54200
              _/ | Israel
-------------------------------------+--------------------------------
At Home : | At Work :
| RT-SET
  Voice : +972-9-989974 | Voice : +972-9-552236
  Fax : +972-9-422149 | Fax : +972-9-552239
  E-mail : rany++at++netvision.net.il | E-mail : rany++at++rtset.co.il

=======================================================================
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:53:57 PDT

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