Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Ofxkinect getWorldCoordinateAt reverse

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4929

Latest Images

Trending Articles



Latest Images