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???
3D Images on Terrain?
Re: 3D Images on Terrain?
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.
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
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 386
- Joined: Sun May 11, 2014 12:13 am
Re: 3D Images on Terrain?
But how do I do it? I'm fairly new to Irrlicht