www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: KyroMaster on August 29, 2007, 02:00:42 am

Title: Terrain support
Post by: KyroMaster on August 29, 2007, 02:00:42 am
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
Title: Re: Terrain support
Post by: EgonOlsen on August 29, 2007, 05:38:57 pm
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.