Space Magic Team (arnaud++at++pobox.oleane.com)
Mon, 12 Aug 1996 19:43:58 +0000
Hi Cyril,
The best way to create a new object in Performer is sure to use C++ and
subclassing an already existing object.
Look at the Performer Programming guide, chapter 14 title "subclassing
pfObjects" for that.
The virtual function app of your new object will be called automatically
with this mechanism.
For your cull and draw function, this will not be the case, and the best way
for that will be to call pfNodeTravFuncs to setup a new callback.
Hope it answers to your question.
Philippe Poutignat
____________________________________________________________________
| | /\ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= /\ | |
| -(*)- <[]> arnaud++at++POBOX.oleane.com <[]> -(*)- |
| | \/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= \/ | |
|--------------------------------------------------------------------|
| ______ _________ ____________ _________ ______ |
| /_/_/_/\ | Space | \/\/\/\/\/\/ | Space | /\_\_\_\ |
| /_/_/_/\/\ | ~~~~~~~ | \/\/\/\/\/ | ~~~~~~~ | /\/\_\_\_\ |
|/_/_/_/\/\/\ | Magic | \/\/\/\/ | Basic | /\/\/\_\_\_\|
|\_\_\_\/\/\/ '---------' \/\/\/ '---------' \/\/\/_/_/_/|
| \_\_\_\/\/ / ######### \ \/\/ / ######### \ \/\/_/_/_/ |
| \_\_\_\/ / ########### \ \/ / ########### \ \/_/_/_/ |
| '---------------' '---------------' |
|--------------------------------------------------------------------|
| o o Thomson Training & Simulation o o |
| o o Z.A. Les Boutries; 5, rue Leonardo da Vinci; B.P. 252 o o |
| o o 78703 Conflans Sainte Honorine Cedex France o o |
| o o Tel: [33] (1) 34903614 Fax: [33] (1) 34903602 o o |
|____________________________________________________________________|
=======================================================================
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:20 PDT