Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
io_export_ogreDotScene._OgreCommonExport_ Class Reference
Inheritance diagram for io_export_ogreDotScene._OgreCommonExport_:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def create_ogre_document
def dot_material
def dot_material_write_separate
def dot_mesh
def execute
def invoke
def ogre_export
def poll
def update_ui

Public Attributes

 EX_ARM_ANIM
 EX_ARRAY
 EX_COPY_SHADER_PROGRAMS
 EX_DDS_MIPS
 EX_EXPORT_HIDDEN
 EX_FORCE_CAMERA
 EX_FORCE_IMAGE_FORMAT
 EX_FORCE_LAMPS
 EX_generateEdgeLists
 EX_generateTangents
 EX_lodDistance
 EX_lodLevels
 EX_lodPercent
 EX_MATERIALS
 EX_MESH
 EX_MESH_OVERWRITE
 EX_nuextremityPoints
 EX_OGRE_INHERIT_SCALE
 EX_ONLY_DEFORMABLE_BONES
 EX_ONLY_KEYFRAMED_BONES
 EX_optimiseAnimations
 EX_reorganiseBuffers
 EX_SCENE
 EX_SELONLY
 EX_SEP_MATS
 EX_SHAPE_ANIM
 EX_SWAP_AXIS
 EX_tangentSemantic
 EX_tangentSplitMirrored
 EX_tangentSplitRotated
 EX_tangentUseParity
 EX_TRIM_BONE_WEIGHTS
 EXPORT_TYPE
 filepath

Static Public Attributes

tuple EX_ARM_ANIM
tuple EX_ARRAY
tuple EX_COPY_SHADER_PROGRAMS
tuple EX_DDS_MIPS
tuple EX_EXPORT_HIDDEN
tuple EX_FORCE_CAMERA
tuple EX_FORCE_IMAGE_FORMAT
tuple EX_FORCE_LAMPS
tuple EX_generateEdgeLists
tuple EX_generateTangents
tuple EX_lodDistance
tuple EX_lodLevels
tuple EX_lodPercent
tuple EX_MATERIALS
tuple EX_MESH
tuple EX_MESH_OVERWRITE
tuple EX_nuextremityPoints
tuple EX_OGRE_INHERIT_SCALE
tuple EX_ONLY_DEFORMABLE_BONES
tuple EX_ONLY_KEYFRAMED_BONES
tuple EX_optimiseAnimations
tuple EX_reorganiseBuffers
tuple EX_SCENE
tuple EX_SELONLY
tuple EX_SEP_MATS
tuple EX_SHAPE_ANIM
tuple EX_SWAP_AXIS
tuple EX_tangentSemantic
tuple EX_tangentSplitMirrored
tuple EX_tangentSplitRotated
tuple EX_tangentUseParity
tuple EX_TRIM_BONE_WEIGHTS
tuple filepath
string filepath_last = ""

Private Member Functions

def _node_export

Detailed Description

Definition at line 3129 of file io_export_ogreDotScene.py.


Member Function Documentation

def io_export_ogreDotScene._OgreCommonExport_._node_export (   self,
  ob,
  url = '',
  doc = None,
  rex = None,
  exported_meshes = [],
  meshes = [],
  mesh_collision_prims = {},
  mesh_collision_files = {},
  prefix = '',
  objects = [],
  xmlparent = None 
) [private]

Definition at line 3696 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._OgreCommonExport_.create_ogre_document (   self,
  context,
  material_files = [] 
)

Definition at line 3639 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._OgreCommonExport_.dot_material (   self,
  meshes,
  path = '/tmp',
  mat_file_name = 'SceneMaterial' 
)

Definition at line 3359 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._OgreCommonExport_.dot_material_write_separate (   self,
  mat,
  data,
  path = '/tmp' 
)

Definition at line 3399 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._OgreCommonExport_.dot_mesh (   self,
  ob,
  path = '/tmp',
  force_name = None,
  ignore_shape_animation = False 
)

Definition at line 3410 of file io_export_ogreDotScene.py.

Definition at line 3169 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._OgreCommonExport_.invoke (   self,
  context,
  event 
)
def io_export_ogreDotScene._OgreCommonExport_.ogre_export (   self,
  url,
  context,
  force_material_update = [] 
)

Definition at line 3413 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._OgreCommonExport_.poll (   cls,
  context 
)

Definition at line 3178 of file io_export_ogreDotScene.py.


Member Data Documentation

