Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Determining clicked coordinates??

CveleCvele Member Posts: 96
Hi!

I got this scene containing few flat textured polygons rendering in a pictureBox. What I need is to click on some point in the pictureBox and convert this to 3D-world coordinates so I could draw directly on the texture.

Any tips for this?

Comments

  • bog2k3bog2k3 Member Posts: 57
    You can take the 2D coordinates of the point you clicked and then use the helper function D3DXVec3Unproject() or something like that, to convert them into 3D coordinates. i hope it'll work
Sign In or Register to comment.