?
Solved

BranchGroups

Posted on 2000-04-08
4
Medium Priority
?
311 Views
Last Modified: 2011-10-03
Hi,

I am trying to pick a node but I am getting an exception that says that i can only pick if the BranchGroup is alive.  Does anyone know how to set a BranchGroup to be alive? Or does anyone know what this means?

wazila
0
Comment
Question by:wazila
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Sasha_Mapa
ID: 2696542
What's a BranchGroup?
0
 

Author Comment

by:wazila
ID: 2696548
Sorry, I forgot to clarify that I am using Java3D.
0
 
LVL 2

Accepted Solution

by:
Nevyn earned 400 total points
ID: 2697608
A BranchGroup becomes alive once it is added to a Locale. You can determine if a BranchGroup is alive by calling its isAlive method.
0
 
LVL 2

Expert Comment

by:Nevyn
ID: 2697613
Actually, the BranchGroup does not have to be added directly to the Locale. Once the BranchGroup is added to a live scene graph, it becomes alive and all of its children become alive. To make the BranchGroup not alive, you must set the BranchGroup.ALLOW_DETACH capability and call the detach method of BranchGroup when it is alive. This will remove the BranchGroup and all of its children from the Universe and hence from the display.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question