Hi
I have an application that shows two different
scenes (SimpleUniverse) in two different canvasses. To move around in the scene
I added to one of them an Orbit Behaviour.
I would like that also the viewing platform in
the second canvas moves when I change the view in in the first canvas with the
mouse. The view should be the same in both windows, however it can be changed
only in one of them.
The way I'm trying to do this is to pass the ViewPlatformTransforms of
the two scenes to a behaviour that is activated several times a
second.
In ProcessStimulus of the Behaviour the values of the first Transform are
assigned to the second TransformGroup
robViewTG.getTransform(robViewT);
colViewTG.setTransform(colViewT);
However, these two lines generate an java.lang.NullPointerException error.
I really don't know what to do now.
Can anyone please give me a hint
what he would do this?
Thanx a lot in advance
Chris |
- Re: [JAVA3D] please help!!!! same view in two c... Christoph Wille
- Re: [JAVA3D] please help!!!! same view in ... Dipl. Ing. Paul Szawlowski
- [JAVA3D] Java & Irix - BETA out - ... Giuseppe Conti