Post

 Resources 

Console


Direct3D Landscape Generator - Dan (3 replies, 2204 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.


-
Back to News

Re: Direct3D Landscape Generator -  Spodi (0 replies) (2004-Apr-28)
Pretty freaking sweet if ya ask me.
  Close
Re: Direct3D Landscape Generator -  Sr. Guapo (0 replies) (2004-Apr-30)
That's really cool. Question, how do you make the sample textures/bitmaps. do you have to do it by hand or what.
  Close
Re: Direct3D Landscape Generator -  Dan (0 replies) (2004-May-1)
The images are 256 greyscale bitmaps that can be any size upto 181 pixels square. The bitmap is used as a height map - pure white representing the highest point and black the lowest - anything in between is set according to the weight applied.
  Close

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 158 visitors within the last 20 minutes
RSS News Feed