Re: [info-performer] Preserving hierarchy with pfdBuilder

Date view Thread view Subject view Author view

From: Paolo Farinelli (paolo++at++sgi.com)
Date: 05/12/2004 16:10:21


Hi Simon,

in what format is your data? Depending on this Performer will use
one of its many file loaders to load it, and different loaders may
have different problems.

Another possible cause of problems could be if your application
calls pfdCleanTree on the loaded geometry (for example, perfly's
-Q cmdline option does this). This will results in certain group
nodes being eliminated.

Regards,
Paolo

Simon Perreault wrote:

> Hi,
>
> I want to load a model from a file and apply a simulation on its
> geometry. I understand that I will need to use fluxed geosets on every
> part of the model that will be geometrically simulated.
>
> However, when loading the file using the pfdBuilder, it optimizes the
> model for rendering speed, and the object hierarchy (and names!)
> becomes unavailable.
>
> For example, suppose I have a simple model of a house made from a cube
> for the walls, three more boxes for the door and windows, and a
> pyramid for the roof. The door and windows have been grouped under the
> name "Windows". This is what I want to have in Performer:
>
> Scene
> +- Roof
> +- Windows
> | +- Window1
> | +- Window2
> | +- Door
> +- Walls
>
> Two requirements:
> - I want to be able to access geometries by name.
> - I want the grouping hierarchy preserved.
>
> How do I do that?
>
> Thanks!
>

-- 
Paolo Farinelli                                           paolo++at++sgi.com
Member of Technical Staff, OpenGL Performer              1-650-933-1808
Silicon Graphics        1600 Amphitheatre Pkwy, Mountain View, CA 94043


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed May 12 2004 - 16:10:46 PDT