Hi,
I want to load a object with its material information into my java 3d program.
I use a wavefront .obj file. I have the referenced material .mtl file, too.
But how can import a object with all the texture information in the java 3d programm?
Now my code looks like that:
protected Node buildShape() {
ObjectFile f = new ObjectFile();
Scene s = null;
filename = "auto.obj";
try {
s = f.load(filename);
} catch (Exception e) {
System.out.println("Objektdatei nicht gefunden!");
System.exit(1);
}
return s.getSceneGroup();
}
Thank you beforehand,
\\ll//
@ @
--ooo------(_)----ooo--
Thomas
===========================================================================
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".