terrain and water surface are not supported in irrEdit

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
KevinLuo
Posts: 23
Joined: Sat Apr 15, 2017 6:08 am

terrain and water surface are not supported in irrEdit

Post by KevinLuo »

Hi,
Recently I tried to build a scene by irrEdit. But when the scene is exported as a ".irr"
file, the terrain and the water surface I created in irrEdit were not supported by Irrlicht.

So I opened the .irr file by a text editor and found that the node type of the terrain and
water surface is "<node type="unsupported">". Then I changed the node type of the terrain
to "terrain" manually instead of "unsupported". Finally, the terrain could be loaded in the Irrlicht.
However, I don't know the proper node type of water surface.

I wrote to Coppercube about this issue yesterday, and the reply is "Sorry, we don't support".
Is it possible to manually correct the ".irr" file? It's gonna kill me if I create a scene all
by coding when there are 10 to create. Does anyone know the grammar of the .irr file?

Best Regards!
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: terrain and water surface are not supported in irrEdit

Post by CuteAlien »

It's "waterSurface" for water. As for the grammar you can only check the source. CSceneLoaderIrr.cpp for the scene format and CIrrMeshFileLoader.cpp for the mesh format. For nodes (and that's where I found the information abou the water) it uses the CDefaultSceneNodeFactory.

Thought I have no idea how well it works - or even if irrEdit still works with Irrlicht at all. Niko hasn't worked with Irrlicht for a long time by now and we can't check much what irrEdit does because it's closed source.

Alternative - write your own editor for your game. It's often not that hard (to give you an idea - I coded over a year on my racer back then, but the editor took less than 3 weeks of that time despite being the first thing I wrote and doing that while I was still learning to use the engine).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: terrain and water surface are not supported in irrEdit

Post by Brainsaw »

IrrEdit still works fine for Irrlicht. Instead of writing my own editor at the beginning of development (at the time when I don't know how fast I'll lose my motivation ;) ). I use IrrEdit a lot and it does the job for me. I always write plugins for my own scene nodes (e.g. with physics information) and it works fine.

But this time I have plans to write an own editor (if I don't lose motivation in the meantime .. still too much other work to do for the game)

Btw: I have even written a project manager for IrrEdit back then: http://www.bulletbyte.de/index.php?cont ... anager.php
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Post Reply