Re: [JAVA3D] Troubles with scenegraph bounds

2004-05-04 Thread Artur Biesiadowski
Maxim Tugai wrote: sceneGraph.setBoundsAutoCompute(true); BoundingBox graphBounds = new BoundingBox(sceneGraph.getBounds()); However, when I measuring the dimensions of graphBounds (using getLower() and getUpper() methods), these dimensions are ALWAYS equal (width = height = deep)! Why? I know, tha

[JAVA3D] Troubles with scenegraph bounds

2004-05-04 Thread Maxim Tugai
Hi, can anybody help me? I want to get the dimensions of scenegraph (width, height, deep), so I use such algorithm: BranchGroup sceneGraph; ... making scenegraph... sceneGraph.setBoundsAutoCompute(true); BoundingBox graphBounds = new BoundingBox(sceneGraph.getBounds()); However, when I measur