Welcome to
Mod The Sims
Online: 5165
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 65 (Who?), Viewed: 28457 times.
Search this Thread
Old 14th Feb 2005, 8:52 PM DefaultNext version of mesh tool and file formats #1
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


As I`ve said a few times before, for the next version of the mesh tool, we have added support for SMD files (used by the game half life 1 and 2). We picked this format as it is a simple(internally ) format which allows skeleton/bones to be exported along with the mesh, and also most of the main 3d programs support it (or have plug-ins for it).

The thing I`m hoping to avoid this time is the problem we had with the obj files, in that the mesh tool wouldn`t work with some produced by certain programs.

SO I`m uploading here two test smd files, one is a body mesh , the other a hair mesh. I would like people to try them with the 3d programs they use and also if could to rexport the meshes without changing anything, back into a smd file, and then upload those files here. So I can test they work with the mesh tool.

The programs I know(or believe) support SMD files are: milkshape (though it only supports one bone per vertice, so will be of limited use for body meshes), blender, 3ds studio max, maya , SoftImage XSI (full version) and SoftImage XSI Mod tool 4.2 (which is a free slightly cut down version of the full program, with limited import/export but one of the formats it does support is SMD files.)

I have currently only been able to test the files the new mesh tool create with milkshape and the Softimage XSI mod tool. So really need help in testing them on other programs.
Download - please read all instructions before downloading any files!
File Type: zip testmesh.zip (74.4 KB, 231 downloads) - View custom content
Last edited by Miche : 15th Feb 2005 at 12:37 AM.
Old 14th Feb 2005, 8:55 PM #2
Kabismeboy
Test Subject

Join Date: Dec 2004
Posts: 19
Thanks: 1167 in 6 Posts
8 Achievements


I'm on it Miche

I'll do 3ds max 6, maya 5.
Old 15th Feb 2005, 8:01 AM #3
Vinther
Test Subject

Join Date: Jan 2005
Posts: 46
Thanks: 473 in 3 Posts
4 Achievements


I'm gonna try with Blender, as soon as I can. If noone beats me to it.

So, will the SMD format also be used for objects, and will that allow animated objects to be created?
Old 15th Feb 2005, 8:48 AM #4
fleabay
Lab Assistant

Join Date: Dec 2004
Posts: 158
Thanks: 824 in 5 Posts
9 Achievements


I don't think there is an SMD plugin for Maya 5/6. I can't find one. Might be one in with the latest Steam updates. I don't own HL2 so thats a no-go.
Old 15th Feb 2005, 8:55 AM #5
h-master
Test Subject

Join Date: Oct 2004
Posts: 5


Same for me. Maya 6.5 says "unrecognized File Type".
I seached the web for a plug-in, could not find anything...

Can anybody help on this?
Old 15th Feb 2005, 12:02 PM #6
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


there seems to be at least two maya exporter/importers for smd files, one in the half life sdk and another one has a link on the following page: http://ii.hl2files.com/sdk/export_maya.php

Both of them say they are for maya 4/4.5 but according to the following page:
http://www.chatbear.com/board.plm?a...0&v=flatold&s=0
at least one of them should work with maya 6.0.

The only thing I`m unsure of is these exporters support the smd format used by half life 2 (or if they just support the format used by half life 1), while the mesh tool supports both formats , the half life 1 format only allows one bone per vertice.

I`ll try to look around for any other importers/exporters later.

The half life SDK is available for download from various places as well (look for sdk version 2.3) so someone might want to try downloading that to see if the plug-in is in there.

edit: I`ve just found this page which lists two plugins , one for maya 4.0 and one for maya 5.0
http://gaia.sip.ucm.es/grupo/projects/javy/devzone.html
Last edited by Miche : 15th Feb 2005 at 12:15 PM.
Old 15th Feb 2005, 12:21 PM #7
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements


I find some plugin for 3dsmax7.
I upload for you to test my import-export tests.
If they are ok i will upload plugins.
Download - please read all instructions before downloading any files!
File Type: rar smd3dsmax7.rar (57.7 KB, 75 downloads) - View custom content
Old 15th Feb 2005, 12:38 PM #8
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


Quote:
Originally Posted by psyckotic
I find some plugin for 3dsmax7.
I upload for you to test my import-export tests.
If they are ok i will upload plugins.



they somehow seemed to lose the bone assignments, and also exported in half life 1 format (but that might of been because of losing the bone assignments.)

can you test the meshes I`ve attached to this post please.

