Plaing a grass-mesh on the map

Blitz3D Forums/Blitz3D Programming/Plaing a grass-mesh on the map

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.

Here is an example with sprites:
texture=LoadTexture("Grass01.png",51)
For a=0 To 1023
	rot1=Rnd(0,360)
	rot2=Rnd(0,360)
	rot3=Rnd(0,40)
	radius=Sqr(Rnd(0,10000))
	For b=0 To 1
		sprite=CreateSprite()
		EntityTexture sprite,texture
		SpriteViewMode sprite,2
		PositionEntity sprite,Sin(rot1)*radius,10*Cos(rot3),Cos(rot1)*radius
		RotateEntity sprite,rot3-2*b*rot3,rot2+b*180,0
		ScaleSprite sprite,10,10
	Next
Next
I doubt that you can cover an entire map in that tight grass without a workaround, let's see, some system for doing this effect was around this forum a short while ago.