Wall Worm Forums

Design Tools => Materials and Textures => Topic started by: Shinobiwan on February 26, 2011, 01:16:00 PM

Title: Bump map export bug.
Post by: Shinobiwan on February 26, 2011, 01:16:00 PM
Just noticed when exporting the vtf's that the tool only finds my Diffuse and specular channel, and not the bump map channel.

Using the latest version .996

Windows XP Sp3. 

3DS Max 2011

Title: Re: Bump map export bug.
Post by: wallworm on February 26, 2011, 02:50:42 PM
Thanks Shinobiwan. I'll look into it this evening. Just as a test... see if it works if you put the bump map into the Displacement map slot.
Title: Re: Bump map export bug.
Post by: Shinobiwan on February 26, 2011, 03:10:58 PM
Tested, still just finding diffuse and specular. Lemme know if you want me to guinea pig out any thing else. This tool is making modding entertaining for change  ;D
Title: Re: Bump map export bug.
Post by: wallworm on February 26, 2011, 07:11:56 PM
So I was testing tonight and the bump map is exporting fine for me...  Did you make sure that ALL the textures are set as TGA in the Render To Texture?

Were all three textures listed in the VTF Texture Exporter window? Were all checked?

I'll look into it more soon as I have tweaks left for the whole texture exporter; it has some quirks I know of... but it's exporting all things that I have checked so far.
Title: Re: Bump map export bug.
Post by: Shinobiwan on February 27, 2011, 12:57:23 AM
Yeah they're all tga's. Took a pic for yah. This was from a different model i was working on of a cinder block. Just a diffuse and bump on this one.

You can see the two check boxes are just the diffuse targa's for the model and its lod. Not finding the bump for some reason.,

(https://www.wallworm.net/proxy.php?request=http%3A%2F%2Fi1183.photobucket.com%2Falbums%2Fx475%2FDeviseGame%2Fww1.jpg&hash=8bd2ed8626acc661f81c951ea67044c322ff941e)

Title: Re: Bump map export bug.
Post by: Shinobiwan on February 27, 2011, 08:54:01 AM
Also just checked something for you. There is a slot in the bump channel called "additional bump" so i added my normal map in there. I tried exporting with just that option selected, and than i tried it with both selected. Same thing, the exporter just cant seem to find it.

(https://www.wallworm.net/proxy.php?request=http%3A%2F%2Fi1183.photobucket.com%2Falbums%2Fx475%2FDeviseGame%2Fww2.jpg&hash=44e3aacb6fd393e778c18d3922871c904c9c6e60)
Title: Re: Bump map export bug.
Post by: wallworm on February 27, 2011, 09:57:40 AM
Aha... I think that I know the answer. WWMT is only looking for a Bitmap map, not a Normal Bump map. Try using a Bitmap map with the TGA instead of putting it into the Normal Bump map.

I'll look into adding support for other map types... but for now it only looks for Bitmap maps.
Title: Re: Bump map export bug.
Post by: wallworm on February 27, 2011, 03:39:04 PM
I just loaded an update to 0.997 that might make using the texture exporter a little easier. It still only uses top-level Bitmaps with TGAs but the texture export interface is now a little bit more helpful.
Title: Re: Bump map export bug.
Post by: Shinobiwan on February 28, 2011, 10:17:44 AM
Hey sorry for the late reply, ive been working on a viewport model the last fiew days, should tested it quicker. Yeah that was it!

Strange that there is that much difference in calling it a normal and a bitmap, in the normal channel. I don't know why they really even give you that option if its the same thing.
Title: Re: Bump map export bug.
Post by: wallworm on April 13, 2012, 05:02:28 PM
I should have updated this a long time ago; at some point I updated the exporter to use the Normal Map ... where the normal map becomes the bump map and the additional bump becomes the detail texture.