Terrain support

Started by KyroMaster, August 29, 2007, 02:00:42 AM

Previous topic - Next topic

KyroMaster

I really like the feature list of jpct, especially because it's not a wrapper around an existing c++-engine (with all of its problems). The project I want to work on needs terrain support. I saw that terrain is managed in the example just by loading a .3ds file. Is there support for terrain based on heightmaps, perhaps even with automatic LOD or culling? Most other 3D engines have this, and jpct seems to have all the great features except this one. Or did I miss something? :o

EgonOlsen

You can use octrees on terrains (as well as on other meshes) to optimize culling. There is no build-in method to create a mesh from a height map but it shouldn't be too hard to do it yourself (others here have already done it IIRC). In fact, i don't consider stuff like this as belonging to the engine's core. It's solely part of the application's logic IMHO.