World editor that works under linux

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
lisacvuk
Posts: 21
Joined: Thu Apr 17, 2014 4:50 pm

World editor that works under linux

Post by lisacvuk »

Hello,
I'm searching for an world editor that works under linux. I tried blender 3d and only problem is that I can't place enteries. Please give me some URL or something like that
tasulife
Posts: 20
Joined: Sat Sep 21, 2013 8:09 pm

Re: World editor that works under linux

Post by tasulife »

Did you mean "Entities"?

Irrlicht does not have an entity system, so you will need to an entity management system yourself.

I think a good "state of the art" entity system is the "component based entity system" which you can read about here:
http://cowboyprogramming.com/2007/01/05 ... -heirachy/
http://gamedev.stackexchange.com/questi ... chitecture

Irrlicht's role in the entity system would be:
1. Displaying things (obviously)
2. Managing mesh animations (check out scene node animator classes)

In irrlicht you will probably have a situation where you cast a ray, which will hit some mesh. In order to look up that mesh's entity object, you have to maintain a STD::MAP that uses the scene node as the key, and the entity as the value. This way you can shoot a bullet or something, strike a mesh, lookup the entity, then subtract HP (for example).

The final piece of the puzzle is actually for the question you asked: A world editor.
For that you want to use irrb 0.6 blender plugin. I wrote a tutorial how to install and use it in english here:
https://www.youtube.com/watch?v=zU5b9Mj-yeU

Irrb has a system where you can put arbitrary data on meshes in blender, and they are accessable in irrlicht. You will have to write code that looks for that data on the scene and then does something meaningful for it.

Don't get discouraged that you need to write all this stuff. Irrb and irrlcht are really the hardest bits when you make your game, you're really just glueing these libraries and data together to do whatever you want.
lisacvuk
Posts: 21
Joined: Thu Apr 17, 2014 4:50 pm

Re: World editor that works under linux

Post by lisacvuk »

Thanks! And yes I was thinking on enteries, sorry I'm not good at english. I was thinking about NetRadiant for interior maps and blender for everything else, so will it be possible to make a .BSP map and import it in irrlicht over .OBJ for example?
tasulife
Posts: 20
Joined: Sat Sep 21, 2013 8:09 pm

Re: World editor that works under linux

Post by tasulife »

Irrlicht should be able to load the bsp directly. Try the tutorial here:
http://irrlicht.sourceforge.net/forum/v ... hp?t=40201

you will have to do a lot of tools setup if you use netradient while Irrb and blender work with irrlicht "out of the box." And it does global illumination , and is actively maintained.
lisacvuk
Posts: 21
Joined: Thu Apr 17, 2014 4:50 pm

Re: World editor that works under linux

Post by lisacvuk »

I tried NetRadiant, problem is that textures are not in scale with the map. I think its not made for such big textures (512x512)
tasulife
Posts: 20
Joined: Sat Sep 21, 2013 8:09 pm

Re: World editor that works under linux

Post by tasulife »

Play around with the Irrb and blender for your levels. I strongly recommend it. You can bake lighting with blender so you will have very good looking levels. Blender+irrb also supports normal maps on levels and other things that quake 3 does not.
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: World editor that works under linux

Post by hendu »

FWIW, I have no issues using large textures and NetRadiant. "Not in scale with the map" isn't very descriptive.
Post Reply