Creating Models

Blitz3D Forums/Blitz3D Beginners Area/Creating Models

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'm creating a modeler, and I need help making it create stuff.(boxes,spheres,etc.)

here's my code so far,(I just started it):

Graphics3D 640,480
SetBuffer BackBuffer()

cam=CreateCamera()
PositionEntity cam,0,3,-3

While Not KeyHit(1)

If MouseHit(1)
box=CreateCube()
PositionEntity box,MouseXSpeed,MouseYSpeed,MouseZSpeed
ScaleEntity box,MouseXSpeed,MouseYSpeed,MouseZSpeed
EndIf

CaptureWorld
RenderWorld
UpdateWorld
Flip
Wend
End