3D Images on 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
LunaRebirth
Posts: 386
Joined: Sun May 11, 2014 12:13 am

3D Images on Terrain?

Post by LunaRebirth »

Okay so what I'm trying to do is basically the same as multi-texturing a heightmap terrain.

BUT I want to be able to control the X and Y coordinants where the image is displayed onto the terrain.

It needs to actually map to the terrain, so like; I've got a pure white image on a pure green terrain. the image is smaller than the terrain, and I want to be able to move it around as it aligns with hills and other ground objects.

I know this is possible, so how do I do it???
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: 3D Images on Terrain?

Post by CuteAlien »

That looks nearly the same as your other question about roads....
You can move a texture around with the texture matrix. But if your problem is that you want many such smaller images then it is no longer such a trivial problem.
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
LunaRebirth
Posts: 386
Joined: Sun May 11, 2014 12:13 am

Re: 3D Images on Terrain?

Post by LunaRebirth »

But how do I do it? I'm fairly new to Irrlicht
Post Reply