Links
AUM Magazine
Newest Posts
Wrench model, or convert ?
by chris_oat
5 minutes 54 seconds ago
is possible lite-C`struct contain any functions
by frankjiang
10 minutes 42 seconds ago
A8 Online Tutorial
by Tobias
Today at 10:41
[Unpaid]C-Script to Lite-C translator/Übersetzer
by alpha_strike
Today at 09:21
simple train interrior
by bodden
Today at 08:46
Latest Screens
Sea
Gravix
Secret Of The Sword - Castle Rooms
Level Design Contest Entry: DM Garages [+Download]
That Funny Ball v1.0
Who's Online
44 registered (chris_oat, Damocles_, Alan, DJBMASTER, Dazz, Abstracto, alpha_strike, bodden, 3dgs_snake, 8 invisible), 108 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
mahmoud, diddy, CereZ, fmmrhx, dc_domo
14932 Registered Users
Page 1 of 18 1 2 3 ... 17 18 >
Topic Options
Rate This Topic
#208440 - 05/27/08 15:01 export complete levels from blender *****
ventilator Online
Senior Expert

Registered: 05/01/02
Posts: 6775
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)

Top
#208472 - 05/27/08 18:20 Re: export complete levels from blender [Re: ventilator]
Loopix Offline
User

Registered: 03/27/05
Posts: 963
Loc: 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!!!

Top
#208476 - 05/27/08 18:33 Re: export complete levels from blender [Re: Loopix]
ventilator Online
Senior Expert

Registered: 05/01/02
Posts: 6775
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.


Top
#208481 - 05/27/08 18:58 Re: export complete levels from blender [Re: ventilator]
Christian__A Offline
User

Registered: 10/25/02
Posts: 799
Loc: Germany->Bavaria->Nuremberg
Wow, great wink I definatly need to improve my blender skills.
_________________________
MfG, Christian__A. Visit my Site: www.chris-a.de



Top
#208495 - 05/27/08 19:48 Re: export complete levels from blender [Re: Christian__A]
Quadraxas Offline
Expert

Registered: 10/27/07
Posts: 3930
Loc: Ankara, Turkiye
great, i started to learn Blender this week. This will make me more happy with it.
_________________________
weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Top
#208656 - 05/28/08 19:06 Re: export complete levels from blender [Re: Quadraxas]
MaxF Offline
Serious User

Registered: 07/19/02
Posts: 1363
Loc: 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?
_________________________

Top
#209067 - 05/31/08 21:03 Re: export complete levels from blender [Re: MaxF]
ventilator Online
Senior Expert

Registered: 05/01/02
Posts: 6775
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

Top
#209104 - 06/01/08 03:42 Re: export complete levels from blender [Re: ventilator]
NITRO777 Offline
Expert

Registered: 03/06/03
Posts: 2983
Loc: analysis paralysis
wow! excellent job. I dont use Blender but thats an awesome contribution for people who do.

Top
#209113 - 06/01/08 06:23 Re: export complete levels from blender [Re: NITRO777]
lostclimate Offline
Expert

Registered: 10/03/05
Posts: 3982
Loc: 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.
_________________________
___________________________


"uhm.. let him model with as many polys as he wants...

The only thing he needs to do is, to run a polycount-cutter after finishing the basic model..."
-esper //lol

Top
#209125 - 06/01/08 09:15 Re: export complete levels from blender [Re: lostclimate]
ventilator Online
Senior Expert

Registered: 05/01/02
Posts: 6775
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?

Top
Page 1 of 18 1 2 3 ... 17 18 >


Moderator:  aztec, Blink, HeelX 

lite-c | chip programmers | download | shop | resources | magazine | manual | support faq | wiki | bugs | beta features | forecast

Conitec Datasystems, Inc · 5000 Thorne Drive, Suite F · La Mesa, CA 91941 · Tel +1 (619) 462-0515 · Fax +1 (619) 462-0519 · info (at) 3dgamestudio.net