Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

Find 3D point projection in rendered image.

$
0
0

Hi everyone,

I need to find out locations of some facial points (nose tip, eyes, etc) in final rendered image.

I found that I can access character mesh by using node.getSkeleton().getObject().getCachedGeom() API. I want to find out indexes of interesting points in the mesh, however I can't find any way to show the indexes.

I managed to find out some of the points by iterating through the mesh and placing sphere at vertex's location, but this is very unconvinient and time consuming task. Is there a better alternative?

Is there some API to find out location of these points at final image or at least to get projection matrix of the camera?


Viewing all articles
Browse latest Browse all 1036

Trending Articles