[Bug] Error triangulating graphics (1 Viewer)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I want to use an XAML path created by an external tool. It is valid and can be rendered in VS.

    When I try to use it in MP2, it fails for some reasons:
    • MP2 crashes to desktop, when polygon is invalid (fixed in Reflexion branch)
    • CPolygon ctor does call CheckPolygon, this finds the Polygon to be self-intersecting (which is incorrect IMHO)
    • when I force CPolygon to ignore the CheckPolygon call, the rendererd output looks like in attachment.

    The faulting xaml file is attached, for using it in MPF, remove the xmlns:x attributes...
     

    Attachments

    • 01_VS_correct.png
      01_VS_correct.png
      69.7 KB
    • 02_MPF_failure.png
      02_MPF_failure.png
      26.5 KB
    • Skip_3.7z
      786 bytes

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    46
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: Error triangulating graphics

    Morpheus, can you please simplify the problem? I see a very long path expression with decimal numbers, multiple path primitive constructors etc.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #4
    I think this issue is still valid, as there were no changes in this part for a long time.
     

    Users who are viewing this thread

    Top Bottom