Re: Multiple Scene nodes

New Message Reply Date view Thread view Subject view Author view

Jean-Luc Dery (dery++at++discreet.com)
Tue, 6 Oct 1998 10:51:03 -0400


On Oct 6, 7:33am, Tanaka, Ken wrote:
> Subject: Multiple Scene nodes
> Hi,
>
> In the basic question category: can my performer application have more than
> one scene node?
>
> I have an application that draws some very different types of geometry, all
> from one root scene node with no overlap, using much traversal masking to
> switch between them. It seems simpler to have seperate scenes and change
> the channel association from one scene node to another as needed. The
> documentation doesn't say I can't do this, but I haven't encountered any
> examples or Performer programmers that have done this.

I do it all the time !

You just need to call pfChannel::setScene( pfScene* ), in your app thread of
course, and set your view as desired.

Jean-Luc

-- 
_____________________________________________________________________________

Jean-Luc Dery Discreet Logic Technical Leader 10 Duke Street 3-D Graphics Technology and Montreal (Quebec), Canada, H3C 2L7 Realtime Systems Tel: (514) 954-7239 Email: jean-lucD++at++discreet.com Fax: (514) 393-0110 _____________________________________________________________________________


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 06 1998 - 07:51:39 PDT

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