Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TedMar, dr_panther), 1,049 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 6 1 2 3 4 5 6
blender mdl7 exporter #38732
01/03/05 14:43
01/03/05 14:43
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline 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] #38733
01/03/05 16:16
01/03/05 16:16
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
It'll probably come in handy one day. I've been studying Blender and it's not bad once you get used to the UI. The quickstarts at Blender3d.org are a good start. It's actually a very powerful app and you can't beat the price.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: blender mdl7 exporter [Re: ventilator] #38734
01/03/05 22:17
01/03/05 22:17
Joined: Oct 2004
Posts: 493
W
WHURL Offline
Senior Member
WHURL  Offline
Senior Member
W

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!


So Many Toys... So Little Time. A place to lurk while you work > irc://irc.webchat.org/3DGS
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
Y
Yu_Une Offline
Member
Yu_Une  Offline
Member
Y

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 Offline
Expert
Error014  Offline
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 Offline
Senior Member
jono  Offline
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 Offline
Developer
Alkai  Offline
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 Offline
Senior Member
jono  Offline
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: jono] #38740
01/06/05 01:37
01/06/05 01:37
Joined: Jul 2004
Posts: 1,924
Finland
Ambassador Offline
Serious User
Ambassador  Offline
Serious User

Joined: Jul 2004
Posts: 1,924
Finland
Good work! This will be in heavy use at my place

Thanks!

Re: blender mdl7 exporter [Re: Ambassador] #38741
01/06/05 04:31
01/06/05 04:31
Joined: Feb 2004
Posts: 477
Germany
jono Offline
Senior Member
jono  Offline
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
Page 1 of 6 1 2 3 4 5 6

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | 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