Login  Register

Re: STLLoader

Posted by gouessej on Jun 27, 2014; 7:59am
URL: https://forum.jogamp.org/STLLoader-tp4032481p4032497.html

Hi

Get your bounds, cast this object to BoundingSphere, call getRadius(), multiply it by 2 as you want the diameter.

I'm sorry, I'm not the best person to answer questions about Java3D, I initiated its port several years ago, Harvey has gone on maintaining it and fixed a lot of stuff, several individual contributors suggested a few patches.

Some other scenegraphs provide some full featured viewers and several loaders, it would allow you to view STL files with less boilerplate code. Of course, there are probably some viewers based on Java3D.

Is there anybody here who has something better to suggest? Harvey? August? Runiter?
Julien Gouesse | Personal blog | Website