|
Anim8or mesh export scriptAnim8or is a freeware OpenGL based 3D modeling and animation program by R. Steven Glanville. It is available at www.anim8or.com. As of January 2010 I am using version 0.95, though there is a newer version in "beta" it is not recommended for beginners. It has a script API to allow users to extend it with plugins written in a C-like language. The export script is an adaptation of an example script, the original script would convert an object into "C" language form, possibly for use in a game. My version adds the following:
My script suffers from some severe limitations:
Script InstallationAnim8or configuration screen The easiest way to install the script is to drop the script into the same folder as the program. In anim8or you must set up a script folder and enable preloading. The script folder can be set to "." meaning it is the program folder. If you do this correctly then the exporter will be preloaded and added to the Object Exporter list. Fiddling with the script:
The $imvubone option sets what bone (influence ID) to use. By setting it to zero it is set to the parent node of the product, largely ignoring the XSF file. This is a quick dodge to get the product imported but should be replaced with a proper bone number when making a serious product. Note if you need to change the script you'll need to reload anim8or. The exporter is discussed in the forum here A sample mesh in "obj" form was obtained from Falling Pixel Designs UVmapperAt this point I should mention UVmapper Classic 0.30a, available at www.uvmapper.com. Anim8or does not give you much control over texture map coordinates. Lathe solids get a simple cylinder mapping by default but the built in UV tool does odd things. UVmapper provides more powerful tools for unwrapping an object into a flat UV map. To use it you export your object as ".obj" format, load it into UVmapper, then re-export it as .obj and import back into anim8or. You can also create a bitmap texture map template. Serious developers probably should give the pro version a look as the 3D preview will take away a lot of guesswork. I'm sticking with the free "classic" for now.
|