3D race track from image

Blitz3D Forums/Blitz3D Programming/3D race track from image

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.

I would simply lock the texture then run a loop (x,y) and readpixelfast the heightmap.

If a pixel is not black then create a quad by adding verts and tris to a mesh, the position of which you can take directly from the loop variables.