From: Raymond Chen (pchen++at++mail.eecis.udel.edu)
Date: 10/13/2005 06:04:29
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
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 06:05:52 PDT