you might want to check the plug-ins on the following page for 3ds max, it says they (the one at the top of the page) support half life 2 format.
http://ii.hl2files.com/sdk/export_max.php
Download - please read all instructions before downloading any files!
File Type: zip Testmesh1.zip (125.0 KB, 34 downloads) - View custom content
Last edited by Miche : 15th Feb 2005 at 12:48 PM.
Old 15th Feb 2005, 1:01 PM #9
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements


Quote:
Originally Posted by Miche
they somehow seemed to lose the bone assignments, and also exported in half life 1 format (but that might of been because of losing the bone assignments.)

can you test the meshes I`ve attached to this post please.

you might want to check the plug-ins on the following page for 3ds max, it says they (the one at the top of the page) support half life 2 format.
http://ii.hl2files.com/sdk/export_max.php


I used the wavelenght one (bottom of the page). I will yours.
Old 15th Feb 2005, 1:10 PM #10
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements


perhaps it comes from my importer.
Download - please read all instructions before downloading any files!
File Type: rar smd3dsmax7-2.rar (4.7 KB, 36 downloads) - View custom content
Old 15th Feb 2005, 1:19 PM #11
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


so these last two are from the Cannonfodders exporter ?

with that you need to select the option to export them as a Reference frame, the files you have attached are animation frames.
Old 15th Feb 2005, 1:30 PM #12
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements


yes cannonfodders exporter. i selected skeletal animation. i will try with reference frame
Download - please read all instructions before downloading any files!
File Type: rar dresmesh3-test.rar (48.4 KB, 53 downloads) - View custom content
Old 15th Feb 2005, 1:39 PM #13
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


still not keeping the bone assignments (and in half life 1 format), I will have to look into that, when you get time could you try the other two meshes I uploaded in the Testmesh1.zip.

the bones are arranged slightly different in those, but as you said it might be your importer only supports half life 1 format.
Last edited by Miche : 15th Feb 2005 at 1:41 PM.
Old 15th Feb 2005, 1:41 PM #14
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements


I haven't seen there is cannonfodder smd importer. I will try to use it because i used a script importer very long to load the smd.
Download - please read all instructions before downloading any files!
File Type: rar dresmesh4-test.rar (37.5 KB, 30 downloads) - View custom content
Old 15th Feb 2005, 1:48 PM #15
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements


cannonfodder importer is hl2 compatible.

testmesh1 import-export.
Download - please read all instructions before downloading any files!
File Type: rar testmesh1-3ds7.rar (74.3 KB, 33 downloads) - View custom content
Old 15th Feb 2005, 2:00 PM #16
rentechd
Field Researcher

Join Date: Sep 2004
Posts: 275
2 Achievements


None of these plug ins for Maya 4-5 work in Maya 6 Unlimited - all but one will not even load, the one that will load is grayed out in auto load and Maya will not read the 'info' for it which is suspicious - and when I attempted to us it was given a 'unknown format' warning and nothing loaded. This is probably because there werre many changes between how converters were written for 4-5 and the move to using the lepTranslator in mel scripts for 6.0. The lepTranslator amd samples are in the sdk for writing a plugin. I searched the Alias site and the community site, but even with platinum access I am not finding any plugin or translator currently available for .smd format. I have sent in a tech support request for information on locating one but as yet have not heard back
Old 15th Feb 2005, 2:03 PM #17
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


Quote:
Originally Posted by psyckotic
cannonfodder importer is hl2 compatible.

testmesh1 import-export.


The ones in the last two posts are coming out in the right kind of format, just a couple of things I need to look into.

Thanks for your help.
Old 15th Feb 2005, 2:12 PM #18
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements

Old 15th Feb 2005, 2:26 PM #19
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


Quote:
Originally Posted by rentechd
None of these plug ins for Maya 4-5 work in Maya 6 Unlimited - all but one will not even load, the one that will load is grayed out in auto load and Maya will not read the 'info' for it which is suspicious - and when I attempted to us it was given a 'unknown format' warning and nothing loaded. This is probably because there werre many changes between how converters were written for 4-5 and the move to using the lepTranslator in mel scripts for 6.0. The lepTranslator amd samples are in the sdk for writing a plugin. I searched the Alias site and the community site, but even with platinum access I am not finding any plugin or translator currently available for .smd format. I have sent in a tech support request for information on locating one but as yet have not heard back


Thanks for trying them, according to the following (and other websites) there is a mel script for maya 4.5 which works with maya 6.0 , it`s just finding that script which seems to be the problem.
http://www.hl2world.com/wiki/index....ource_with_MAYA
Old 15th Feb 2005, 2:30 PM
Brasstex
This message has been deleted by Brasstex. Reason: wrong uploads
Old 15th Feb 2005, 2:36 PM #20
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


