Hi!
i already posted something about this in the advanced section, but i thought this would be a more appropriate place to post this. I was wondering why in the terrainscenenode the loadHeightMap(string filename) is not a overload of a real loadHeightMap(Texture image), because the way it is used now it limits developers to not beeing able to transfer their own images to the terrainscenenode. As example i want to make some sort of terrain manager like irrSpintz does. All i want for now is to be able to split a texture into X parts and make each part a terrainSCeneNOde. Of course i can just save them to the disk and load those through a terrainSceneNode, but to be honest i think that's a rather idiot solution for something that can be so simple. All that has to be altered is:
I think if you make an overload to the loadHeightMap in which a heightmap is loaded by the scenenode itself.
LoadHeightMap(string heightmaplocationfile)
{
loadheightmap(irrdevice->getTexture(.........));
}
loadheightmap(texture heightmaptexture)
{
............ the whole heightmap load function
}
somethingf like that..
Isn't this something you guys can think about or break your head on?
Cheers!
ps. original topic: Terrain deviding