PDA

View Full Version : How to read & render an object from a bitmap



snupinokyo
03-12-2003, 08:23 AM
Is it possible to read & render an object from a bitmap
as it is for a terrain? assumnig the object is stored inthe bitmap
thnx

nexusone
03-12-2003, 11:04 AM
There are some programs that can create a 3D image from a bitmap.

But in terms of terrains, it is done by creating a hight map. If you ever seen a releif type map, a hight map works kind of the same way. lower colors indication low area, higher brigther colors indicate hi areas.
The bitmap is read in and converted into a array of triangles to create a 3D surface.

This subject is be asked many times here, just search this forum and you will find information on creating them.


Originally posted by snupinokyo:
Is it possible to read & render an object from a bitmap
as it is for a terrain? assumnig the object is stored inthe bitmap
thnx