Forum

Author Topic: Cartesian Coordinates of model for each pixel in photo  (Read 1381 times)

jamiemccoll1@gmail.com

  • Newbie
  • *
  • Posts: 5
    • View Profile
Cartesian Coordinates of model for each pixel in photo
« on: January 16, 2018, 07:21:19 AM »
The final product I am aiming for is an array where each pixel consists of an x,y,z float of where that point in the image is found on the model. Similar to what renderDepth does for the depth of a given image, I hope to get 3D position instead. This to be used in conjunction with the original image such that a click on a photo can give the x,y,z position of that point in 3D space.

Initial thought is to simply use Camera.unproject() for each pixel, but from reading other posts it sounds like this is not correct.

Any help or hints will be much appreciated!
« Last Edit: January 16, 2018, 08:49:03 AM by jamiemccoll1@gmail.com »