0

Hey guys I am new to java 3d and i am getting a strange error when i try run my program, I know that the code is completely right. When i run the program i get this strange error:
LINEAR, Unknown Sample Rate
* out *
LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed, class [S

cheer's

import com.sun.j3d.utils.universe.SimpleUniverse;

import com.sun.j3d.utils.geometry.ColorCube;

import javax.media.j3d.BranchGroup;

public class Hello3d {

public Hello3d()

{

   SimpleUniverse universe = new SimpleUniverse();

   BranchGroup group = new BranchGroup();

   group.addChild(new ColorCube(0.3));

   universe.getViewingPlatform().setNominalViewingTransform();

   universe.addBranchGraph(group);

}

public static void main( String[] args ) {

   new Hello3d();

}

} // end of class Hello3d
2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Gerbiler
0

I tried your code on my computer( proccesor:amdx64 os: ubuntu) and I did not get your error.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.