Page 2 of 3
Re: Meshtool beta 4
Posted: Sun Aug 03, 2008 10:21 pm
by tsurugi13
This is an amazing tool. I just got it to work for the first time and... let's just say the envmap command makes for excellent gun barrels, at least if you layer it over a very very dark blue. I'm gonna go envmap the super battle droid now.
Re: Meshtool beta 4
Posted: Mon Aug 04, 2008 9:24 am
by Aman/Pinguin
PC_modelmunge.exe crashes when I try to give the rep_inf_feluciatrooper.msh a bumpmap...
Code: Select all
ERROR[PC_modelmunge msh\rep_inf_feluciatrooper.msh]:CalculateTangentVectors: num strip vertices doesn't match expected after split along mirror boundaries!
Re: Meshtool beta 4
Posted: Mon Aug 04, 2008 5:56 pm
by tsurugi13
Aman/Pinguin wrote:PC_modelmunge.exe crashes when I try to give the rep_inf_feluciatrooper.msh a bumpmap...
Code: Select all
ERROR[PC_modelmunge msh\rep_inf_feluciatrooper.msh]:CalculateTangentVectors: num strip vertices doesn't match expected after split along mirror boundaries!
Just ran into the same thing with the default rep trooper.
Re: Meshtool beta 4
Posted: Mon Aug 04, 2008 6:02 pm
by Caleb1117
Maybe it can't handle creating a bump map for a unit, or the altered structure of the unit's mesh file, is not the environment the tool is used to creating a bump map call in.
Re: Meshtool beta 4
Posted: Tue Aug 05, 2008 3:58 am
by Aman/Pinguin
EP3Sniper works, can't see a difference ingame though...(yes I created a bumpmap)
Re: Meshtool beta 4
Posted: Tue Aug 05, 2008 4:00 am
by MandeRek
It must work on units, since rep applied it to his one as well..
Also, when i use the common cis pistol texture, and use it's bump with this.. Should work right?
Re: Meshtool beta 4
Posted: Tue Aug 05, 2008 9:09 am
by RepSharpshooter
tsurugi13 wrote:Aman/Pinguin wrote:PC_modelmunge.exe crashes when I try to give the rep_inf_feluciatrooper.msh a bumpmap...
Code: Select all
ERROR[PC_modelmunge msh\rep_inf_feluciatrooper.msh]:CalculateTangentVectors: num strip vertices doesn't match expected after split along mirror boundaries!
Just ran into the same thing with the default rep trooper.
Yes I get that a lot. It has something to do with how the people modeled the trooper. "tangent vectors" I'm assuming are normals. Not sure what a mirror boundary is, but I can conjecture that it wants to split along it, and something messed up... yeah have no clue. Just some modeling identity, like faces with no area, or detached vertices, or some odd thing.
Re: Meshtool beta 4
Posted: Tue Aug 05, 2008 12:33 pm
by tsurugi13
I'm not much of a programmer, so I don't know how difficult it would be, but would it be possible to display the polymesh that each texture projection goes to?
Re: Meshtool beta 4
Posted: Thu Aug 14, 2008 4:49 pm
by xXxINSANITYxXx
when bumping, do u have to create a new texture named (name of .tga)_bump.tga?
Re: Meshtool beta 4
Posted: Thu Aug 14, 2008 7:57 pm
by elfie
xXxINSANITYxXx wrote:when bumping, do u have to create a new texture named (name of .tga)_bump.tga?
I believe so. You can also check the shipped assets textures and names to see how they set it up.
Re: Meshtool beta 4
Posted: Thu Jan 08, 2009 8:41 am
by darkling155
can this convert tga into msh?
Re: Meshtool beta 4
Posted: Thu Jan 08, 2009 10:29 am
by DarthD.U.C.K.
>.<
pointless bump!!!!!
tga is the texture format of battlefront msh is the modelformat
Re: Meshtool beta 4
Posted: Tue Nov 10, 2009 12:54 am
by RogueKnight
Yes, I realize this is a bump, but this is a FAQ topic and my question is related to the use of the program.
I'm trying to bumpmap the Galactic Marine, so I followed the steps in the first post and got my bumpmapped model. After looking at it ingame, I saw absolutely NO difference. I read down a bit, and saw talk of a bumpmap texture, and was wondering what i need to do to make a bumpmap texture and have it so that the program will use it.
Re: Meshtool beta 4
Posted: Tue Nov 10, 2009 1:18 am
by AQT
I believe in order for a bumpmapped model to use a bumpmap texture, you must reference the texture in its .msh.option file like so:
Your bumpmap texture would share the same name as the texture you are "bumpmapping" but with the addition of the
_bump at the end of its name. The name in the .msh.option file would not include the
_bump part. In order to create a bumpmap for your texture, open the original texture up in GIMP and go to Filters>Light and Shadow>Lighting Effects... and choose the "Bump Map" tab, check the "Enable bump mapping" box, and hit OK. At least I think that's how all this is done...
Re: Meshtool beta 4
Posted: Tue Nov 10, 2009 2:08 am
by DarthD.U.C.K.
thatst not really right...
here's a bumpmap creation tutorial i wrote some time ago:
DarthD.U.C.K. wrote:i can
small step-by-step tutorial about bumpmapping objects:
1. create you texture here is the texture for the left blade of the cloneassassin i made:
2. then you create another texture/layer and fill it with the color "888888" (if you need things only bumped in, fill it with white, if only bumped out, fill it with black) the bumpmap has to have the same layout as the texture
3. now color the parts that have to be bumped in with a darker color and the things that you want to bump out with a brighter color. as darker/brighter the color, the more will the parts be bumped in/out
my bumpmap looks lile this:
4. if you are done, select the bumpmaplayer and add a greyscalecopy mask to it anfd apply it
5. save the texture with the extension _bump as usual
6. open your model with meshtool, type in bumpmap and select the material that you want to be bumpmapped
7. enjoy your bumpmapped object ingame
the msh.option file is only needed when you use the normal bumpmap without specmap wich is not applied via flag
when you use the meshtool and you chhose bumpmap it bumpmaps and specmaps your object via flag so no msh.option is needed
Re: Meshtool beta 4
Posted: Thu Jun 10, 2010 3:06 pm
by Jaspo
Ok, time for my third

