Bernard Leclerc (bleclerc++at++cae.ca)
Mon, 9 Dec 1996 10:29:07 -0500
> i think my problem was misunderstood.
>
> Subclassing from pfGroup instead of pfNode would
> give the derived Node Class the properties of a pfGroup.
> That is not my aim.
>
> I need a complete new Node type with no such redundant properties.
> This new node type should positioned as a leaf in the scene graph only.
> Therefore it has to be derived from pfNode.
>
> My question is:
>
> How can i accomplish this?
> How do i have to implement the constructor for the new node type?
> Do i have to make use of pfBuffers?
>
>
> If there is anybody who did this - and there is certainly somebody,
> since all other node types are derived from pfNode -
> please help me.
Since you want to create a new type of leaf node, you might need to derive
it from pfNode. But before doing so, isn't your new node a kind of
pfGeode, pfBillboard, pfText, pfLightPoint or pfLightSource? If it's the
case, then I suggest you derive your new class from one of these node
types.
If you really need to derive from pfNode, you'll need support from the
Performer Team because this abstract base class is not documented
sufficiently to allow you to derive a new class from it.
--
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:07 PDT