Better Milkshape materials
by Simon Windmill · 04/29/2002 (12:32 pm) · 4 comments
Download Code File
-- NOTE --
An improved version of this resource is now in the CVS head. If you are already using this modification, you can just get the clean versions of the affected files. Note that the syntax of the custom flags has been changed, so you will need to rename your materials, and the method of triggering translucency has also changed back to have the transparency slider < 1.0
---
This is a small improvement to the MS3D exporter to expose more options in the materials:
Environment mapping can be controlled for the model by use of the Shininess slider
Transparency is enabled by specifying a texture for the alpha texture spot in MS3D - Ken had this idea first =)
Torque material flags can be set by adding special tags to the MS material name for additive transparency, subtractive transparency, self-illumination, mip-mapping, and the "MipMapZeroBorder" flag. I don't actually know what this does, but I added support for it..
-- NOTE --
An improved version of this resource is now in the CVS head. If you are already using this modification, you can just get the clean versions of the affected files. Note that the syntax of the custom flags has been changed, so you will need to rename your materials, and the method of triggering translucency has also changed back to have the transparency slider < 1.0
---
This is a small improvement to the MS3D exporter to expose more options in the materials:
Environment mapping can be controlled for the model by use of the Shininess slider
Transparency is enabled by specifying a texture for the alpha texture spot in MS3D - Ken had this idea first =)
Torque material flags can be set by adding special tags to the MS material name for additive transparency, subtractive transparency, self-illumination, mip-mapping, and the "MipMapZeroBorder" flag. I don't actually know what this does, but I added support for it..
#2
05/01/2002 (5:54 pm)
Good Job, Simon !
#3
05/02/2002 (2:13 am)
Well done. My 3D artist & mapper will be very happy.
#4
Btw, the changes were at TimG's suggestion, I do think they're an improvement, although I personally prefered using the transparency texture as the trigger for translucency mode ;)
05/02/2002 (9:04 pm)
Please read the note above if you haven't already - this is now in CVS.Btw, the changes were at TimG's suggestion, I do think they're an improvement, although I personally prefered using the transparency texture as the trigger for translucency mode ;)

Torque Owner Vashner