Results 1 to 4 of 4

Thread: [RESOLVED] 2D Polygon Clipping (Scissoring)

Threaded View

  1. #1

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Resolved [RESOLVED] 2D Polygon Clipping (Scissoring)

    Using DirectX8, I am immitading World of Warcraft's spell cooldown and I managed to pull it off on my own. However there is just one problem. The diamond I am using over the spell image needs clipped as I do not want it shown, which means I am gonna need 4 clipping regions. Scissoring would have been a great solution but it's only supported in DirectX9 and above. However I ran into this post which has Weiler-Atherton's algorithm method of 2d Polygon clipping but krtxmrtz's code was too complex for me to convert, mostly cause of his variables. If anyone's got the balls and brains to help splice this in somehow, I would apprieciate it. I am uploading an image of what I have achieved along with my project:
    Attached Images Attached Images  
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width