Page 1 of 1

Mesh Files

Posted: Tue Aug 19, 2003 6:21 pm
by nci
How can I make Mesh Files without using expensive editors?
Or is it possible to create the objects in pure basic without using mesh
files?

Thanks

Posted: Tue Aug 19, 2003 6:57 pm
by Kale
Milkshape is only US $25 or EUR 25, not very expensive! :D

Or you can use code to create from scratch!

Code: Select all

Result = CreateMesh(#Mesh)

Description:
Creates a new empy #Mesh. SetMeshData() can be used to build a mesh from scratch by inserting the vertices, normals, uv textures and more. If the 'Result' is 0, the mesh creation has failed. If the #NewMesh was already created, it is automatically freed and replaced by the new one.

Supported OS:
Windows, Linux

Sure

Posted: Tue Aug 19, 2003 9:04 pm
by LJ
Sure it's possible to create .mesh files in Purebasic using data statements. Check out the .Mesh Editor toy I wrote. This simply changes the vertices, then exports out to hard coded data statements in a complete .pb file that runs independently of the .mesh editor program, but if you made it also change the faces and then gave it the option to add vertices and faces, you'd have a full fledged .mesh editor. And what's really cool about using data statements is that you can post your code in the message thread and everyone can get your .mesh creation without having to download seperate resources from a web hosting site, it's just all included right in your file in the data statements. But creating a .mesh editor that can make really nice models, now that would be very hard and time consuming.

Posted: Wed Aug 20, 2003 9:41 am
by hypervox
Blender (www.blender.org) can create 3d models, and there's a mesh exporter script for blender on the ogre website (ogre.sourceforge.net)