Since your using b3d, maybe you could use a texture instead:
Graphics3D 800, 600, 0, 2 SetBuffer BackBuffer() tex = CreateTexture(256, 256, 1, 8) Rect 0, 0, 256, 256 For i = 0 To 20 x1 = Rand(256) y1 = Rand(256) x2 = Rand(256) y2 = Rand(256) Color 0, 0, Rand($FFFFFF) Line x1, y1, x2, y2 Next CopyRect 0, 0, 256, 256, 0, 0, BackBuffer(), TextureBuffer(tex) camera = CreateCamera() MoveEntity camera, 0, 0, -2 cube = CreateCube() ScaleEntity cube, 1, 1, 0.01 EntityTexture cube, tex Repeat RotateEntity cube, 0, 0, MilliSecs() / 10.0 RenderWorld() Flip 0 Until KeyHit(1) End