0000-Admi (root++at++cae-gmbh.de)
Tue, 4 Apr 95 10:59:10 +0200
...
...
pfVec4 *colors;
pfVec3 *normals,
*coords;
long *lengths;
...
...
/* Creation of the fields colors, normals, coords, and lengths */
pfGSetNumPrims ( gset, 4 );
pfGSetPrimType ( gset, PFGS_TRISTRIPS );
pfGSetPrimLengths ( gset, lengths );
pfGSetAttr ( gset, PFGS_NORMAL3, PFGS_PER_VERTEX, normals, NULL );
pfGSetAttr ( gset, PFGS_COLOR4, PFGS_OVERALL, colors, NULL );
pfGSetAttr ( gset, PFGS_COORD3, PFGS_PER_VERTEX, coords, NULL );
pfAddGSet ( (pfGeode *) geode, gset );
...
...
but it dont works correctly. I print out the GeoSet with pfPrint and
I get the first PFGS_TRISTRIPS four times and the others are lost.
Thanks!
-Dietmar
+-----------------------------------------------+
| Dietmar Wagner, CAE Electronics GmbH, Germany |
| Tel.: +49-2402-106-333 |
| Fax : +49-2402-106-270 |
| Email: dwagner++at++cae-gmbh.de |
+-----------------------------------------------+
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:10 PDT