Or more specifically, how can I find and use ModelTool to get my .obj files into the .bzw format.
Thanks!
-K
Using .obj files in a map
Using .obj files in a map
I can get a positive score; I just choose not to.
Re: Using .obj files in a map
"Anyone who has never made a mistake has never tried anything new." -- Albert Einstein
GU League | Ducati League | OpenLeague
GU League | Ducati League | OpenLeague
- big_daddy2
- Private First Class
- Posts: 131
- Joined: Sat May 06, 2006 1:06 am
- Location: the middle of nowhere, USA
Re: Using .obj files in a map
the problem is with a .obj file it uses 3 vertices instead of bzflag's usual 4, thus creating the created mesh to become oddly shaped and some faces are on one side and some on the other, once you acctualy have the .obj in mesh format you pretty much have to reverse every face in the vertices, i have yet to find a better way to do this but i dont care much anymore, i make my own stuff
Re: Using .obj files in a map
This actually depends on your modeler. A bzflag mesh face can use more then 3 verts, and model tool supports OBJ faces with more then 3 (OBJ supports N as well). Some modelers don't check to see that all the verts in a face are planar, so you may see problems if they are not. Some modelers also don't care about face order, or surface normals, this too can have problems if the OBJ file does not conform to the method bzflag uses.big_daddy2 wrote:the problem is with a .obj file it uses 3 vertices instead of bzflag's usual 4, thus creating the created mesh to become oddly shaped and some faces are on one side and some on the other, once you acctualy have the .obj in mesh format you pretty much have to reverse every face in the vertices, i have yet to find a better way to do this but i dont care much anymore, i make my own stuff
If you are using a 3d modeler to make meshes, it is a good thing to understand what you are doing, and what type of mesh your modeler generates.
When you define a mesh, you define ALL aspects of the object, unlike when you use a box or pyramid.
JeffM