Directx limits?

Blitz3D Forums/Blitz3D Beginners Area/Directx limits?

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 to clarify:
Graphics3D 800,600,0,2

Local surf = CreateSurface(CreateMesh())

Local cam = CreateCamera()
MoveEntity cam,0,0,-100

Const num = 50
Local i,k
While Not KeyDown(1)
	For i = 1 To num
		k = AddVertex(surf,Rnd(-10,10),Rnd(-10,10),Rnd(-10,10))
		AddVertex(surf,Rnd(-10,10),Rnd(-10,10),Rnd(-10,10))
		AddVertex(surf,Rnd(-10,10),Rnd(-10,10),Rnd(-10,10))
		AddTriangle(surf,k,k+1,k+2)
	Next
	RenderWorld()
	Text 0,0,TrisRendered()
	Flip
Wend


change the number to different values to change how many triangles are created each loop.