Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


exporting into .obj and .mtl problem with textures

exporting into .obj and .mtl problem with textures

Hi all, fairly new at 3D modeling/programming.

I've created a very basic scene, two shapesin fact. Each has it's own texture. Saving and loading the fxw file is fine, no problems in displaying the texture. However, when I export the scene to wavefront .obj format, the .mtl file it produces looks like this:

# File produced by

newmtl dad_Roof
Ns 4
d 1
illum 2
Kd 1.000000 0.000000 0.000000
Ka 0.200000 0.200000 0.200000
Ks 0.000000 0.000000 0.000000

newmtl dad_Walls
Ns 4
d 1
illum 2
Kd 1.000000 0.000000 0.000000
Ka 0.200000 0.200000 0.200000
Ks 0.000000 0.000000 0.000000
map_Kd stonetile10.gif

Please note the missing texture in the newmtl dad_Roof. However, loading the fxw file will correct display the Roof and Walls with the right texture, hence its something to do with exporting.

What I then intended to do was import this file into a Model Loader in Java3D. This is when I nocticed that the whole scene (all two objects) was only one texture (the texture being used on the walls).

I decided to then "import" the same file I exported out from Flux Studio and see what Flux Studio made of this odd .mtl file. When I did this the roof object was a mat red and no longer displayed it's texture unlike had I loaded it from the fxw file.

Help! How can I export two textures in a paired .obj and .mtl file. What am I doing wrong.

Thanks very much.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close