# EntityForge

EntityForge is a 3D graphical media display and manipulation tool.

It's intended for several uses:

• WYSIWYG (What You See Is What You Get) display of character models and animations in a game engine environment.
• Conversion of character models and animations to and from various formats and packaging styles, with emphasis on Cal3D.
• Limited model post-editing. (Material swaps, animation weighting, etc.)
• Object composition for packaging and distribution by artists and world developers.

What actually works:

• Load Cal3d model and animation sets and render in realtime, fully textured and in wireframe.
• Animation 'tryout', including blending weight adjustments for multiple simultaneous animations.
• Toggle rendering of individual meshes.
• Arbitrarily change material assignments for individual meshes.

EntityForge compiles for Linux and Windows on x86 machines. It uses OpenGL to render 3D graphics and Cal3D to render and animate models. A the current release 0.2.2 releases on the 20th of May 2006 can be downloaded from the WorldForge SourceForge page:

### Developer Details

EntityForge is part of the "forge" module in WorldForge CVS, in tools. The module contains the tool, its media, and sample cal3d media.

To build EntityForge in Windows you need:

• MinGW, specifically MinGW-3.1.0-1.exe, MSYS-1.0.10.exe, and msysDTK-1.0.1.exe from MinGW.
• GTK+ for Windows, Runtime and Development packages. Use the files available from Dropline, not Tor Lillquist's distribution.
• gtkmm for Windows, from Cedric Gustin. Do not install gtkmm in the default installation path, or any path with a space in the filename. pkg-config.exe fails miserably when it encounters paths with spaces. Varconf's configure script uses pkg-config to find libsigc++, which is packaged with gtkmm. If gtkmm is installed in a path with a space in the name, it fails.
• GtkGLExt for Windows, from SourceForge.
• GtkGLExtmm for Windows, from the same site.
• Cal3D, from SourceForge.
• Varconf, from Worldforge CVS in forge/libs/varconf.

To build Cal3D, use msys sh. Run autogen.sh, configure, make, and make install. Cal3D will be installed as a shared library into the msys virtual filesystem.

To build varconf, use msys sh. There are two environment variables that must be set before configure will succeed.

$PKG_CONFIG=/c/Dev-C++/bin/pkg-config.exe; export PKG_CONFIG$ PKG_CONFIG_PATH='C:\path\to\gtkmm\lib\pkgconfig'; export PKG_CONFIG_PATH


Check the Makefile.am file in varconf/varconf. If it does not include the -no-undefined flag in the libvarconf_1_0_la_LDFLAGS variable, add it. Then run autogen.sh, configure, make, and make install. Varconf will be installed as a static library (until somebody figures out how to get it to link against libsigc++ during libtool shared library link) into the msys virtual filesystem.

To build EntityForge, first edit entityforge/src/Makefile.win32. Set all the variables at the beginning of the file to the correct locations for your system. Then run make.

\$ make -f Makefile.win32


### History

EntityForge was written in 2001 by Henri Kuuste (RTSan) and ported to Windows by Dragon Master and is released under the GNU GPL. Development has been taken over by Kai Blin, with the assistance of damien.