patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.89k stars 596 forks source link

Why I cannot display the out.obj with OpenGL? [duplicate] #292

Closed yygbruce closed 4 years ago

yygbruce commented 4 years ago

I mean that I can display the out.obj correctly with RendererParamters, but the position is different with the fit_shape_and_pose.I can use RendererParameters draw wireframe as you, so I get the correct parameters from eos.I want to select the triangle and the Intersection point when I pick the screen(the model's position is same with the fit_shape_and_pose).I have readed the source code, and know the fountion of ray_triangle_intersect, but I cannot find the correct ray_origin and ray_direction when I pick the screen.Can you give me some advice?

patrikhuber commented 4 years ago

Please don't open duplicate issues, you can reply in the one that you originally opened. Closing this as a duplicate of #291.