Problem with point picking on .obj mesh
Posted: Wed Oct 21, 2020 3:24 pm
Hello,
I am using the picking hub in my code to pick a point on a .obj mesh. The .obj mesh is quite large and is split into multiple groups.
When my model is zoomed out so that a whole mesh group is visible the picking works fine. But when the model is more zoomed in (so that only part of the mesh group is in the view) the point is picked incorrectly on the edge of the model view. Attached are few figures for illustration.
Do you know what could be causing this behavior?
Regards,
T.
PS: I have tested a different .obj model without any subgroups and still experiencing same behavior.
I am using the picking hub in my code to pick a point on a .obj mesh. The .obj mesh is quite large and is split into multiple groups.
When my model is zoomed out so that a whole mesh group is visible the picking works fine. But when the model is more zoomed in (so that only part of the mesh group is in the view) the point is picked incorrectly on the edge of the model view. Attached are few figures for illustration.
Do you know what could be causing this behavior?
Regards,
T.
PS: I have tested a different .obj model without any subgroups and still experiencing same behavior.