Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Maya animation export #97971
11/08/06 16:58
11/08/06 16:58
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline OP
User
Shadow969  Offline OP
User
S

Joined: Oct 2006
Posts: 873
Can I export bones animation from Maya to 3d gamestudio?

Re: Maya animation export [Re: Shadow969] #97972
11/10/06 20:13
11/10/06 20:13
Joined: Nov 2004
Posts: 55
Michigan
S
splashmaker Offline
Junior Member
splashmaker  Offline
Junior Member
S

Joined: Nov 2004
Posts: 55
Michigan
I need this too. Does anyone know?

Re: Maya animation export [Re: splashmaker] #97973
11/26/06 16:11
11/26/06 16:11
Joined: Jul 2004
Posts: 59
T
ToddWorld Offline
Junior Member
ToddWorld  Offline
Junior Member
T

Joined: Jul 2004
Posts: 59
I do all my character modeling in Maya 7 and I don't believe, or at least haven't seen yet, a way to export bones. However, I use the export script for Maya in the downloads section of the site and it's worked pretty well, so far.

Buuuuut, if anyone knows a way add me to the list of people that want to know it.

Thanks,
Todd

Re: Maya animation export [Re: ToddWorld] #97974
11/28/06 07:19
11/28/06 07:19
Joined: Sep 2006
Posts: 18
philippines
C
confulity_ph Offline
Newbie
confulity_ph  Offline
Newbie
C

Joined: Sep 2006
Posts: 18
philippines
ToddWorld i'm happy to hear that the export script for Maya in the downloads section of the site is worked pretty well, but the thing is when we apply the maya "export script" thing we encounter some script errors on it. It will be better for all us if you will laid down the steps on how you apply the exporting script. Thanks we, our thesis group needs your help to graduate in this incoming year. Thanks!


there's a risk involve just to earn maturity
Re: Maya animation export [Re: confulity_ph] #97975
11/29/06 03:52
11/29/06 03:52
Joined: Jul 2004
Posts: 59
T
ToddWorld Offline
Junior Member
ToddWorld  Offline
Junior Member
T

Joined: Jul 2004
Posts: 59
Sure thing I'll try to help. First, let's make sure we're both talking about the same Maya export script (since there seems to be a least two of them floating around the forums).

The link is in the download section on the conitec.net site in the "Additional Software" section right below the "MAX" plug-in. It's the "MAYA to MDL" plug-in.

The download is a zip file that has pretty simple instructions for installing the script (which is what it is...simply a MEL script in Maya). In the zip file you'll find a "read me" instructional text file, a mel script, and a mdl5_converter.exe application. Follow the instructions and when you're done you'll have a new shelf in Maya called "Custom" (if I remember right) with one 'tool icon' on the shelf.

All that's left now is to prepare your model for export. BEFORE you use the MEL script (hit the button), you need to:
1. Make sure that you triangulate your model, which should be under the "Polygon" menu in Maya.
2. Layout all your UV's between the 0 and 1 in the Maya's UV editor (it will be the upper right hand quadrant)
3. Make all your poly Normals soft. You'll find that under the "Edit Polygons" --> "Normals" menu.

AFTER you've done the above select the model you want to export and click the button on the custom shelf. Then you'll need to fill out the following settings:
1. Name and setup the animations. You'll need to give each of your models animations a name and specify the frame numbers that make up that animation. The individual frames are separated by a space. (example: run 10 15 20 25 30) Means that frames 10,15,20,25,30 make up your run animation on your model.
2. specify the path to where you want your model exported to (obviously, don't forget where you save it). It's important to note you're specifying the PATH and NOT the file name. The file will ALWAYS be called "model.txt".
3. set the scale (size) that the model will be exported out at. I haven't found a good way to 'calculate' this yet between Maya and 3DGS, so it's pretty much trial and error until I get my first model of the game, then I use the model to set a scale for all the future exports of other models used in the game.

Then click the export button (or done, or whatever it's labeled). That will create a file named "model.txt" whereever you told it to be saved.

Finally, move (or copy) the "model.txt" file to the same directory as the "mdl5_converter.exe" (which is in the same zip file you downloaded as the MEL script.

Double-click the mdl5_converter.exe and it will run with a little command window flash and create a brand new 3dGS model named model.mdl in that same folder.

You can now rename the model.mdl file to whatever you want (player.mdl, hero.mdl, car.mdl...whatever). It's now ready to be opened in Gamestudio's MED and assigned a texture. The UV's will be layed out the same as the Maya file so just import your texture image (as a pcx or tga file) and apply it in the "skin manager" in MED.

Ok, so this isn't the shortest description but honestly the process isn't that bad. Keep the following in mind. It only exports out one mesh at a time, so if you have multiple meshs (example: a tank's lower half, and a tank's upper turret)...you'll have to combine the meshes with "Polygons" --> "Combine". The script exports out purely the mesh...no bones...no curves...rigging...etc, so animate everything in Maya. And pretty obivous to say, but I will anyway, this only works on polys...no curver, NURBS, or subdiv surfaces (they'll need to be converted to polys in Maya before you export them if you modeled them with anything other than polys.

I hope this helps. Let me know if you have any other questions.

Thanks,
Todd


Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1