Hi there,
I'm new to B3D so please bear with me. :)
I created a b3d file using Quill3D but I can't seem to load it in my Blitz3d program.
Here is a snippet of my code:
The error I get is "Entity does not exist" on the 'entitytexture' line. when I try and access b1. If I rem out the LoadMesh line, and use the CreateCube line, everything works great!
I also have rem'd out the entity texture line and it crashes on the positionentity line. The debug value of b1 is 0. If I use the createcube then the value of b1 is a large value.
I have the b3d file, as well as the texture in the same media directory, but I just can't get it to work.
I also find it strange that none of the sample programs included in Blitz3D use any b3d files. They all use X and 3DS files. I would have thought that there should be at least 1 example that used the B3D file format!
There must be something I am missing. Need help!
Cheers,
Lucky Phil.
I'm new to B3D so please bear with me. :)
I created a b3d file using Quill3D but I can't seem to load it in my Blitz3d program.
Here is a snippet of my code:
b1 = LoadMesh("media\buildling1.b3d") ;b1 = CreateCube() b1_tex = LoadTexture("media\building1.jpg"); EntityTexture b1, b1_tex PositionEntity b1,5,1,5
The error I get is "Entity does not exist" on the 'entitytexture' line. when I try and access b1. If I rem out the LoadMesh line, and use the CreateCube line, everything works great!
I also have rem'd out the entity texture line and it crashes on the positionentity line. The debug value of b1 is 0. If I use the createcube then the value of b1 is a large value.
I have the b3d file, as well as the texture in the same media directory, but I just can't get it to work.
I also find it strange that none of the sample programs included in Blitz3D use any b3d files. They all use X and 3DS files. I would have thought that there should be at least 1 example that used the B3D file format!
There must be something I am missing. Need help!
Cheers,
Lucky Phil.