Hi
everybody:
I'm suffering an extrange problem.
Supose I've designed this SceneGraph up to
down tree:
Universe(BranchGraph)
|
BranchGroup
|
----------------------------------------------------------------------------------
|
| |
TransformGroup Several
BranchGroups
BranchGroup (1)
(View
Platform) (static objects in the
scene) (Dinamic parent
branch it could have different branches or leaves)
|
|
|
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
BranchGroup
(2)
Several BranchGroups of the same type as the one
before
Static BranchGroups
(Added
in
execution)
after creating them for
|
BranchGroup(1)
|
|
-------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
Box
object
TransformGroup Translate finality
Behavior Collision
Behavior Pick
Behavior
(from
com.sun.j3d.utils.geometry) (Activates
a proccess)
Well
it's all, I think.
If I apply a detach over
BranchGroup(1) with the interest of "deleting" the branch and all
child from the scene, Supose I want to put a new different BranchGroup with
other objects, I haven�t got no problem, even if I have BranchGroups(2) pending
(the second BranchGroups are my problem).
But when
I want to detach one BranchGroup(2), branches where I locate a Box with some
behaviors and a transform group, objects that interact with the user, I get my
application freezed.
I am
trying to catch the exception it could give, for example
CapabilityNotSetException, but they are all ok I don�t catch any exception from
that, I catch Exception and Error too, but I never catch any exception, only the
applycation freezes and I can�t do any more.
Possibly
to have active behaviors, principally the pick behavior wich is the one tha
shoots the detach could be my problem?
Forgive
me about my poor english please, I've had a terrible day
today.
Thanks for
advance.
| Aitor Illarramendi Amilibia | |
|
Ingeniero de software
Detecci�n, Mando y Control | |
![]() | |
|
Carretera de Loeches, 9
28850 - Torrej�n de Ardoz, Madrid (ESPA�A) Tel: +34-91-396.82.47 Fax: +34-91-396.81.14 | |

