Using the .b3d File Format in Blitz 3-D

Blitz3D Forums/Blitz3D Beginners Area/Using the .b3d File Format in Blitz 3-D

W(Posted 2006) [#1]
Okay guys Im having trouble loading up .b3d files in my Blitz 3-D program, and this confuses me because this file-type is made specifically for blitz I thought? Anyways here's some of my code...

;-------------------------------------------------------
;demonstration
Graphics3D 800,600,32,1
SetBuffer BackBuffer()

gun = LoadMesh("C:\Documents and Settings\flacka\Desktop\Game\dgal.b3d")

While Not KeyDown(1)

TurnEntity gun,.05,0,0

UpdateWorld
RenderWorld

Flip

Wend
End
;---------------------------------------------


When I try to run this very simple program I get an error that tells me that the "entity does not exist" , the funny thing is that if I replace this .b3d model with a .3ds one it works just fine?? So why can't I use the .b3d file format that is made for Blitz 3-D????? The model is made in lightwave as well, we used the lightwave converter from Lee Page for the .b3d file.


jhocking(Posted 2006) [#2]
Post your model.


Ricky Smith(Posted 2006) [#3]
Make sure you are using at least version 1.74. The .b3d file format was introduced with this version. Previous versions do not support the .b3d format.


jhocking(Posted 2006) [#4]
Just to clarify, he means the version of Blitz3D you have installed. And yes, that's a very good point. Make sure to upgrade to the latest version of the software.


W(Posted 2006) [#5]
The version was it, .b3d is working now thanks guys...