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 [Broken]
    Last edited by a moderator: May 1, 2017
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Threads - Help Java Date
Help! Cant get Java! Aug 16, 2007
Need help with Java Jun 9, 2007
Java help Nov 6, 2006
Java Help Oct 4, 2006
Need help with basic java May 7, 2005