Marcus Barnes (marcus++at++multigen.com)
Wed, 27 Aug 1997 10:14:35 -0700
The phrases "separate geodes" and "part of geodes" imply that you are really
trying to manipulate pfGeoSet and pfGeoState objects. pfGeode's are _always_
distinct nodes in the scene graph after all.
Separating geometry into geodes is simply a matter of hierarchical modeling. In
MultiGen, simply create separate group or object beads and model some faces
under (as children) one object (or group) and some under another.
Note that separating geometry by hierarchy doesn't mean that their appearance
or graphics state (pfGeoState) is separate.
> The operations include: paste terrain clip texture to terrain Geodes
> and not building Geodes;
pfClipTexture's are not bound to pfGeode's per se, they are bound to
pfGeoState's. pfGeoState's are bound to pfGeoSet's which are bound to
pfGeode's. High performance rendering requires that geostates be shared between
as many "identical" geosets as possible. The OpenFlight loader spends much of
its time optimizing geostate sharing. State that is initially shared cannot be
easily unshared at runtime.
> But all Geodes are same type(pfGeode). In Multigen(used to make scene
> database) each node can have 2 user defined fields. These fields can
> be used to identify some specific nodes. But these fields can not be
> read in performer.
Correct. OpenFlight attributes that do not map to Performer attributes are not
part of the collating criteria use by the loader to separate geometry, by
graphics state, in the scene graph.
> How to distinguish nodes of the same type ?
Would you be interested in having the OpenFlight loader extend pfGeoState to
include new attributes, say face DFAD FID and SMC, and include them as sort
criteria?
Regards.
--
+ Marcus Barnes, Technical Staff mailto:marcus++at++multigen.com +
+ Multigen Inc. http://www.multigen.com +
+ 550 S. Winchester Blvd. phoneto:1-408-556-2654 +
+ Suite 500 San Jose CA 95128 faxto:1-408-261-4102 +
=======================================================================
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:55:47 PDT