If I remember right, bounds only get calculated once the scene goes live.
You can use J3dTree to look at the bounds on your live Nodes.
Sincerely,
Daniel Selman
[EMAIL PROTECTED]
Tornado Labs Ltd.
http://www.tornadolabs.com
-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of �̿���
Sent: Wednesday, August 30, 1995 4:45 AM
To: [EMAIL PROTECTED]
Subject: getBounds()
Hi everyone~
I'm wondering why method - getBounds() returns radius value -1
These are some of my codes
....
Transformgroup tg;
BoundingBox b = BoundingBox(new Point3d(-10, -10, -10), new Point3d(10, 10,
10));
tg.setBounds(b);
System.out.println(tg.getBounds());
...
Result is
Center=<0.0, 0.0, 0.0> Radius=-1.0
Can anybody tell me why?
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".