Ok, so obviously the terrain objects have their fair share of problems, but they have so much functionality that so many of us clearly love.
These are my problems. I've looked everywhere and have come across various threads, but not really any answers. I thought we could have a discussion here about how various people got around problems and bugs.
-Firstly - edit* You can have more than one terrain, however you can't delete them or replace them
I found that if you're not calling dbUpdateTerrain ( ) you can create terrain objects as much as you want (it builds the mesh oject), but that means it's probably not doing the optimization right? Calling the dbDeleteObject (int) must delete the mesh, however not the terrain data (causing crashes and not allowing another terrain to be loaded using that reference int). Does anyone know how to delete the actual terrain?
-dbSaveTerrain () doesn't actually work.
Apparently the load function does?
-dbSetupTerrain ( ) is missing from documentation
You need this to setup a terrain object.
-Deleting a terrain objects does seem to work, however that first terrain is the only terrain that can work with dbUpdateTerrain ( ). Trying to recreate the terrain or create a new ID causes errors.
Basically, once you make one terrain that's it? If you can't save to DBT initially then you can't load them so that's not a solution either.
I think the source of many problems is the dbUpdateTerrain ( ) function should be dbUpdateTerrain ( int terReference) so different terrains can operate as seperate terrain objects?
Is there any way I can fix this manually? Or can there be updates?
I'm going crazy
All I want to do is delete and replace a terrain once the program is running (which I assume anyone would need for a game that scrolls from one terrain to the next or has levels - which must be what... 98% of all games lol.)
If anyone else has had any problems with terrain or has any answers to my problems PLEASE post them here ^^ Cheers!