Dan

Dan

  • NA
  • 35
  • 0

How to turn image on itself so only edge is seen?

Mar 29 2011 12:33 PM
Hi guys,

I'm trying to turn a flat 2D circle image on itself in stages so that the right hand edge moves around to the back & what you're left seeing at the end is just the side of the circle, which appears as just a straight line – so it's almost approaching a 3D spin in this respect.

To maybe explain better, if you hold a coin in your fore finger and thumb, so you're viewing its full face – then, push the right hand edge of the coin with the fore finger of your other hand, the coin will turn on a central, vertical axis so that eventually you are left looking at just its side – which is the straight line…this is the turning effect I've been trying to get.

I thought I might be able to do this by playing with the negative & positive values of the 'Shear()' method of the 'Matrix' class but have had no success.

Does anyone know of the way to get the desired effect is at all?

Thank you very much indeed,

Dan : )

NB: I know this post should really go in the 'GDI+ and DirectX' section of the forum. However, there seems to be a bug preventing new posts there, I've tried several times over the last week without success. Thanks, Dan.

Answers (7)