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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.