Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help in Java 3D

  1. Oct 27, 2004 #1
    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

    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
    at javax.media.j3d.Shape3D.setAppearance(Shape3D.java:472)
    at scene3D.Cones.setAppearance(Cones.java:64)
    at scene3D.SharedCubes.getVectors(SharedCubes.java:330)
    at scene3D.SharedCubes.keyPressed(SharedCubes.java:198)
    at devices.KeyboardBehavior.fireKeyPressedEvent(KeyboardBehavior.java:94
    at devices.KeyboardBehavior.processStimulus(KeyboardBehavior.java:54)
    at javax.media.j3d.BehaviorScheduler.doWork(BehaviorScheduler.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
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted

Similar Discussions: Help in Java 3D
  1. Java help (Replies: 7)

  2. Java Help (Replies: 7)

  3. Java help (Replies: 15)

  4. Need help with Java (Replies: 53)

  5. Help! Cant get Java! (Replies: 3)