MeshY like TerrainY?

Blitz3D Forums/Blitz3D Programming/MeshY like TerrainY?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You could perform a step when the game loads, or outside of the game and store it as a data file, where the program performs a bunch of linepicks at regular intervals to create a grid array of heights, like a heightmap. Then you could interpolate between grid points to calculate the height of the mesh at any point. As long as you use a fine enough resolution of your grid it would work, and should be almost as fast as terrainy - which is really just a calculation based on the heightmap in a similar fashion.