Solved

BranchGroups

Posted on 2000-04-08
4
286 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL  on Tomcat 8 47
difference between sorce folder and folder in eclipise 3 15
going to wrong jsp page 2 21
printf performancy 11 43
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.

803 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