io_carnivores

Carnivores Export Addon for Blender

This addon is supports exporting Blender models and animations into 3DF / VTL files, and importing CAR/3DF files too.

3DF export simply exports the basic geometry (vertices,faces,active uvlayer) into the 3DF format. Material export is now supported, as well as face flag export too (working on face flag import next). VTL export basically plays the active scene animation, and captures the vertices of the mesh for every frame in the animation, and writes that to VTL.

These features allow you to do all your modelling/rigging/animating from Blender instead of using the 20+ year old tools that were released with Carnivores.

To create CAR files out of the 3DF and VTL files, you’ll have to use either CMM or c3dit.

Install

Simply go to Edit/Preferences/Addons, click Install, and select io_carnivores.py. You should see the addon in the addon list, click the checkbox in front of its name to enable, and you should be good to go.

Update

Follow the install instructions, but make sure to disable/enable the addon to make sure the newer version is active.

Flagging Faces

First select the flags you wanna apply to selected faces (in edit mode), the selected options will turn blue, then hit the apply to selected faces button. After if you select those faces, you can see which face flags were applied to it with a little checkmark icon. To undo face flags, deselect the options (from blue to grey) and again hit the apply to selected faces button. Now there is also an option to select faces by highlighting face flags you want to look for and hit the Select Highlighted Flags option. This will select all the faces that has the flags you selected assigned.

Flag Visualization

When you assign face flags to the model they also get a vertex color assigned to them. This will help visualizing the different face flags on the model. You can switch to vertex paint mode and select the FaceColors layer after you assigned face flags to the model. It will show each flags with a different color and combine colors on faces where multiple flags are defined. Also there is now a Assign Vertex Color To All Faces button, which is useful if you import models into blender. This will assign the proper color to models that already have face flags on them for a quick setup.

Exporting Textures

Simply just export any blender object with a image texture node attached to it and loaded with a texture.

Importing 3DF/CAR

Simply go to File/Import/3DF/CAR, and select the file you wish to import. Import has the following features:

Please note that import is a new feature, and still beta. any feedback on bugs, or suggestions for features related to this are welcome.

Exporting 3DF

In any Blender document, select the mesh you wish to export as 3DF model, and select File/Export/3DF. Specify the file to be written. The default configuration is now made to be seamless, so you don’t have to set anything. UVs need to be 256 pixels wide, since that is what .3df files are expecting. The height resolution can be anything under 256 pixel (256 is the maximum value in both width and height).

Exporting VLT

In any Blender document, make sure you have the animation you wish to export active in the scene, then select the mesh (or armature), go to File/Export/VTL. Specify the file to be written and any configuration options.

Troubleshooting / bugs

This is my first Blender addon, so please be gentle. Known issues: