Contents:
Part of the YABEE rev 12.3
Bases: builtins.object
Collect an armature and a shapekeys animation data and convert it to the EGG string.
Collect an animation data for the skeleton (Armature).
@param arm: Blender’s Armature for wich need to collect an animation data
Collect an animation data for the morph target (shapekeys).
@param obj: Blender’s object for wich need to collect an animation data
Create and return the full EGG string for the animation, wich has been setup in the object constructor (__init__)
Create and return the EGG string of the morph animation for the given object.
@param obj_name: name of the Blender’s object
Create and return the EGG string of the Armature animation for the given object.
@param obj_name: name of the Blender’s object
Bases: io_scene_egg.yabee_libs.egg_writer.EGGMeshObjectData
Representation of the EGG animated object data
Make the EGGArmature object from the bones, pass the vertex referense to it, and return the EGG string representation of the joints hierarchy.
Collect and convert vertices, assigned to the bones
Bases: io_scene_egg.yabee_libs.egg_writer.Group
Representation of the <Joint> animation data. Has the same hierarchy as the character’s skeleton.
Create and return the string representation of the <Joint> animation data, included all joints hierarchy.
This function make <Group> hierarchy from the list of Blender’s objects. Self.object is the top level of the created hierarchy. Usually in this case self.object == None
@param obj_list: tuple or lis of blender’s objects.
Bases: io_scene_egg.yabee_libs.egg_writer.Group
Representation of the EGG <Joint> hierarchy. Recive Blender’s bones list as obj_list in constructor.
Create and return string representation of the EGG <Joint> with hierachy.
@param vrefs: reference of vertices, linked to bones. @param arm_owner: Armature object - owner of the bones @param level: indent level.
@return: the EGG string with joints hierarchy
Bases: builtins.object
Base representation of the EGG objects data
Return the EGG string representation of object transforms.
Bases: io_scene_egg.yabee_libs.egg_writer.EGGBaseObjectData
Representation of the EGG <Joint> data
Convert vertex reference to the EGG string and return it.
Bases: io_scene_egg.yabee_libs.egg_writer.EGGBaseObjectData
EGG data representation of the mesh object
Add <BFace> to the polygon’s attributes list.
@param face: face index. @param attributes: list of polygon’s attributes.
@return: list of polygon’s attributes.
Add <MRef> to the polygon’s attributes list.
@param face: face index. @param attributes: list of polygon’s attributes.
@return: list of polygon’s attributes.
Add <Normal> to the polygon’s attributes list.
@param face: face index. @param attributes: list of polygon’s attributes.
@return: list of polygon’s attributes.
Add <TRef> to the polygon’s attributes list.
@param face: face index. @param attributes: list of polygon’s attributes.
@return: list of polygon’s attributes.
Add <VertexRef> to the polygon’s attributes list.
@param face: face index. @param attributes: list of polygon’s attributes.
@return: list of polygon’s attributes.
Convert and collect polygons info
Convert and collect vertices info.
Add morph target <Dxyz> to the vertex attributes list.
@param vidx: Blender’s internal vertex index. @param attributes: list of vertex attributes
@return: list of vertex attributes.
Add <Normal> to the vertex attributes list.
@param vidx: Blender’s internal vertex index. @param attributes: list of vertex attributes
@return: list of vertex attributes.
Add <UV> to the vertex attributes list.
@param vidx: the EGG (converted) vertex index. @param attributes: list of vertex attributes
@return: list of vertex attributes.
Add coordinates of the vertex to the vertex attriibutes list
@param vidx: Blender’s internal vertex index. @param attributes: list of vertex attributes
@return: list of vertex attributes.
Return full mesh data representation in the EGG string syntax
Return polygons string in the EGG syntax
Collect the smoothed polygon vertices for write normals of the vertices. In the EGG for the smooth shading used normals of vertices. For solid - polygons.
Return the vertex pool string in the EGG syntax.
Blender uses shared vertices, but for the correct working UV and shading in the Panda needs to convert they are in the individual vertices for each polygon.
Blender uses shared vertices, but for the correct working UV and shading in the Panda needs to convert they are in the individual vertices for each polygon.
Bases: io_scene_egg.yabee_libs.egg_writer.EGGBaseObjectData
Representation of the EGG NURBS Curve
Return the <NURBSCurve> string. Blender 2.5 has not contain Knots information, seems it’s calculating in runtime. I got algorythm for the knots calculation from the OBJ exporter and modified it.
Return the vertex pool string in the EGG syntax.
Bases: builtins.object
Representation of the EGG <Group> hierarchy structure as the linked list “one to many”.
List of children (Groups)
Create and return representation of the EGG <Group> with hierarchy, started from self.object. It’s start point to generating EGG structure.
@param level: starting indent level.
@return: full EGG string of group.
Create and return <Tag> string from Blender’s object Game logic properties.
@param level: indent level.
@return: the EGG tags string.
This function make <Group> hierarchy from the list of Blender’s objects. Self.object is the top level of the created hierarchy. Usually in this case self.object == None
@param obj_list: tuple or lis of blender’s objects.
Link to the blender’s object
Debug function to print out hierarchy to console.
@param level: starting indent level.
Return the EGG string of used materials
Collect Materials used in the selected object.
Merge objects, which armatured by single Armature.
Convert parented to bone objects to armatured objects.
Part of the YABEE rev 12.1
Part of the YABEE rev 12.1
(Get from Chicken) Converts Blender filenames to Panda 3D filenames.
(Get from Chicken) Function that converts names into something suitable for the egg file format - simply puts ” around names that contain spaces and prunes bad characters, replacing them with an underscore.
YABEE rev 12.0
{ ‘animation_name’ : (start_frame, end_frame, frame_rate) }
‘True’ to write only animation data
Enable tangent space calculation. Tangent space needed for some
‘True’ to copy texture images together with main.egg
‘True’ to interprete an image in the uv layer as the texture
file name to write
number of sign after point
‘True’ to write an animation data into the separate files
Type of texture processing. May be ‘SIMPLE’ or ‘BAKE’.
Path for the copied textures. Relative to the main EGG file dir. For example if main file path is ‘/home/username/test/test.egg’, texture path is ‘./tex’, then the actual texture path is ‘/home/username/test/tex’
Part of the YABEE rev 12.3
Bases: bpy_types.Operator
Add animation record operator
Bases: bpy_types.PropertyGroup
Animations list settings
Bases: bpy_types.PropertyGroup
One animation record
Bases: bpy_types.PropertyGroup
Texture baker settings
Bases: bpy_types.Operator, bpy_extras.io_utils.ExportHelper
Export selected to the Panda3D EGG format
Bases: bpy_types.Operator
Remove active animation record operator
Bases: bpy_types.Operator
Reset YABEE settings to default operator
Bases: bpy_types.Operator
Warning messages operator
Bases: bpy_types.PropertyGroup
Main YABEE class for store settings