View Single Post
Old 02-26-08, 11:49 AM   #15
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by Anvart
Quote:
Originally Posted by privateer
Easy enuff to fix!

Open the object you modded or exported and search for this line:

usemtl cfg#E01

Change it to:

usemtl E01


Now open the mtl file and look for this section:

newmtl cfg#E01
Ka 0.0 0.0 0.0
Kd 0.3 0.3 0.3
Ks 0.1 0.1 0.1
d 1.0
illum 1
Ns 0
map_Kd cfg#E01

Change it to:

newmtl E01
Ka 0.0 0.0 0.0
Kd 0.3 0.3 0.3
Ks 0.1 0.1 0.1
d 1.0
illum 1
Ns 0
map_Kd E01.tga

Now reimport.
Quote:
Originally Posted by privateer
I use 3Ds Max 9 but here are my settings


... and my:

... and some notes for mtl-file format:

If the 'Output Material Library File' option is enabled then a material definition file (.mtl)
will be output along with the geometry file. This file lists attributes of various materials.
The mapping from the converter's internal parameters to the .mtl parameters are described as follows:
Ns = Phong specular component. Ranges from 0 to 200.
Kd = Diffuse color weighted by the diffuse coefficient.
Ka = Ambient color weighted by the ambient coefficient.
Ks = Specular color weighted by the specular coefficient.
d = Dissolve factor (pseudo-transparency). This is set to the internal face transparency value.
illum 2 = Diffuse and specular shading model.
map_Kd = Diffuse color texture map.
map_Ks = Specular color texture map.
map_Ka = Ambient color texture map.
map_Bump = Bump texture map.
map_d = Opacity texture map.


... and ...:



It's WaveFront Obj import/export plugin (freeware) for 3D Studio Max by guruware ...
Link:
http://www.guruware.at/main/objio/index.html

... and ...:



It's PolyTrans import/export plugin (WaveFront Obj too ...) for 3D Studio Max ...

... and no bad site:
http://www.maxplugins.de/index.htm
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 02-26-08 at 12:34 PM.
Anvart is offline   Reply With Quote