Hi all i am from Italy, i' new on this list :)
now the response..
import in the code:
import org.newdawn.j3d.loaders.ac3d.AC3DLoader; import org.newdawn.j3d.loaders.ac3d.AC3DModel; import java.net.URL;
then load the object...
String src = "" ;
BranchGroup modelBranch = null;
try {
AC3DModel model = AC3DLoader.load(new URL("file:"+src));
modelBranch = model.createInstance();
} catch (Exception e) {
System.err.println("Error importing object " + src + ": " + e);
e.printStackTrace();
}
now append model Branch to your world :)
bye
Hi, all,
I downloaded md3 loader from http://www.newdawnsoftware.com/. But
I do not know how to use this loader, for I have not used it before. I
hope somebody who ever used it can help me.
Best regards!
Zch
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
