Notifications
Clear all
[Closed] pos in world space TO screen point2 value
Jun 24, 2009 4:29 pm
hi all :
i m in top view . actived . then i get a object`s pos , for example : [-100,11,11]
how to translate this pos value to screen point2 value ? it is a mouse pos 2d value . from topleft is [0,0] . all value should be + value .
eg : [-100,11,11] >>>> [20,30] in view .
thanks for help .
3 Replies
Jun 24, 2009 4:29 pm
gw.setTransform(Matrix3 1)
[b][b]gw[/b][/b].[b][b]wTransPoint[/b][/b] $.transform.row4
I do not undertand gw very well . But this codes above works well for me.