VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Direct3D Landscape Generator Dan (3 replies, 2205 views) (2004-Apr-28) If your able to understand principles simply by reading uncommented code, then you may find [url="http://www.freevbcode.com/ShowCode.asp?ID=1715"] this open source app [/url] useful for learning by.
The program accepts any bitmap up to 181 pixels in size and creates a 3D landscape from it which you can walk around in real time. It supports both hardware and software rendering. Demonstrates some basic collision detection, as the camera hovers just above the ground.
|