Complete Level File
Complete Level File
Hi, I'm very new to this and have tried googling the question but:
Is there a pre-exiting format/system to save a "level" or "area" that can record and then subsequently load into the scene manager. Should be able to load up buildings, terrain, placement of models, lighting etc. Or is there a better way of doing this?
I've seen the quake level format, is this the way to do it, or is there a better way? Looking for an expandable solution.
Thanks in advance, Will.
Is there a pre-exiting format/system to save a "level" or "area" that can record and then subsequently load into the scene manager. Should be able to load up buildings, terrain, placement of models, lighting etc. Or is there a better way of doing this?
I've seen the quake level format, is this the way to do it, or is there a better way? Looking for an expandable solution.
Thanks in advance, Will.
Re: Complete Level File
Irrlicht has a irrscene loader and writer.
Better example here:
http://irrlicht.sourceforge.net/docu/example015.html
You can build an entire scene with this editor:
http://www.ambiera.com/irredit/
Or just manually add them in the code and saveScene() to a file.
Code: Select all
//Load scene
smgr->loadScene("filename.irr");
// Save scene
smgr->saveScene("filename.irr");
http://irrlicht.sourceforge.net/docu/example015.html
You can build an entire scene with this editor:
http://www.ambiera.com/irredit/
Or just manually add them in the code and saveScene() to a file.
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Complete Level File
hehehe.... I would make the mesh in blender and just import it to place lights and particles (I don't think that irredit can be used to make stuff more advanced than primitives and terrain...)
"this is not the bottleneck you are looking for"
-
- Posts: 1215
- Joined: Tue Jan 09, 2007 7:03 pm
- Location: Leuven, Belgium
Re: Complete Level File
Maybe because irredit is a tool used for compositing scenes, and not for building geometry?aaammmsterdddam wrote:hehehe.... I would make the mesh in blender and just import it to place lights and particles (I don't think that irredit can be used to make stuff more advanced than primitives and terrain...)
Building an entire scene in blender and importing it as a single mesh is something you'll probably not want to do, better to build separate meshes in blender and then composite a scene using these meshes in irredit
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Complete Level File
well yes. but I still make all the mesh in blender (Separate files so I cane asily reuse the same mesh though )
"this is not the bottleneck you are looking for"
Re: Complete Level File
@aaammmsterdddam get yourself the irrblender 0.6 Blender plugin from pc0de's svn (Tubras game Engine) and you'll never need to use irrEdit again.
Its my preferred scene Editor, does it all, even more if you just tweak the script a little.
Its my preferred scene Editor, does it all, even more if you just tweak the script a little.
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Complete Level File
would it also export lights and particles? (Even if it wouldn't I could manually place those in irredit. or even better just hardcode their locations!)
"this is not the bottleneck you are looking for"
Re: Complete Level File
It exports anything! aaammmsterdddam... Anything!
Lights, Animations, Physics Userdata, skydomes skyboxes, volume lights water surfaces, custom node types, you can setup all irrlicht material(includes per-pixel parralax/bump) settings within irrblender,all textures, all lighting... The list goes on. Oh and animation paths and cut scene style animation user data. Its by all means the best Irrlicht scene editing method. Puts it all in one neat .irr file or even in a packed zip ready to load with the engine. It can also export things like meshes and nodes to irrlichts irrmesh or irrbinarymesh or irranimatedmesh format if you add the loaders and writers provided.
Lights, Animations, Physics Userdata, skydomes skyboxes, volume lights water surfaces, custom node types, you can setup all irrlicht material(includes per-pixel parralax/bump) settings within irrblender,all textures, all lighting... The list goes on. Oh and animation paths and cut scene style animation user data. Its by all means the best Irrlicht scene editing method. Puts it all in one neat .irr file or even in a packed zip ready to load with the engine. It can also export things like meshes and nodes to irrlichts irrmesh or irrbinarymesh or irranimatedmesh format if you add the loaders and writers provided.
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Complete Level File
**Jaw dropped four floors**
o.0
that is indeed VERY awesome.
thanks for the tip!
o.0
that is indeed VERY awesome.
thanks for the tip!
"this is not the bottleneck you are looking for"
Re: Complete Level File
ACE247:
Could you drop us a link to the irrblender 0.6 Blender plugin from pc0de's svn ???
Thanks.
Could you drop us a link to the irrblender 0.6 Blender plugin from pc0de's svn ???
Thanks.
code happens
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: Complete Level File
I'd have to agree with grumpy, I have been searching like a madman... I found IrrB 0.4
that's all I found.
that's all I found.
"this is not the bottleneck you are looking for"
Re: Complete Level File
Here you go, put this into irrlichts plugin directory and off you go.
http://code.google.com/p/tubras/source/ ... rrlicht.py
BUT GO TO THE LINK, do NOT just save the link, then copy out that code in the appropriately named file in your blender plugin directory. (For the Noobs)
And explore this directory more under tools, for extra stuff:
http://code.google.com/p/tubras/source/browse/
http://code.google.com/p/tubras/source/ ... rrlicht.py
BUT GO TO THE LINK, do NOT just save the link, then copy out that code in the appropriately named file in your blender plugin directory. (For the Noobs)
And explore this directory more under tools, for extra stuff:
http://code.google.com/p/tubras/source/browse/
Re: Complete Level File
There is a link on the page to view the raw file. Might need that as well.
Re: Complete Level File
You meant blender's plugin dir, didn't you?ACE247 wrote:Here you go, put this into irrlichts plugin directory and off you go.
http://code.google.com/p/tubras/source/ ... rrlicht.py
Working on game: Marrbles (Currently stopped).
Re: Complete Level File
yeah did... Oops
Must have been awake through the whole night
Must have been awake through the whole night