ALE - .b3d export - how to show terrain in blitz3d
Blitz3D Forums/Blitz3D Beginners Area/ALE - .b3d export - how to show terrain in blitz3d
| ||
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. |
| ||
Sorry incorect post, my mistake |
| ||
oh damn, got me all excited seeing a response. :) |
| ||
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. |
| ||
Doesn't ALE come with a loader? If it does, use include to run it in your code. |
| ||
nope, launcher is an exe. no biggie, I'll just take time and figureit out. |