PDA

View Full Version : Screen and World Coordinates


videep
03-07-2012, 04:08 AM
Hello Everyone,

I use the gw.text and place a text on a vertex of my plane/mesh by setting the position in point3.

but what if I would like to get the screen position of that vertex in respect to my render size?

Eg. I would like to know where the vertex would lie on the rendered image assuming the top-left coordinate in the rendered image is (0,0). Can we find out the point2 position of vertex?

Thanks in advance.

videep
03-07-2012, 04:26 AM
Got the solution in Maxscript Reference -> How to Develop Vertex Renderer.

gazybara
03-07-2012, 09:48 AM
Perhaps from this site you can find something useful.
http://www.illusioncatalyst.com/mxs.php#null
Look under the name "Practical Space Mapping for interaction"

Kickflipkid687
03-07-2012, 02:19 PM
Yeah, he has some good info. I need to look at his site more often.

gazybara
03-07-2012, 02:38 PM
In my opinion this site is MAXScript Help Extension.
Enrico Gullotti did a great job there.

CGTalk Moderation
03-07-2012, 02:38 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.