|
blender mdl7 exporter
#38732
01/03/05 14:43
01/03/05 14:43
|
Joined: May 2002
Posts: 7,441
ventilator
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2002
Posts: 7,441
|
i played around with python scripting in blender and created a mdl7 exporter.
3dgs_mdl7_export.py ~ 10kb
usage:
- copy the script to your .blender/scripts folder
- start blender (the latest version is 2.36)
- select a polygon object
- file -> export -> 3dgamestudio mdl7 (.mdl)...
- the model/world space option doesn't have an effect yet (just wanted to have some more buttons )
- animation sequences get defined by a list of frames separated by spaces (see screenshot). you can scroll up and down by dragging the gui with the middle mouse button if the animation list gets longer. all animations get exported as vertex animation for now.
- press export and enter a filename
- wait until "done!" appears in the console
known issues:
- the current method of generating the uv list can be quite slow with big models (with several thousand polygons)
- animation does only get exported correctly if the model is visible in a 3d view during the export
maybe some blender users (i don't think there are many on this forum) find it useful.
|
|
|
Re: blender mdl7 exporter
[Re: ventilator]
#38734
01/03/05 22:17
01/03/05 22:17
|
Joined: Oct 2004
Posts: 493
WHURL
Senior Member
|
Senior Member
Joined: Oct 2004
Posts: 493
|
Quote:
maybe some blender users (i don't think there are many on this forum) find it useful.
I'll find it very useful indeed, ventilator. Thank you!
|
|
|
Re: blender mdl7 exporter
[Re: ventilator]
#38735
01/04/05 14:16
01/04/05 14:16
|
Joined: Sep 2003
Posts: 265 Coupeville,Wa,USA
Yu_Une
Member
|
Member
Joined: Sep 2003
Posts: 265
Coupeville,Wa,USA
|
Cool , you completed what I gave up on.
Windows Vista Ultimate AMD Phonomn III X2 Biostar T series TA790GX A3+ AMD Radeon HD 4830 in SLI mode 8Gb DDR2 ram
3D Game Studio Commercial upgrade Edition 6.60
Never give up on your dreams.
|
|
|
Re: blender mdl7 exporter
[Re: Yu_Une]
#38736
01/05/05 05:56
01/05/05 05:56
|
Joined: Jul 2002
Posts: 3,208 Germany
Error014
Expert
|
Expert
Joined: Jul 2002
Posts: 3,208
Germany
|
Thanks! This seems to be very useful And now let me pass the words of a very good modeller. Way better than me. I still have problems understanding the UI of Blender, but anyway, here are his words: In Antwort auf:
blender rockt! =)..THX A LOT. gone crazy on finding a way to do the job of this script. give blender a try- at least 1 or 2 weeks
Perhaps this post will get me points for originality at least.
Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
|
|
|
Re: blender mdl7 exporter
[Re: Error014]
#38737
01/05/05 21:57
01/05/05 21:57
|
Joined: Feb 2004
Posts: 477 Germany
jono
Senior Member
|
Senior Member
Joined: Feb 2004
Posts: 477
Germany
|
excellent. can't wait to try it out.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc
|
|
|
Re: blender mdl7 exporter
[Re: ventilator]
#38738
01/05/05 23:15
01/05/05 23:15
|
Joined: Jan 2004
Posts: 585 Alexandria, VA
Alkai
Developer
|
Developer
Joined: Jan 2004
Posts: 585
Alexandria, VA
|
Great job Vent! I'll mess around with it some.
Somebody at Blender REALLY needs to get the documentation done.
If you gaze long into an abyss, the abyss will gaze back into you.
3.0 GHz Pentium 4 w/HT
1 Gig 400mhz DDR SDRAM
128mb NVidia GeForce FX 5200
|
|
|
Re: blender mdl7 exporter
[Re: Alkai]
#38739
01/05/05 23:31
01/05/05 23:31
|
Joined: Feb 2004
Posts: 477 Germany
jono
Senior Member
|
Senior Member
Joined: Feb 2004
Posts: 477
Germany
|
when they ever finish the online docs, they won't sell the paperwork ;-)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc
|
|
|
Re: blender mdl7 exporter
[Re: Ambassador]
#38741
01/06/05 04:31
01/06/05 04:31
|
Joined: Feb 2004
Posts: 477 Germany
jono
Senior Member
|
Senior Member
Joined: Feb 2004
Posts: 477
Germany
|
hmm, little problem here exporting a textured 2k poly mesh I get this error:
vertex list generated... uv list generated... Traceback (most recent call last): File "<string>", line 105, in gui File "<string>", line 197, in export File "<string>", line 180, in get_triangles IndexError: list index out of range
However a simple polygon worked, so seems some object parameter is not healthy. Well, I will find out ;-)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc
|
|
|
|