Solved

BranchGroups

Posted on 2000-04-08
4
262 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
  • 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 100 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now