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!
terrain and water surface are not supported in irrEdit
Re: terrain and water surface are not supported in irrEdit
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).
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: terrain and water surface are not supported in irrEdit
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
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
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames