[go: up one dir, main page]

Menu

Code Commit Log


Commit Date  
[r9889] by klaussfreire

Rewrote obj->bfxm procedure.
It now handles propperly blender exported files. Issues fixed:
a) Blender .mtl files do not specify textures, rather, usemat %s is used in the .obj file (weird).
b) Blender does not group different materials together, causing really inefficient bfxm files to be generated. Now, whatever the input is, equal materials are grouped together into equal bfxm records.
c) Blender does a loussy job of optimizing vertex sharing between primitives. Added automatic vertex merger... one that doesn't trash smoothing groups
d) Due to c, now smoothing groups are preserved (big quality improvement)
e) Added MAP_KE command to .mtl parsing... made sense. I'm not sure it's standard, but this allows us to, using a text editor, have .obj and .mtl files that support all the features of bfxm. Except LODs, I guess. I would work on that, if it weren't because of the Ogre port which makes it a little... abstract (pointless).
f) Propperly handled mtllib commands. Now, the .mtl file doesn't need to have the same name as the .obj file. Rather, the "mtllib" command in the .obj file is used.
g) I think (I just think) that blender-exported files produced huge bfxms unnecesarily, due to the vertex buffer not being cleaned up after each record. Now they don't, because only used vertices are sent to the bfxm.

Caveats:
a) No strips or fans generated. I was going to create an automatic tri-strip, quad-strip and tri-fan generator, but again the Ogre port makes the issue abstract.
b) Forgot about points. Supposedly, a line of "f a/b/c" would define a point in space... I guess. That's not handled.

2005-10-11 12:50:59 Tree
[r9888] by hellcatv

spawn everywhere

2005-10-10 05:50:58 Tree
[r9887] by balloyd1

Modified to handle pointers that are not the same size as an int.

2005-10-10 02:18:32 Tree
[r9886] by balloyd1

Updated UNIX build system to give more feedback to the user in case
the m4scripts directory does not exist (or was not used).
Fixed bootstrap-sh so that it quits after the first program that has an error
quits.

2005-10-09 19:57:16 Tree
[r9885] by roguestar191

Addedd support for multiple command processors ;)

2005-10-09 16:13:32 Tree
[r9884] by balloyd1

Added simple check for m4scripts directory parameter usage.

2005-10-09 03:42:49 Tree
[r9883] by balloyd1

Continuing clean-up of Unix Build system

2005-10-08 08:49:08 Tree
[r9882] by balloyd1

Autoconf based build system enhancements.
Added --enable-nogtk.
Made GTK an optional dependency. Disables vslauncher building if not found.
Added new-line to the end of several files.
Removed recurse into some directories.

2005-10-08 04:13:13 Tree
[r9881] by dandandaman

Updating to a refactored, and more complete version. Primarily for backup purposes, but starting to become useable.

2005-10-07 13:07:15 Tree
[r9880] by hellcatv

added new files...and undef'd stuff in os x 10.2

2005-10-05 20:50:12 Tree
Older >