List of projects that use minib3d

BlitzMax Modules Forums/MiniB3D/List of projects that use 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'm just taking a cube. Rotating it 0,0,45. Then doing a TFormVector 0,1,0,cube,0. Then reading TFormedX#(), TFormedy#(), and TFormedZ#() and getting nothing valid.

If we can figure this out I'd be ecstatic. I wanna move my stuff to BMax very badly.

Also what's faster, TFormNormal or TFormVector? I'm gonna assume TFormNormal.

Here's some code:
Import sidesign.minib3d

Graphics3D 800,600,32,2

Local camera:TCamera = CreateCamera()
PositionEntity camera,0,0,-10
light:TLight = CreateLight()
RotateEntity light,45,-90,0

Local cube:TEntity = CreateCube()

RotateEntity cube,0,0,45

While Not KeyDown(KEY_ESCAPE)
Cls

TFormVector 0,1,0,cube,0

UpdateWorld
RenderWorld

Text 5,5,TFormedX#()
Text 5,20,TFormedY#()
Text 5,35,TFormedZ#()

Flip 0
Wend
EndGraphics
End