Imagination PowerVR SDK Blog

Optimized triangle list


#1

Is there any information how to prepare the vertices data so they would be optimized ? We have here custom toolchain and we would like to implement this feature.

 

 

#2

We have functions to optimise triangle lists in our SDK (which you can download from POWERVR insider). Look in PowerVRSDKToolsPVRTTriStrip.cpp and PowerVRSDKToolsPVRTGeometry.cpp

 

Regards.

 

Carlos.

#3

Thank you, however, i have a problem using PVRTTriStripList( ); the function seems to hang in a loop for ever into the stripping process  (void CStrip::StripFromEdges())

 

when i use one of our model, the model is 92 triangles (276 indices unsigned short), i have checked that there is no dead triangle with 2 or 3 points with the same index, everything looks fine...so any idea how we could fix it ?

 

If you want to experiment yourself, i can forward you the list of indices in small binary data (552 bytes).

#4

Maybe an hint, it seems to loop for ever, if we have a triangle A,B,C along with a triangle B,A,C into the list…


#5

Iyes,

 

This sounds like a bug we have not seen before. We'll try to replicate it.

I'll let you know if we find the problem.

Can you workaround this problem or you require the fix?

 

Regards.

 

Carlos.

#6

Hello,

 

We cannot reproduce the problem as you describe it. Could you send an example that goes wrong to devtech@imgtec.com?

 

Thanks.

 

Carlos.