Glenn Waldron (gwaldron++at++peril.com)
Fri, 20 Mar 1998 08:56:12 -0500
After changing the original coordinate lists to pfFluxes, the
terrain appears with all it's coordinates randomly scrambled!
Here's the code for each pfGeoSet found in the tree:
pfGeoSet* gset;
pfVec3* coords;
ushort* icoords;
...
gset = geode->getGSet(i);
gset->getAttrLists(PFGS_COORD3, (void**)&coords, &icoords);
pfFlux* flux = new pfFlux(pfGetSize(coords), PFFLUX_DEFAULT_NUM_BUFFERS);
flux->initData(coords);
gset->setAttr(PFGS_COORD3, PFGS_PER_VERTEX, flux, icoords);
Any help is appreciated! thanks! -g.
(config: High Impact, 4TRAM, 256M, R4400, IRIX6.2, PF2.2)
--
Glenn Waldron * Peril Technologies * voice/page: 703.598.7835
mailto:gwaldron++at++peril.com * http://www.peril.com
=======================================================================
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:57:03 PDT