FrostScYthe
Oct27-04, 10:37 PM
Sorry to post again, I just have 2 questions :smile:
I have to edit a program that's made in java, and uses java 3d for making a tiny networking virtual environment... well you'll see.
Anyway I don't have to mess at all with the networking I just have to turn the program into a game in which the users are cubes and they have to catch other figures like cones. I'm trying to make the cones turn white, and previously I tried removing them... every time a cube touched one... but when I do so I get this error
C:\Documents and Settings\Admin\Desktop\TinyNetVE\TinyNetVEv.5>cd
src
C:\Documents and Settings\Admin\Desktop\TinyNetVE\TinyNetVEv.5\src
>java scene3D/SharedCubes 0
User: 0
Exception occurred during Behavior execution:
javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to set appeara
nce
at javax.media.j3d.Shape3D.setAppearance(Shape3D.java :472)
at scene3D.Cones.setAppearance(Cones.java:64)
at scene3D.SharedCubes.getVectors(SharedCubes.java:33 0)
at scene3D.SharedCubes.keyPressed(SharedCubes.java:19 8)
at devices.KeyboardBehavior.fireKeyPressedEvent(Keybo ardBehavior.java:94
)
at devices.KeyboardBehavior.processStimulus(KeyboardB ehavior.java:54)
at javax.media.j3d.BehaviorScheduler.doWork(BehaviorS cheduler.java:172)
at javax.media.j3d.J3dThread.run(J3dThread.java:250)
Here's the program, I uploaded it to this site http://www.freewebs.com/cubitrix/TinyNetVEv.zip
I have to edit a program that's made in java, and uses java 3d for making a tiny networking virtual environment... well you'll see.
Anyway I don't have to mess at all with the networking I just have to turn the program into a game in which the users are cubes and they have to catch other figures like cones. I'm trying to make the cones turn white, and previously I tried removing them... every time a cube touched one... but when I do so I get this error
C:\Documents and Settings\Admin\Desktop\TinyNetVE\TinyNetVEv.5>cd
src
C:\Documents and Settings\Admin\Desktop\TinyNetVE\TinyNetVEv.5\src
>java scene3D/SharedCubes 0
User: 0
Exception occurred during Behavior execution:
javax.media.j3d.CapabilityNotSetException: Shape3D: no capability to set appeara
nce
at javax.media.j3d.Shape3D.setAppearance(Shape3D.java :472)
at scene3D.Cones.setAppearance(Cones.java:64)
at scene3D.SharedCubes.getVectors(SharedCubes.java:33 0)
at scene3D.SharedCubes.keyPressed(SharedCubes.java:19 8)
at devices.KeyboardBehavior.fireKeyPressedEvent(Keybo ardBehavior.java:94
)
at devices.KeyboardBehavior.processStimulus(KeyboardB ehavior.java:54)
at javax.media.j3d.BehaviorScheduler.doWork(BehaviorS cheduler.java:172)
at javax.media.j3d.J3dThread.run(J3dThread.java:250)
Here's the program, I uploaded it to this site http://www.freewebs.com/cubitrix/TinyNetVEv.zip