Meshtool beta 4
Moderator: Moderators
- tsurugi13
- Lieutenant Colonel
- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: Meshtool beta 4
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.
-
- Jedi
- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Meshtool beta 4
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!
- tsurugi13
- Lieutenant Colonel
- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: Meshtool beta 4
Just ran into the same thing with the default rep trooper.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!
-
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Meshtool beta 4
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.
-
- Jedi
- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Meshtool beta 4
EP3Sniper works, can't see a difference ingame though...(yes I created a bumpmap)
-
- Sith Master
- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Meshtool beta 4
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?
Also, when i use the common cis pistol texture, and use it's bump with this.. Should work right?
-
- Gametoast Staff
- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Meshtool beta 4
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.tsurugi13 wrote:Just ran into the same thing with the default rep trooper.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!
- tsurugi13
- Lieutenant Colonel
- Posts: 543
- Joined: Mon Dec 17, 2007 6:16 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Battling the ISA menace on Helghan.
Re: Meshtool beta 4
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?
-
- Filthy Thief
- Posts: 89
- Joined: Fri Jul 25, 2008 4:59 pm
Re: Meshtool beta 4
when bumping, do u have to create a new texture named (name of .tga)_bump.tga?
- elfie
- Field Commander
- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: Meshtool beta 4
I believe so. You can also check the shipped assets textures and names to see how they set it up.xXxINSANITYxXx wrote:when bumping, do u have to create a new texture named (name of .tga)_bump.tga?
-
- Private First Class
- Posts: 87
- Joined: Tue Dec 16, 2008 8:00 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: anywhere you arent
Re: Meshtool beta 4
can this convert tga into msh?
- DarthD.U.C.K.
- Master of the Force
- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Meshtool beta 4
>.<
pointless bump!!!!!
tga is the texture format of battlefront msh is the modelformat
pointless bump!!!!!
tga is the texture format of battlefront msh is the modelformat
-
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Meshtool beta 4
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.
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.
-
- Gametoast Staff
- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Meshtool beta 4
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...
Code: Select all
-bump [insert-name-of-texture]
- DarthD.U.C.K.
- Master of the Force
- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Meshtool beta 4
thatst not really right...
here's a bumpmap creation tutorial i wrote some time ago:
when you use the meshtool and you chhose bumpmap it bumpmaps and specmaps your object via flag so no msh.option is needed
here's a bumpmap creation tutorial i wrote some time ago:
the msh.option file is only needed when you use the normal bumpmap without specmap wich is not applied via flagDarthD.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 textureHidden/Spoiler:
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:Hidden/Spoiler:
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
when you use the meshtool and you chhose bumpmap it bumpmaps and specmaps your object via flag so no msh.option is needed
-
- Command Sergeant Major
- Posts: 282
- Joined: Sun Mar 01, 2009 4:34 am
- Projects :: AotC DoW+++Boonta Eve Classic
- xbox live or psn: No gamertag set
- Contact:
Re: Meshtool beta 4
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.

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.
-
- Gametoast Staff
- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Meshtool beta 4
Yes, that's bump map, it doesn't even show up with stock objects with those factors you mentioned.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.
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).
- IronJaw
- Sergeant Major
- Posts: 225
- Joined: Tue Jul 14, 2009 8:33 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Look behind you, I'm with four other ninjas
Re: Meshtool beta 4
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. 


Is there like a "How to use this program for Dumies" [Read IronJaw]?


- Lozza
- Lieutenant Colonel
- Posts: 543
- Joined: Tue Jan 05, 2010 5:11 am
- Location: Australia. Melbourne
- Contact:
Re: Meshtool beta 4
Thanks very useful , I was about to do make something the hard way until now. 

-
- Gametoast Staff
- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Meshtool beta 4
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":
