Login  Register

Re: STLLoader

Posted by gouessej on Jun 24, 2014; 2:51pm
URL: https://forum.jogamp.org/STLLoader-tp4032481p4032488.html

Maybe it would be better to get the bounding volume of your mesh (Group.getCollisionBounds()) to compute the back clip distance and the front clip distance.

view.setBackClipDistance(1000) works with your example but imagine that someone else wants to load a mesh whose coordinates are greater than 1000.
Julien Gouesse | Personal blog | Website