Initial value:
BoolProperty(
        name="Armature Animation",
        description="export armature animations - updates the .skeleton file",
        default=CONFIG['ARM_ANIM'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3262 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Optimize Arrays",
        description="optimize array modifiers as instances (constant offset only)",
        default=CONFIG['ARRAY'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3274 of file io_export_ogreDotScene.py.

Definition at line 3178 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="copy shader programs",
        description="when using script inheritance copy the source shader programs to the output path",
        default=CONFIG['COPY_SHADER_PROGRAMS'])

Definition at line 3347 of file io_export_ogreDotScene.py.

Initial value:
IntProperty(
        name="DDS Mips",
        description="number of mip maps (DDS)",
        min=0, max=16,
        default=CONFIG['DDS_MIPS'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3287 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Export Hidden Also",
        description="Export hidden meshes in addition to visible ones. Turn off to avoid exporting hidden stuff.",
        default=CONFIG['EXPORT_HIDDEN'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3242 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Force Camera",
        description="export active camera",
        default=CONFIG['FORCE_CAMERA'])

Reimplemented in io_export_ogreDotScene.TundraPreviewOp, io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3246 of file io_export_ogreDotScene.py.

Initial value:
EnumProperty(
        items=_IMAGE_FORMATS,
        name='Convert Images',
        description='convert all textures to format',
        default=CONFIG['FORCE_IMAGE_FORMAT'] )

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3282 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Force Lamps",
        description="export all lamps",
        default=CONFIG['FORCE_LAMPS'])

Reimplemented in io_export_ogreDotScene.TundraPreviewOp, io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3250 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Edge Lists",
        description="MESH generate edge lists (for stencil shadows)",
        default=CONFIG['generateEdgeLists'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3313 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Tangents",
        description="MESH generate tangents",
        default=CONFIG['generateTangents'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3317 of file io_export_ogreDotScene.py.

Initial value:
IntProperty(
        name="LOD Distance",
        description="MESH distance increment to reduce LOD",
        min=0, max=2000, default=CONFIG['lodDistance'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3299 of file io_export_ogreDotScene.py.

Initial value:
IntProperty(
        name="LOD Levels",
        description="MESH number of LOD levels",
        min=0, max=32,
        default=CONFIG['lodLevels'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3294 of file io_export_ogreDotScene.py.

Initial value:
IntProperty(
        name="LOD Percentage",
        description="LOD percentage reduction",
        min=0, max=99,
        default=CONFIG['lodPercent'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3303 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Export Materials",
        description="exports .material script",
        default=CONFIG['MATERIALS'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3278 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Export Meshes",
        description="export meshes",
        default=CONFIG['MESH'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3254 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Export Meshes (overwrite)",
        description="export meshes (overwrite existing files)",
        default=CONFIG['MESH_OVERWRITE'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3258 of file io_export_ogreDotScene.py.

Initial value:
IntProperty(
        name="Extremity Points",
        description="MESH Extremity Points",
        min=0, max=65536,
        default=CONFIG['nuextremityPoints'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3308 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="OGRE inherit scale",
        description="whether the OGRE bones have the 'inherit scale' flag on.  If the animation has scale in it, the exported animation needs to be adjusted to account for the state of the inherit-scale flag in OGRE.",
        default=CONFIG['OGRE_INHERIT_SCALE'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3230 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Only Deformable Bones",
        description="only exports bones that are deformable. Useful for hiding IK-Bones used in Blender. Note: Any bone with deformable children/descendants will be output as well.",
        default=CONFIG['ONLY_DEFORMABLE_BONES'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3222 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Only Keyframed Bones",
        description="only exports bones that have been keyframed for a given animation. Useful to limit the set of bones on a per-animation basis.",
        default=CONFIG['ONLY_KEYFRAMED_BONES'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3226 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Optimize Animations",
        description="MESH optimize animations",
        default=CONFIG['optimiseAnimations'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3343 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Reorganise Buffers",
        description="MESH reorganise vertex buffers",
        default=CONFIG['reorganiseBuffers'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3339 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Export Scene",
        description="export current scene (OgreDotScene xml)",
        default=CONFIG['SCENE'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3234 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Export Selected Only",
        description="export selected",
        default=CONFIG['SELONLY'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3238 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Separate Materials",
        description="exports a .material for each material (rather than putting all materials in a single .material file)",
        default=CONFIG['SEP_MATS'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3218 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Shape Animation",
        description="export shape animations - updates the .mesh file",
        default=CONFIG['SHAPE_ANIM'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3266 of file io_export_ogreDotScene.py.

Initial value:
EnumProperty(
        items=AXIS_MODES,
        name='swap axis',
        description='axis swapping mode',
        default= CONFIG['SWAP_AXIS'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3213 of file io_export_ogreDotScene.py.

Initial value:
StringProperty(
        name="Tangent Semantic",
        description="MESH tangent semantic - can be 'uvw' or 'tangent'",
        maxlen=16,
        default=CONFIG['tangentSemantic'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3321 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Tangent Split Mirrored",
        description="MESH split mirrored tangents",
        default=CONFIG['tangentSplitMirrored'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3331 of file io_export_ogreDotScene.py.

Initial value:
BoolProperty(
        name="Tangent Split Rotated",
        description="MESH split rotated tangents",
        default=CONFIG['tangentSplitRotated'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3335 of file io_export_ogreDotScene.py.

Initial value:
IntProperty(
        name="Tangent Parity",
        description="MESH tangent use parity",
        min=0, max=16,
        default=CONFIG['tangentUseParity'])

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3326 of file io_export_ogreDotScene.py.

Initial value:
FloatProperty(
        name="Trim Weights",
        description="ignore bone weights below this value (Ogre supports 4 bones per vertex)",
        min=0.0, max=0.5, default=CONFIG['TRIM_BONE_WEIGHTS'] )

Reimplemented in io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3270 of file io_export_ogreDotScene.py.

Initial value:
StringProperty(
        name="File Path",
        description="Filepath used for exporting file",
        maxlen=1024, default="",
        subtype='FILE_PATH')

Reimplemented in io_export_ogreDotScene.TundraPreviewOp, io_export_ogreDotScene.JmonkeyPreviewOp, io_export_ogreDotScene.INFO_OT_createRealxtendExport, and io_export_ogreDotScene.INFO_OT_createOgreExport.

Definition at line 3353 of file io_export_ogreDotScene.py.

Definition at line 3352 of file io_export_ogreDotScene.py.


The documentation for this class was generated from the following file:


naoqi_tools
Author(s): Mikael Arguedas
autogenerated on Sat Jun 8 2019 20:30:21