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_coordsreturns 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_coordsreturns 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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement