put cubes on a single surface?

Blitz3D Forums/Blitz3D Programming/put cubes on a single surface?

Does anyone know how I could put some cubes on a single surface?

mymesh=createmesh()
for i=1 to 100
cube=createcube()
addmesh cube,mymesh
freeentity cube
next


I don't think thats single surface. Thats multiple surfaces within a single surface.

Check out http://www.blitzbasic.com/codearcs/codearcs.php?code=978

It lets you add any kind of mesh to a *real* single surface, not just cubes. Er, not being funny but I suggest you check out the archives first next time.

Yeh, that code archive was by the legendary "Rob Cummings".

ok thanks

Addmesh makes one surface.