ALE - .b3d export - how to show terrain in blitz3d

Blitz3D Forums/Blitz3D Beginners Area/ALE - .b3d export - how to show terrain in blitz3d

ss(Posted 2007) [#1]
hi,

brand new with blitz3d and struggling with things. I used ALE to generate a terrain and exported to b3d. Now, I have texture jpg's, and a .b3d file.

Anyone have some simple code to load this into blitz3d so I have an example?

thanks.


H&K(Posted 2007) [#2]
Sorry incorect post, my mistake


ss(Posted 2007) [#3]
oh damn, got me all excited seeing a response. :)


b32(Posted 2007) [#4]
I don't know ALE, but maybe you could use the "LoadMesh" example. Type LoadMesh in the editor and press F1 twice. Then, click on the word "Example" above the example code. The example program opens, you can save it in the same folder as your .b3d file, and replace the mesh filename (after LoadMesh) with the name of your .b3d file.
If it remains untextured, use:
tex = LoadTexture("texturename.jpg")
EntityTexture drum, tex

Where "texturename.jpg" is the name of your texture. The texture should be in the same folder, too.


stayne(Posted 2007) [#5]
Doesn't ALE come with a loader? If it does, use include to run it in your code.


ss(Posted 2007) [#6]
nope, launcher is an exe. no biggie, I'll just take time and figureit out.