How are you guys loading models (aka Just Shoot Me

BlitzMax Forums/BlitzMax Beginners Area/How are you guys loading models (aka Just Shoot Me

Chroma(Posted 2005) [#1]
Ok I see a lot of people doing normal stuff in BMax like we did in Blitz3D. How are you guys loading models, terrains, and controlling the camera.

1. Is there a standardized .3ds or .b3d model loader that everyone is using?

2. How do I access and control the camera?

I can put a triangle on the screen and color each vertice a different color but that isn't very fun lol.

Please don't be harsh... :p


Chris C(Posted 2005) [#2]
theres a milkshape loader in one of the nehe examples in
the showcase, theres also a 3ds loader floating about
that birdie did I think...


deps(Posted 2005) [#3]
1) Dunno, but there is a MD2 loader in the codearchive.
2) By using glRotate/glTranslate or gluLookAt under OpenGL. I have no idea what to do under DirectX. But here is my camera type:

Quite big and ugly and nowhere near perfection, but it works for me.
Local cam:Tcamera = Tcamera.create()
cam.Place( 20,20,20 )
cam.LookAt( 20,0,-20 )
while mainloop
    cam.LookAt( l1.x_pos,l1.y_pos,l1.z_pos )
    cam.Render()
wend



Chroma(Posted 2005) [#4]
Noooooo!! lol

I'll have a crack at making a camera system that imitates the camera in Blitz3D and adding it to the archives.