How do you save as 3D mesh file?

Blitz3D Forums/Blitz3D Beginners Area/How do you save as 3D mesh file?

fdfederation(Posted 2011) [#1]
What is required in a code to be able to save it as a 3D mesh file? (Saving a .bb code as a .x file) I was using Blitz3D to create rotating planets with rotating clouds and I would like to save them as 3D model files because it seemed easier than to learn how to animate them in 3D modeling software.


Yasha(Posted 2011) [#2]
This thread has a bunch of links:

http://www.blitzbasic.com/Community/posts.php?topic=66815

Haven't tried any of them myself. There might be a few more in the code archives.

Anyway, the general-purpose answer to your question is that the Blitz3D engine doesn't provide a "SaveMesh" function: it has to be written out using generic file operations. So all of the above solutions will be include-able functions.


fdfederation(Posted 2011) [#3]
Oh. Thank you.


Zethrax(Posted 2011) [#4]
Have a look through the code archives. There's a few routines there to save 3D models in various formats.


Blitzplotter(Posted 2011) [#5]
This is useful, I've stumbled over grasping the aspects of this in the past & will use this for reference, cheers.