MiniB3D

Blitz3D Forums/Blitz3D Programming/MiniB3D

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 prefer the usual convention that Y+ is up.

Import sidesign.minib3d

Graphics3D 1024, 768, 32, 2

chess = CreateCube()
ScaleEntity chess, 1, 0.01, 1

cam = CreateCamera()
PositionEntity cam, 0, 5, -15
camerazoom cam, 8

piv = CreatePivot()
EntityParent cam, piv
PointEntity cam, chess

Repeat

	rotateentity piv, 0, ang, 0
	ang = (ang + 1) Mod 360
	
	RenderWorld
	Flip

Until KeyHit(key_escape)