Quote:
Originally Posted by Brasstex
I use 3dsmax 6, I imported the SMD test files, and exported them again without changing anything, here they are.

Brasstex



Thanks for testing them for me, but these are animation frames (they just contain the positions of the bones.), when exporting a smd file (for use by the mesh tool) , you need to select "reference frame".
Old 15th Feb 2005, 6:55 PM #21
Brasstex
Lab Assistant

Join Date: Jan 2005
Posts: 197
Thanks: 19745 in 34 Posts
18 Achievements

View My Journal


Quote:
Originally Posted by Miche
Thanks for testing them for me, but these are animation frames (they just contain the positions of the bones.), when exporting a smd file (for use by the mesh tool) , you need to select "reference frame".


Right, sorry. Here's the one's you want.

Brasstex
Download - please read all instructions before downloading any files!
File Type: rar SMDtest1.rar (75.0 KB, 50 downloads) - View custom content
Old 15th Feb 2005, 7:04 PM #22
Miche
Original Poster

Nearly alive

Join Date: Dec 2004
Posts: 629
Thanks: 1826 in 23 Posts
11 Achievements


thanks, what importer and exporter where you using?

not sure what happened, but file 1 has had all the bones removed, while file 2 has the bones still but most of vertices have lost there bone assignments.

the best results so far (for 3ds studio) have been with the cannonfodder plug-in, but that still isn`t perfect as it seems to have reversed parts of the mesh. It might be just something in that files what I posted, but this will need further testing
Old 15th Feb 2005, 7:13 PM #23
Brasstex
Lab Assistant

Join Date: Jan 2005
Posts: 197
Thanks: 19745 in 34 Posts
18 Achievements

View My Journal


Quote:
Originally Posted by Miche
thanks, what importer and exporter where you using?

not sure what happened, but file 1 has had all the bones removed, while file 2 has the bones still but most of vertices have lost there bone assignments.

the best results so far (for 3ds studio) have been with the cannonfodder plug-in, but that still isn`t perfect as it seems to have reversed parts of the mesh. It might be just something in that files what I posted, but this will need further testing


I used cannonfodder importer/exporter. I don't have much luck with internal file converter plug-ins. I've been using 3dwin5 to convert .obj's to 3ds and back again, but it add tremendously to the file size, unfortunately.

Brasstex
Old 15th Feb 2005, 7:37 PM #24
fleabay
Lab Assistant

Join Date: Dec 2004
Posts: 158
Thanks: 824 in 5 Posts
9 Achievements


Here is something for all you kind people.

It contains Half-Life model info (and much more). Hopefully it will be of great use.

http://www.churchofmod.com/files/do...sOn3DModels.rar

.
Old 15th Feb 2005, 8:01 PM #25
psyckotic
Field Researcher

Join Date: Jan 2005
Posts: 218
Thanks: 3298 in 24 Posts
12 Achievements


Quote:
Originally Posted by Miche
thanks, what importer and exporter where you using?

not sure what happened, but file 1 has had all the bones removed, while file 2 has the bones still but most of vertices have lost there bone assignments.

the best results so far (for 3ds studio) have been with the cannonfodder plug-in, but that still isn`t perfect as it seems to have reversed parts of the mesh. It might be just something in that files what I posted, but this will need further testing


There some option in the importer called detect inversed meshes perhaps it comes from that. Tell me which file i have to test....
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.