Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 19 1 2 3 18 19
export complete levels from blender #208440
05/27/08 13:01
05/27/08 13:01
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
export_gs_mdl7_static.py
export_gs_$$m.py

with those scripts you can export whole levels from blender. it is an early version which needs cleanup, fool proofing, a gui and support for some more entity and surface flags but it already works.

make your settings in export_gs_$$m.py here:
scale = 32
mapcompiler = "d:/wwmp2wmb.exe"
engine = "d:/acknex.exe"

all selected objects with a name which starts with "__" will be exported as mesh, the other selected objects will be exported as model.

features:
- it supports two uv-sets for models (but the engine doesn't load the second uv-set yet)
- it supports model instances
- it supports modifiers without having to apply them (so you can use the edgesplit modifier to achieve correct smoothing for example)
- it supports custom properties for skills, flags, action, material
- it supports point lights

notes:
- creating mipmaps for mesh textures is slow with python (you could use dds textures which already have mipmaps but the map compiler seems to have a problem with dds at the moment)

Re: export complete levels from blender [Re: ventilator] #208472
05/27/08 16:20
05/27/08 16:20
Joined: Mar 2005
Posts: 969
ch
Loopix Offline
User
Loopix  Offline
User

Joined: Mar 2005
Posts: 969
ch
Hey vent...what have you done again!!!
This sounds like a huge step foreward in leveling workflow...definately heaven for 3dgs-blendies.

With "instancing" do you mean a "__model" object wich is copied and pasted in a blender scene will only "produce" a single mdl?


Thanks for the great work...and definately keep working on it! You should get some money from conitec as this also makes 3dgs a lot more "leveler-friendly" thus first choice for many indies wink

For me this takes away the last psycho-gui-hurden...let's learn Blender now!!!

Re: export complete levels from blender [Re: Loopix] #208476
05/27/08 16:33
05/27/08 16:33
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
yes, instanced objects in blender (duplicated with alt-d) will produce only one mdl file.

level geometry (object names with "__") won't use instancing of course since all level geometry is unique. (maybe i will think of a better solution than using "__" for specifying level geometry in the future.)

i think there isn't much missing now to make blender a full alternative to wed.



Re: export complete levels from blender [Re: ventilator] #208481
05/27/08 16:58
05/27/08 16:58
Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
C
Christian__A Offline
User
Christian__A  Offline
User
C

Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
Wow, great wink I definatly need to improve my blender skills.


MfG, Christian__A. Visit my Site: www.chris-a.de


Re: export complete levels from blender [Re: Christian__A] #208495
05/27/08 17:48
05/27/08 17:48
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
great, i started to learn Blender this week. This will make me more happy with it.


3333333333
Re: export complete levels from blender [Re: Quad] #208656
05/28/08 17:06
05/28/08 17:06
Joined: Jul 2002
Posts: 1,364
Minbar
M
MaxF Offline
Serious User
MaxF  Offline
Serious User
M

Joined: Jul 2002
Posts: 1,364
Minbar
Hi ventilator

Do you what to build the same for Modo? They use Python and have a SDK for import/export smile

Do you have Modo?


Re: export complete levels from blender [Re: MaxF] #209067
05/31/08 19:03
05/31/08 19:03
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
the same could be done for modo but it would be more effort. blender's python api is more powerful than modo's. i would have to write a lot of code for things that can be done with a few lines in blender. and it seems like there aren't that many modo users here so it wouldn't be really worth it i think. someone would have to pay me. :p

Re: export complete levels from blender [Re: ventilator] #209104
06/01/08 01:42
06/01/08 01:42
Joined: Mar 2003
Posts: 3,010
analysis paralysis
NITRO777 Offline
Expert
NITRO777  Offline
Expert

Joined: Mar 2003
Posts: 3,010
analysis paralysis
wow! excellent job. I dont use Blender but thats an awesome contribution for people who do.

Re: export complete levels from blender [Re: NITRO777] #209113
06/01/08 04:23
06/01/08 04:23
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
it would be great if duplicated objects, could all be saved as 1 mdl file that would be placed around the wmp.

Re: export complete levels from blender [Re: lostclimate] #209125
06/01/08 07:15
06/01/08 07:15
Joined: May 2002
Posts: 7,441
ventilator Offline OP
Senior Expert
ventilator  Offline OP
Senior Expert

Joined: May 2002
Posts: 7,441
Originally Posted By: lostclimate
it would be great if duplicated objects, could all be saved as 1 mdl file that would be placed around the wmp.
yes, that's what instancing does. objects which are linked to the same mesh data (which happens if you duplicate an object with alt-d) and which don't use modifiers which alter the mesh shape will only produce one mdl file. doesn't it work for you?

Page 1 of 19 1 2 3 18 19

Moderated by  aztec, Blink, HeelX 

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