From: Benedikt Kessler (bjk++at++sgi.com)
Date: 10/13/2005 06:41:27
Hi!
Right at the beginning of the DESCRIPTION part of the pfGeoSet mapage you will find the answer:
An indexed pfGeoSet uses a list of unsigned shorts to index
an attribute list.
So that will allow indixes up to 65535.
Bye! Benedikt
Raymond Chen wrote:
>
> Hi everyone,
>
> I recently ran into a problem on indexed GeoSets.
> In my application, I tried to build a triangular surface mesh model
> using indexed GeoSet.
> I used pfGeoSet::setAttr() to set the vertex array and the index array.
> The vertex array and index array are built in the Shared Arena using the
> external mesh data. The number of vertices is around 210k, but not every
> vertex is used to build the triangular mesh.
> However, when I rendered the mesh data in Performer, there are many
> empty triangular faces that are not supposed to be there. It seems that
> the index into the vertex list is incorrect.
> But when I put the same data set into an Inventor model file and then
> load it into Performer using pfdLoadFile(), those empty patches
> disappeared and the surface mesh is rendered correctly.
> Does anyone here know what went wrong in my setup?
>
> Or is there an upper limit for the number of vertex that could be loaded
> into one pfGeoSet?
>
> Or do those non-used vertex in an indexed GeoSet affect the mesh
> surface?
>
> Thanks.
>
> Raymond
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
-- +---------------------------------+----------------------------------+ |Benedikt J. Kessler | Silicon Graphics GmbH | |Advanced Media Products | Am Hochacker 3 - Technopark | |SGI | 85630 Grasbrunn-Neukeferloh, FRG | | --- __o ,__o | | | ------_ \<,_ _-\_<, | Phone: (+49) 89 46108-366 or -0 | |----- (*)/ (*) (*)/'(*) | Fax: (+49) 89 46107-366 | +---------------------------------+----------------------------------+ |E-Mail: bjk++at++sgi.com Web (private): http://sgiweb.org/bjk | | Web: http://www.sgi.de | +--------------------------------------------------------------------+
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 06:43:29 PDT