Engine3d Report

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
flood
User
User
Posts: 32
Joined: Sun Aug 14, 2011 10:32 pm

Engine3d Report

Post by flood »

I've begun using PB's 3d engine for a game I'm making and I've encountered some problems and missing functionality.

1) Terrain
  • Terrain loading: Although we have the ability to render large terrain, we don't have the ability to page it in and out of memory. This kinda makes it pointless since it requires a large amount of memory to load the terrain, regardless if the heightmap is split into tiles or not. A moderate sized world crashes during buildterrain() and smaller worlds take a long time to build, even with the built in cache files feature.
  • Composite Map: Distant terrain textures do not update with a change in lighting. In order to update them, the camera must be moved within range of the tile for it to update. My game has dynamic day-night cycles, which doesn't look right since the distant terrain doesn't change. It would be nice if there was a procedure to force an update of the composite map.
  • Heightmap: Instead of specifying a filename for the heightmap, it would be nice if we could load a heightmap from a texture and/or buffer.
Billboards
  • Depth Sorting: There seems to be a depth sorting issue with billboards, unless I'm missing something.. I tried using billboards for rendering a large number of plants and many of the distant ones render after the ones closer to the camera.
Skybox
  • Fog: Skyboxes are affected by fog, so they don't look right when fog is used. It causes the corners to be obvious.
  • Control: It would be nice if we had more control over them in general. Like being able to set the material on the fly
Water
  • Water doesn't support using 0 for camera far range. It causes the water to become glitchy.
  • It would be very nice if we had more control. Like dynamic wave height, response to ambient light, and collision detection with the surface.
I think the 3d engine is a little too high level. We're very limited as to what we can do with many of the built-in features.

My video card: Nvidia GTX 460

Thanks for all your hard work Fred and Comtois!