From: Marc Hehmeyer (hehmeyer++at++stn-atlas.de)
Date: 05/23/2000 00:27:11
hi Devrim,
look at the man-pages of pfuTraverser. There you can find a way to traverse
the scenegraph.
If you won't traverse the whole scene-graph, cause if its big, it'll slow
down your application, you can use a callback
attached to the pfGeodes, containing your pfGeoSets. See the man pages of
pfNode::setTravFuncs.
Hope this will help you,
Marc
devrim wrote:
> Hi,
>
> I need to modify the content of an flt file which is loaded into the
> scene graph. I want to modify the colors so that the flt is transparent
> at some point in the application. There are many geosets grouped in many
> geodes. Is there an automatic way of traversing thru these geosets, e.g
> a callback or a traversal class from which I can derive another class ?
>
> How would you do this ?
>
> Thanks.
>
> /*===============================================
> M. Devrim Erdem devrim++at++infotron.com.tr
> Simulation Software Development
> info(+)TRON, Turkey
> Tel: +90 216 4921002, Ext 138
> Fax: +90 216 3432132
> http://www.infotron-tr.com
> http://abone.turk.net/mderdem
> ===============================================*/
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- +----------------------------------------------------------------------+ | Marc Hehmeyer | Phone +49/421/457-1896 | | STN-Atlas Elektronik | Fax +49/421/457-4120 | | Simulation Division | EMail hehmeyer++at++stn-atlas.de | | D-28305 Bremen | | +----------------------------------------------------------------------+
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 00:27:36 PDT