Views: 8,813,120 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
10-15-18 11:54 PM
Guest:

0 users reading Problem: Blender doesn't export with textures. [Solved] | 1 bot

Main - Archived forums - SMG hacking tools development - Problem: Blender doesn't export with textures. [Solved] New reply


patrickhp
Posted on 02-02-15 04:31 PM Link | #55773
Blender only exports the .obj and .mtl without textures or reference to them. How do I fix this?

Splitwirez
Posted on 02-02-15 06:45 PM Link | #55784
Posted by patrickhp
Blender only exports the .obj and .mtl without textures or reference to them. How do I fix this?

You just contradicted yourself, and answered your own question. Just make sure you set all paths to relative before exporting, and copy the textures to wherever you obj2bdl them along with the model.

patrickhp
Posted on 02-02-15 09:22 PM Link | #55788
I have put "relative paths" on User Settings and Path Mode before export, but the .mtl continue without any reference to textures. Here the code:


# Blender MTL File: 'Projeto UV.blend'
# Material Count: 2

newmtl Cube
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ni 1.000000
d 1.000000
illum 2

newmtl floor
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ni 1.000000
d 1.000000
illum 2


NWPlayer123
Posted on 02-03-15 12:56 AM Link | #55789
oh, after the illum 2, put "map_Kd file.png" (without quotes)
IE map_Kd RocketShipFanExPlanet/NailTop1.png (if you wanna put them all in a folder)
That should link the images to the materials.

____________________
"I hate playing musical chats" ~ Quote of the month

patrickhp
Posted on 02-03-15 11:36 AM Link | #55811
Thank you! It worked! :D


Main - Archived forums - SMG hacking tools development - Problem: Blender doesn't export with textures. [Solved] New reply

Page rendered in 0.020 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 110/110, time: 0.015 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.