Optimized triangle list

This topic contains 5 replies, has 2 voices, and was last updated by  CarlosSarria 9 years ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29635

    lyes
    Member

    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.

     

     
    #32500

    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.
    #32501

    lyes
    Member

    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).
    #32502

    lyes
    Member

    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…..

    #32503

    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.
    #32504

    Hello,

     

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

     

    Thanks.

     

    Carlos.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.