Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java 3D > weird setBounds...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 777 of 818
Post > Topic >>

weird setBounds() behavior

by Asra <0daedalus@[EMAIL PROTECTED] > Aug 3, 2007 at 06:24 PM

I have an interesting problem.  I need to set the bounds of a
BranchGroup that I've loaded via ObjectFile to the bounds already used
by the BranchGroup it's being loaded into.  For this purpose, I'm
using a custom Map class that extends BranchGroup.  For some reason,
the bounds do not change.  I looked into what was happening, and it
turns out that my Map bounds that are retrieved through getBounds()
are always a BoundingSphere with center (0, 0, 0) and radius -1, even
after I have set them to something more useful.  It looked to me like
ALLOW_BOUNDS_READ and ALLOW_BOUNDS_WRITE hadn't been set, but this
behavior persisted even after I set them within the Map constructor.

Revelations, anyone?




 1 Posts in Topic:
weird setBounds() behavior
Asra <0daedalus@[EMAIL  2007-08-03 18:24:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:57:57 CDT 2008.