From: Sakis Gaitatzes (gaitat++at++yahoo.com)
Date: 11/01/2002 03:58:13
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/
This archive was generated by hypermail 2b29 : Fri Nov 01 2002 - 04:00:41 PST