DeleD DMFLoader for Irrlicht

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

DeleD DMFLoader for Irrlicht

Post by ilbuzzo »

Hi All,
I'm really new in Irrlicht but owing to the fact that I use DeleD http://www.delgine.com I've created a little DMFLoader to load DeleD lightmapped levels.
Give a look to the following shot:
Image

You can download a beta preview of file loader at the following address:
http://www.ilbuzzo.net/downloads/DMFLoader.zip

I'm currently write a little documentation to class loader so I'll release it to the public in few days.
Bye :D
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

looks interesting ilbuzzo!

thnx for the work. So it loads the dmf directly? Does it load lightmaps?

Jeroen (deled's developer) is also looking in the forums about Murphy's MIM format. It would be great if deled supported Irrlicht expòrt via MIM!!

:D

ps. Any source vailable? Or your exe could output a loader via a cpp and a header file, with the dmf we loaded.
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi,
I've released just now my CDMFLoader class with some support libraries.
(I was refining the code and removing unuseful TODOs ;))
You can download at:
http://www.ilbuzzo.net/downloads/DMFLoaderSDK.zip
This package contains the following files:
-CDMFLoader.h : CDMFLoader definition
-CDMFLoader.cpp : CDMFLoader implementation
-main.cpp : A short sample of usage (DMFLoader)
-example.dev : A DevCpp sample project file
-readme.txt : Some infos
-DMFLoader.chm : A little documentation
Yes Irrlicht loads DeleD lightmap. Note that this loader automatically flips textures and lightmaps but with version 1.1 this will be removed cause Delgine team has corrected this issue.
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

I've got no data loaded with DMFLoader.exe.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi,
Could you be a little more precise. You must have a file generated with DeleD 0.91 version or superior, if not, loader won't load nothing.
Anyway have you placed all needed textures (including lightmaps) in the same directory of your dmf? To have an idea give a look to dmf file in a text editor and in the first lines you'll see version and materials. So let me know.
;) bye.
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi All,
I've updated DMFLoaderSDK.zip, so now DeleD 1.1 files (flipping troubles fixed) are correctly loaded just like older ones.
You can download the archive at:

http://www.ilbuzzo.net/downloads/DMFLoaderSDK.zip

Note that DMFLoader.exe is not updated owing to the fact that you can build yourself with DMFLoaderSDK (main.cpp included) and Irrlicht 0.8.

Bye :D
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

Wow I've used deled 086. Will download new version.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

heheh, Captor, you're abit outdated! Deled already became pro, and they still produce the lite version with lower res lightmaps.
:wink:

but another common problem with deled is that it starts in huge units by default, so perhaps the fact that you're not seeing anything is because you got a gigantic level, so you're inside of it, watching flipped faces and the gray of the constructor.

check the scale and game units.
:D

@ilbuzzo: thnx for th eloader class, gonna try it immediately
etcaptor
Posts: 871
Joined: Fri Apr 09, 2004 10:32 pm
Location: Valhalla
Contact:

Post by etcaptor »

That is because can not choice the best editor :lol:

Hehe this loader works! I've tryed only exe file at now.
@ilbuzzo, thanks for that. We will waiting for news from your work.
ImageImage
Site development -Rock and metal online
--- etcaptor.com ------freenetlife.com
Guest

Post by Guest »

Hi All,
I've right now updated DMFLoader.exe so you can now load with no problems DeleD 1.1 files too.
So in the end you can download:

CDMFLoader class with help and tutorial (44KB) here:
http://www.ilbuzzo.net/downloads/DMFLoaderSDK.zip

DMFLoader.exe with all needed dlls (1447KB) here:
http://www.ilbuzzo.net/downloads/DMFLoader.zip

Now I'm going to optimize a little more the code for the next release (you can add and use dynamic lights from DeleD).
I you have any ideas to implement please let me know
Bye :D
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Sorry,
the guest was me :D !!!
funjobie
Posts: 5
Joined: Tue Mar 08, 2005 5:16 am

Post by funjobie »

wow this loader works fine, it loaded all lights the way i wanted :)


one question: in deled you can give names and tags to brushes
is it possible to find out the name of a mesh in irrlicht, like a big select case part which returns the coords of a mesh if it has a name you entered in a list(like door)?
ilbuzzo
Posts: 71
Joined: Sat Mar 05, 2005 4:00 pm
Location: Italy

Post by ilbuzzo »

Hi guys,
I'm implementing just now dynamic lights ;)!
@funjobie I know you can assign tags in DeleD, and I'm valutating a way to export them in Irrlicht.
For the moment you load just all scene like a whole object with a MeshBuffer for each material and without materials.
Bye ;)
Guest

Post by Guest »

Hello;

Just tried your loader demo. Using Windows 2000 and a test cube
exported from DeleD 1.1, the cube will only display using the
software mode. No Directx or Opengl. Have not had time to
look at your SDK code yet, but will post more information when
I have a chance to look at the code.
metalseb
Posts: 15
Joined: Tue Mar 01, 2005 8:50 am
Location: Lille - France
Contact:

Post by metalseb »

Well, nice work :D

Since the release of the loader, it was a real pain to :

1- Edit the map with DeleD
2- Export it to .X
3- Load up the exported .X in LithUnwrap
4- Save it as uncompressed text to be able to load the map with Irrlicht.

This small and beautiful class will greatly improve workflow and productivity :P
Post Reply