Print at Dec 19, 2025, 9:50:01 PM

Posted by Puybaret at Jun 12, 2013, 11:27:47 AM
Re: Missing texture coordinates in MTL file lead to blurry textures?
I was not able to find a menu option to import an obj-file into SH3D.
Drag and drop the OBJ file onto the plan, or use the furniture import wizard displayed by Furniture > Import Furniture menu item.

However, the viewpoint is zoomed to maximum into an object and I am not able to zoom out enough to see the whole model. The problem may be, that I use the RESIZE flag and the radiens param of the class com.sun.j3d.loaders.objectfile.ObjectFile when loading the obj using pure Java3D. I could not find those params in your class. Could you provide a hint how to change the viewport or resize the model?
As the RESIZE flag isn't supported by OBJLoader class, just add a TransformGroup instance that will resize the loaded model. Have a look to ModelManager#getNormalizedTransform method if you look for a way to get the right transformation.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator