Just do this:
cd demo/java3d/ObjLoad
java ObjLoad ../geometry/minimart.obj
You don't need to change the code in ObjLoad.java to get the
textures to load. If you look at minimart.obj, you'll see
it specifies the .mtl file itself (minimart.mtl), and that
file points to the individual texture files (concrete.int,
pumps.int, gas.rgb, etc.) The .obj and .mtl files are
text files so it's easy to look and them and see what's
going on.
-Paul
> MIME-Version: 1.0
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
> Date: Thu, 1 Feb 2001 18:45:11 +0900
> From: jaelemy <[EMAIL PROTECTED]>
> Subject: [JAVA3D] ObjLoader
> To: [EMAIL PROTECTED]
>
> Hi! Somebody answer for me!
>
> I am with a Installed Java3D folder(demo/java3D/ObjLoad)
> when I loaded minimart.obj where is in demo/java3d/geometry
> There is absolutery exsiting the datas (i.e mtl,rgb,int,etc)
> however object appears which does not be applied for property of Material.
>
> Thank you in advance!!
===========================================================================
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".