Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Blender directx export

Author
Message
darkgame
18
Years of Service
User Offline
Joined: 16th Aug 2006
Location: Dorset, UK
Posted: 24th Jan 2008 13:42
Hi I have a little door animation that I am trying to export to DBPro just to test how the exporter works (So I know how to set up my objects in the future) unfortunately it is not going as well as I had hoped and I am not stuck and cant understand why my object is not exporting properly. It looks perfect in blender.

I have attached a zip with all the file.

I would really appreciate it if someone could show me where I am going wrong with the export.

Attachments

Login to view attachments
Opus
19
Years of Service
User Offline
Joined: 10th Jan 2005
Location:
Posted: 24th Jan 2008 16:18
Darkgame, about six posts below yours is a top post titled "Some help for people who use Blender" and I think it might have some useful information for you. I am also using Blender and I agree that we can all use some help in getting Blender and DBPro to work together.

Eternal student in search of knowledge. But will settle for the occasional epiphany.
darkgame
18
Years of Service
User Offline
Joined: 16th Aug 2006
Location: Dorset, UK
Posted: 24th Jan 2008 16:34
Hi Opus

Thanks for the reply.

I have read the other post and followed them but they just don't work and I agree that quite a lot of people would be using blender with DBPro.

My problem is that I have tried all combinations of exporting my object but when I get it into DBPro the only part of the object is animated and the other half ether dose not move or is in totally the wrong place and has this really odd animation that I did not animate.

The video enplanes what I am trying to do and I have included the .blend file with DBPro code.
hessiess
17
Years of Service
User Offline
Joined: 30th Mar 2007
Location: pc!
Posted: 24th Jan 2008 17:39
select everything and hit ctrl+a. if you are using a armature do not use the armature modifier, parent the mesh instead.

darkgame
18
Years of Service
User Offline
Joined: 16th Aug 2006
Location: Dorset, UK
Posted: 24th Jan 2008 18:07
Tried Selecting everything and ctrl-a and that dose not work ether.
David C
16
Years of Service
User Offline
Joined: 7th Jan 2008
Location:
Posted: 24th Jan 2008 21:34 Edited at: 24th Jan 2008 21:38
This is addressed in a sticky topic

Quote: "Hey guys, After much trial and error I discovered how to export models, animation, and textures from Blender 2.42 to Dbpro.

In actual fact its amazingly simple. With 2.42 comes an exporter in the file>export> menu labled(yep you guessed it!!) Direct x(.x).

To export the animated file, all you need to do is split the screen by hilighting one of the margins and choosing "split view", then, with two 3d views, select the direct x exporter. Select "anim" and "swap y-z" i think it is, and left handed should already be selected. Also select "recalc. Normals" in the section beneath. After doing that, click "export all" and the rest is simple.

Thats how I do it and i'm amazed that it works!!

If everyone already knew this...well...arg. I feel stupid then. But if its been helpful, please comment

Regards,
Greenlig
"


Best of luck,
David

Aftermath Games
hessiess
17
Years of Service
User Offline
Joined: 30th Mar 2007
Location: pc!
Posted: 24th Jan 2008 22:14 Edited at: 24th Jan 2008 22:23
make sure everything has at lest 1 keyframe

edit: the attached file should work, tested in irrlicht.

Attachments

Login to view attachments
darkgame
18
Years of Service
User Offline
Joined: 16th Aug 2006
Location: Dorset, UK
Posted: 24th Jan 2008 22:27
How do I freeze that animation so that every object has a key on every frame also I think the object centers need to be at the origin but I may be wrong about that. I have run out of idea about what to do. If I can't get objects to work in DarkBasic I may have to get another engine like Blitz3d coz I cant afford a new 3d app. But I have invested a lot in DB and I love DarkShade.
darkgame
18
Years of Service
User Offline
Joined: 16th Aug 2006
Location: Dorset, UK
Posted: 25th Jan 2008 01:01
I have also tried to export a 3ds file and my program crashes. I dont really care what file format I use I just want it to work. I dont remember having these problems on XP.
Opus
19
Years of Service
User Offline
Joined: 10th Jan 2005
Location:
Posted: 27th Jan 2008 16:51
I have no idea if this applies to your difficulty or not but I just came across this piece of advice in a Blender tutorial regarding importing and exporting files:

Quote: "Packing Data

If you plan to open this file on other computers, you will need to select the “Pack Data” option in the file menu. Textures and sounds are not automatically included in your Blender file in order to
keep the file size down.

Every time your file opens, it looks for the textures and
sounds and places them into your model. If it can’t find the files, you won’t have any textures and sounds. If you pack data,
those files are included with the .blend file so they can be opened anywhere,however, your file size may explode.

When data is packed, a small package shows up on the top of your screen letting you know that the file is packed. You can also
unpack data to bring the file size back down."


I DO NOT know if this Pack Data option is supposed to be used when converting Blender files to .x or .3ds before exporting them, but I thought it might be a good idea to mention it.

Eternal student in search of knowledge. But will settle for the occasional epiphany.

Login to post a reply

Server time is: 2024-11-26 00:38:23
Your offset time is: 2024-11-26 00:38:23