The major new feature in Blender 2.63 is BMesh. BMesh is the new data structure to handle your model data. If you have written you own export script to avoid the use of extensive xml or text based exchange languages like collada or wavefront it is now necessary to update it. The use of binary (BSON) exports is one reason why YAOgl only needs milliseconds for the startup process.
Your script will most likely look like this(I assume that you split these commands in different methods):
for obj in bpy.data.objects: ... faces = obj.data.faces vertices = obj.data.vertices facesMaterials = obj.data.materials ...
With these commands you collect the faces, vertices and materials of your model. In Blender 2.63 the
faces attribute will be replaced with
tessfaces. The “tesselated faces” attribute contains the list of all triangulated ngons. You can now update your script like this:
for obj in bpy.data.objects: ... obj.data.calc_tessface() faces = obj.data.tessfaces vertices = obj.data.vertices facesMaterials = obj.data.materials ...
calc_tessface() is used to calculate and update the list of tessellated faces.
If you are using uv maps for textures, normals or ambient occlusion you also have to take the new data structure into account. For example:
facesuvs = o.data.uv_textures.active.data
shoud be changed to:
facesuvs = o.data.tessface_uv_textures.active.data
I checked these modifications against several unit-tests without any noticeable problems.