I want to draw a surface in Java3D and I need to set bounds (using BoundingBox, BoundingSphere, BoundinLeaf or something else) because I'm working with infinite surface (in some cases I devide with number that is very close to 0). Computer automaticly sets bounds, but I need something else (for example only to see surface that belongs to cube with diagonal points (-6,-6,-6) and (6,6,6)). Any ideas or similar experiences are welcome!

Recommended Answers

All 3 Replies

Are you talking about setting bounds of the frame, or the 3D shapes your wanting to draw?

I'm talking about setting bounds of the 3D shapes I want to draw.

Well, if you draw them don't you set the size and everything of them? Or are you worried about the layout manager screwing things up?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.