Terrain3D (Improved)
Posted: 2019-09-08
By: jrobert
Viewed: 182
Filed Under:
Title | Uploaded | Size |
---|---|---|
Terrain3DImproved.zip | 9/8/2019 10:23:00 AM | 3,749 |
Improved is the ability to rotate and move the viewing position without any flickering.
This is done by adding a back-buffer routine. Also improved is the ability to select the terrain resolution size at run-time. Also, the back-buffering can be turned on and off at run-time.
Here's the original authors description:
Render a 3D random terrain with gradient colors and water level, rotate and move the viewing position by moving the mouse with left or right button. The example shows how to convert 3D space coordinates to 2D screen coordinates
Special Instructions
This code originally appeared on AndreaVB.com, and has been republished here with the permission of Andrea Tincani.
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.