Re: how to do a new node ?

New Message Reply Date view Thread view Subject view Author view

Bernard Leclerc (bleclerc++at++cae.ca)
Thu, 7 Nov 1996 18:49:08 -0500


Johan Nouvel wrote:

> I'm developping a new LOD system and I would like to try it
> with Performer tools. But the pfLod class isn't appropriate.
>
> Is it possible to derive a pfNode, or a child of pfNode ?
> Which methods do I need to create or to overload ?
> Where can I find informations to do that ?

Since you want to replace the pfLod class, I suggest you derive a new
class from either a pfGroup which forces you to recreate all the pfLod
functionnality, or you derive from a pfLod and replace only what doesn't
fit your new approach.

Look at chapter 14 in the Performer Programmer's Guide. There is a good
introduction to subclassing pfObjects.

--
Bernard Leclerc			CAE Electronics Ltd., 8585 Cote De Liesse
Technical Leader		Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications	tel: +1 514 341 2000 extension 2275
bleclerc++at++cae.ca			fax: +1 514 340 5496
=======================================================================
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:54 PDT

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