Page 1 of 4
MeshEx - .msh exportation for Gmax + XSI Mdt's
Posted: Tue Aug 14, 2007 1:49 pm
by RepSharpshooter
Right now I'm writing a C++ program to convert yafray xml to msh. You can get a maxscript for Gmax that will export the xml. The unregistered version of 3D Object Converter can change .xsi to .xml.
Capabilities:
- I will write just a basic mesh export system that will be only capable of exporting static buildings, but I have the capacity to add on and expand to this program.
- I know bconstructor already does this, but I want an exporter from gmax, (also xsi if you use 3DOC) and one that doesn't involve milkshape.
Progress:
- All the input functions are done. (verts, faces, uv, mat names, mat textures)
- Writing polygon striping algorithm. Looking ahead and wondering what I'm going to do when I get over 256 verts, see post below
- Currently writing binary file is next on my agenda.
Posted: Tue Aug 14, 2007 11:20 pm
by Challenger33
Well it's been about a day Rep, and still no replies. Be sure to give me it though.
-:royal:
Posted: Wed Aug 15, 2007 2:44 am
by Qdin
ahh - that's cool

I hope it works.
I'd bet we've got hundreds of people sitting and cheering for you to make a good job

just let it take its time (no rush from my side, and it'd look pretty good on your resume later in life

)
Posted: Wed Aug 15, 2007 4:17 pm
by RepSharpshooter
Thank you. I have school now, and I have tons of tough classes, so I probably won't be able to finish in the near future. Maybe in a month or two. (I have at least 3-5 hours of homework that I foresee every night) But I won't give up on it. In fact, I was going to see if I could turn polygon striping algorithms into some kind of science fair project.
Posted: Fri Aug 17, 2007 6:51 pm
by Qdin
uhh... yes...
Do your school!
not because I think studying is important or anything, I'm just a directly anti-stresser who hate stress

too much homework = stress... that's why I say people should do the homwork so they can clear their minds for the important in life...
points of 3D models!

Posted: Wed Aug 22, 2007 2:53 pm
by swbf_lase
Wanna shot the source code over to me?
Posted: Wed Aug 22, 2007 4:17 pm
by RepSharpshooter
Can I trust you with the source code? I don't want any body claiming it as their own. Also, I'm not a professional programmer, I'm an amateur. Therefore I ignore more efficient ways to do things and go for the simple route, so my code is a little jumbled. (it has a ton of comments though)
Also, will you be able to contribute to it? I know you're a programmer, but I'm not only programming, but am working with three dimensional graphics and algorithms, such as polygon stripping. If you can finish it, great! But you also need to know about the .msh format, how the vertices are stored under what tag etc etc. If you do a lot of OpenGl, you'd be fine. I'm only a beginner in OpenGl.
Posted: Wed Aug 22, 2007 5:11 pm
by wazmol
maybe you should think about doing this for the modtool version 6 now rather than 4.2?
just a thought
-Waz
Posted: Wed Aug 22, 2007 5:39 pm
by RepSharpshooter
As long as you can export .xsi, and can run the unregistered version of 3DOC, it'll work.
Posted: Thu Aug 23, 2007 9:08 am
by swbf_lase
Ok, I'm the lead programmer on a project called Domintuas Incendia, which is written in C++. Plus, you can defitently trust me, I think just about any GT'er would say I'm trust-worthy.
Posted: Thu Aug 23, 2007 10:01 am
by Qdin
Yeah - he's trustable.. otherwise I'll go make him pay.. :twisted: heh
- reminds me, don't I already owe you a beer, Lase? If you don't want it I'll keep it..
seriously, though - he's not gonna do anything he'll regret - that's for sure.
Posted: Thu Aug 23, 2007 10:22 am
by swbf_lase
And SHADOWHAWK should be giving me some support <.<
And I forget what you owe me a beer for.... (CHecks shadowlan)...
Re: MeshEx - .msh exportation for Gmax + XSI Modtools 4.2
Posted: Mon Sep 03, 2007 6:15 pm
by Hunted_One
This is really neat...does this mean that if we have Gmax+4.2 mod tool (the free thing), we'll be able to export .msh? So I don't need to shell out a few thousand to buy the full version of XSI?
Re: (New Question) MeshEx - .msh exportation for Gmax + XSI Modt
Posted: Tue Oct 02, 2007 6:03 pm
by RepSharpshooter
So I about give up This problem is just too big for me to do in spare time. If Lase can use what I have and somehow figure out poly stripping that'd be great. I just need this problem answered.
Hey, where's all the good ol' people like Nimlot and Riley? They'd know.
My problem:
Re: (New Question) MeshEx - .msh exportation for Gmax + XSI Modt
Posted: Mon Oct 15, 2007 3:32 pm
by wazmol
so your stuck eh?
i wish you could get this to work but meh i have the full xsi anyway...
just wanna wish you luck!
-Waz
Re: MeshEx - .msh exportation for Gmax + XSI Mdt's
Posted: Wed Oct 24, 2007 7:16 pm
by RepSharpshooter
Well, I've resumed work on it again
Skipping the polygon junk and just getting the binary file stuff out of the way. Oh and I solved that problem, it means it does this:
10000000
Re: MeshEx - .msh exportation for Gmax + XSI Mdt's
Posted: Fri Oct 26, 2007 12:37 pm
by wazmol
good to know you have resumed work on this!
-Waz
Re: MeshEx - .msh exportation for Gmax + XSI Mdt's
Posted: Sat Oct 27, 2007 7:13 am
by MandeRek
Wow Rep! I think we all hope you finish this soon! Especially the ones with the full version of XSI, then they don't get the "Can you convert this for me pleas?" question anymore
Great idea!
MandeRek
Re: MeshEx - .msh exportation for Gmax + XSI Mdt's
Posted: Sun Nov 11, 2007 10:47 pm
by RepSharpshooter
I made a lot of progress today. The polygon stripping algorithms are roughed out (They don't work for crap though, lol I have to debug)
And I just realized that 3DOC doesn't keep uv's when saving to yafray xml. Oh well. Guess it's for gmax only, lol.
Well I might write a .obj import feature, but at the moment I care more about it exporting the mesh correctly. I favored the .xml because it kept material information.
Well ,I'll try to debug these algorithms, then guess what? All that's left to do is group the polygon strips into mesh segments then write them in binary! Shouldn't be too difficult once I get the stripping blah done.
Re: MeshEx - .msh exportation for Gmax + XSI Mdt's
Posted: Mon Nov 12, 2007 4:18 am
by wazmol
wow so you will be releasing pretty soon or not? (that sounded like one of them very n00bish and annoying questions)
so tell me how this works?
do you make your model in Gmax or XSI Modtools then you export as something (for example ObJ) then with your new program you import the Obj and export it as a Msh?
is that right or am i missing something?
-Wazmol