How I add water to terrain?

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
invernomuto
Posts: 2
Joined: Sun Aug 29, 2010 9:47 am

How I add water to terrain?

Post by invernomuto »

Hi to all,
I am playing with Irrlicht. I am a beginner with 3D Engines, so I am trying to follow tutorials and trying to understand how Irrlicht works.
I have created a heightmap (with L3DT), exported to BMP (256x256 pixels) and rendered it in Irrlicht with scene::ITerrainSceneNode, adding the textures.
The result is is not smooth, the terrain seems composed by "blocks" like a LEGO one :)
Moreover, how do I add water to this terrain? Should I add a plane mesh with a water texture applied on it?
Is there a complete "world building tutorial" for Irricht?
Thanks in advance.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Please *do read* the tutorials/examples in the SDK first. There's one about terrain generation, which also explains the smoothing factor (example 12). And there's example 8, which shows to to generate the water plane. There are also more advanced water techniques available on the forum, if you need highly realistic water surface.
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Check out the water demo in my XEffects package: http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=30631
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Post Reply