@pandereto wrote:
Hi
How can i get the equivalent position in 2d for a point obtained from getWorldCoordinateAt ?
I means that finding the x,y position equivalent for a point cloud vertex position.Im trying to use ofMap to translate the value but i don't think that its the correct way
int px = ofMap(pos.x, kinect.getDepthTextureReference().getWidth() * -1, kinect.getDepthTextureReference().getWidth(), 0, 640);
best
natxo pedreira gonzalez
Posts: 3
Participants: 2