How to get the projected coordinate of a 3D point?
-
Hi everyone,
I have a problem about how to get the projected coordinate of a 3D point.
Suppose the 3D point locates at [10 20 30], then I save an image of the scene in current view.
Then, how do I know the coordinate of the 3D point in the saved image?
Does anyone have some ideas?
-
view.screen_coords
-
view.screen_coords
returns the point in the Model as X,Y coords - screen value.
But you must ensure that the exported image used the same size as the window, otherwise there is no direct relationship between the point and the image's pixels... -
-
@tig said:
view.screen_coords
returns the point in the Model as X,Y coords - screen value.
But you must ensure that the exported image used the same size as the window, otherwise there is no direct relationship between the point and the image's pixels...Got it! Thanks for your help!
Advertisement