RE: [info-performer] pfdMeshGSet

New Message Reply Date view Thread view Subject view Author view

From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 11/01/2002 06:47:47


Try not creating the geosets directly, and using the pfdGeoBuilder instead.
Or, look at what that does, when you tell it to build the geosets, because
it
goes through a series of calls to go through meshing routines.

Remember that some triangle groups cannot strip, so if the data is bad, you
are out of luck.

Chris

-----Original Message-----
From: Sakis Gaitatzes [mailto:gaitat++at++yahoo.com]
Sent: Friday, November 01, 2002 5:58 AM
To: Performer
Subject: [info-performer] pfdMeshGSet

pfHello

I load a pfb file with object = pfdLoadFile () and I use
pfdExtractGraphTriangles (object, gset, PR_QUERY_TRI_COORD |
PR_QUERY_TRI_TEXTURE | PR_QUERY_TRI_COLOR | PR_QUERY_TRI_NORMAL);
to get a pfGeoSet that consists of PFGS_TRIS.
Then I use pfdMeshGSet (gset) expecting that I would get back a pfGeoSet
that
consists of PFGS_TRISTRIPS.
But I get back the same gset (PFGS_TRIS) and I am wondering why.
Even when I extract only COORD | NORMAL from object, pfdMeshGSet does not do
what I think it should do.
Are there any rules in the use of pfdMeshGSet?
I have read the source in pfdTMesher.c but the code is not very well
documented
and I could not understand the whole thing.

Any help would be greatly appreciated.
Is there another way to convert PFGS_TRIS to PFGS_TRISTRIPS?

I am attaching a pfb that contains the gset that I cannot stripify.

PS. I have also tried with indexed gsets and non-indexed gsets with no
success.

=====
Athanasios Gaitatzes (Saki)
e-mail: gaitat++at++yahoo.com
   url: http://www.virtuality.gr/

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Nov 01 2002 - 06:51:42 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.