attempt at posting this...
first of all, regarding bumpmapping, it won't show up if there are no lights shining on it, and I think also if video settings are too low.
second, regarding envmap, it doesn't seem to work for me. It's supposed to make things shiny, right? no such luck, so far as I can tell. I used it on a gray texture and also a colorful texture, and I couldn't see any difference between the objects with it and without it. I noticed in the msh file (formerly m5h) it has helmet_envmap instead of helmet_envmap.tga. This would seem to be a good reason for it to not work, especially because all stock meshes have the ".tga" included, but if thats the case how has everyone else gotten it to work? And yes, I did move the helmet_envmap.tga and helmet_envmap.tga.option files into the world1 folder where the object is. Also, I tried hexediting ".tga" onto the end of "helmet_envmap" but apparently msh files dislike having their data rearranged, as all I managed to do with that attempt was keep the model from showing up ingame.
Re: Meshtool beta 4
Posted: Thu Jun 10, 2010 5:13 pm
by AQT
Jaspo wrote:first of all, regarding bumpmapping, it won't show up if there are no lights shining on it, and I think also if video settings are too low.
Yes, that's bump map, it doesn't even show up with stock objects with those factors you mentioned.
As for environment map, it works the same way as specular map almost. Your MSH just has to have the right material setting (
http://www.gametoast.com/forums/viewtop ... 19#p393519).
Re: Meshtool beta 4
Posted: Thu Jun 10, 2010 5:26 pm
by IronJaw
Great stuff. Though, I must admit, I don't have any idea about half the stuff said about the bumpmaps.
Is there like a "How to use this program for Dumies" [Read IronJaw]?

Again, great stuff.

Re: Meshtool beta 4
Posted: Sat Jun 12, 2010 7:13 am
by Lozza
Thanks very useful , I was about to do make something the hard way until now.

Re: Meshtool beta 4
Posted: Sat Jun 12, 2010 11:04 am
by RepSharpshooter
Jaspo wrote:helmet_envmap instead of helmet_envmap.tga.
Huh, you're right. Somehow still worked for me though. Did you forget the helmet_envmap.tga.option ?
This was just with "helmet_envmap":
