Trees and grass

Blitz3D Forums/Blitz3D Programming/Trees and grass

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'd say you make a grayscale grass map (there was a recent forum post about that at http://www.blitzbasic.com/Community/posts.php?topic=35433) and create the vertices for the grass (I would highly recomend using a single surface system for something like this). You would use TerrainHeight(terrain,x,z) to find the bottom vertex's Y position.

[edit]You could still use a variation of this idea, but unless you are totally insane or have an amazing occlusion system planned out, I highly recommend using sprites for this. [/edit]