Skip to main content

Just a working obj?

1 reply [Last post]
rangzen
Offline
Joined: 2011-05-27
Points: 0

Hi,
do you have an archive with a simple .obj, a .mtl, some texture file and the source code wich load it and display the right color and the textures.
I spend the last two days trying to load all the .obj I found on net, very few have textures and none load correctly (in my code) with color or texture. May be I'm wrong in the light of my scene? Does ambiant light is enough?
When I load them in GLC Player (glc-player.net), they have a correct display. Example : http://graphics.im.ntu.edu.tw/~robin/courses/cg03/model/newcsieb1.obj.zip In GLC Player, you can see some color but when I load it with Java3D, it's always, sadly, grey :)
Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rangzen
Offline
Joined: 2011-05-27
Points: 0

With the newcieb1.obj, same in J3DWorkbench : no color, no texture.