Classes | Functions | Variables
io_export_ogreDotScene Namespace Reference

Classes

class  _create_new_material_layer_helper
class  _image_processing_
class  _OgreCommonExport_
class  _ogredoc_Animation_System
class  _ogredoc_Bugs
class  _ogredoc_FAQ
class  _ogredoc_Installing
class  _ogredoc_Physics
class  _OgreMatPass
class  _TXML_
class  _WrapLogic
class  Blender2Ogre_ConfigOp
class  Bone
 Bone. More...
class  Bone_Track
class  bpyShaders
class  CMesh
class  INFO_HT_microheader
class  INFO_HT_myheader
class  INFO_MT_group
class  INFO_MT_groups
class  INFO_MT_instance
class  INFO_MT_instances
 Selector extras. More...
class  INFO_MT_ogre_docs
class  INFO_MT_ogre_helper
class  INFO_MT_ogre_shader_pass_attributes
class  INFO_MT_ogre_shader_texture_attributes
class  INFO_OT_createOgreExport
 UI panel Ogre export - Subclasses _OgreCommonExport_. More...
class  INFO_OT_createRealxtendExport
 UI panel Tundra export - Subclasses _OgreCommonExport_. More...
class  JmonkeyPreviewOp
 Jmonkey preview todo: remove jmonkey. More...
class  Keyframe
class  MaterialScripts
class  MatPass1
class  MatPass2
class  MatPass3
class  MatPass4
class  MatPass5
class  MatPass6
class  MatPass7
class  MatPass8
class  MENU_preview_material_text
 More UI. More...
class  MeshMagick
 MeshMagick. More...
class  MiniReport
class  OgreCollisionOp
class  OgreMaterialGenerator
class  OgreMaterialScript
 Ogre Material object(s) that is utilized during export stages. More...
class  OgreMeshyPreviewOp
 OgreMeshy. More...
class  OgreProgram
class  OgreSkyPanel
 Sky UI panel. More...
class  OgreToggleInterfaceOp
 Toggle button for blender2ogre UI panels. More...
class  PANEL_Collision
class  PANEL_Configure
class  PANEL_MultiResLOD
class  PANEL_node_editor_ui
class  PANEL_node_editor_ui_extra
class  PANEL_Object
class  PANEL_Physics
class  PANEL_properties_window_ogre_material
class  PANEL_Speaker
class  PANEL_Textures
class  PopUpDialogOperator
class  RDocument
class  RElement
 RPython xml dom. More...
class  ReportSingleton
 Report Hack. More...
class  Server
 Server object to talk with realXtend Tundra with UDP Requires Tundra to be running a py script. More...
class  SimpleSaxWriter
class  Skeleton
class  TextureUnit
class  Tundra_ExitOp
class  Tundra_PhysicsDebugOp
class  Tundra_StartPhysicsOp
class  Tundra_StopPhysicsOp
class  TundraPipe
class  TundraPreviewOp
 realXtend Tundra preview todo: This only work if the custom py script is enabled in Tundra It's nice when it works but PythonScriptModule is not part of the default Tundra distro anymore, so this is atm kind of dead. More...
class  VertexNoPos
class  WrapActuator
class  WrapSensor

Functions

def _create_stream_proto
def _get_proxy_decimate_mod
 RPython xml dom ends.
def _mesh_entity_helper
def _ogre_node_helper
 Ogre node helper.
def bake_terrain
def clean_object_name
def clean_object_name_with_spaces
def dot_mesh
 Creating .mesh.
def dotmesh
def export_menu_func_ogre
def export_menu_func_realxtend
def export_mesh
def find_bone_index
def find_uv_layer_index
def findArmature
def gather_instances
def generate_material
def get_image_textures
def get_lights_by_type
def get_materials_using_image
def get_merge_group
def get_minimal_interface_classes
def get_objects_using_materials
def get_objects_with_subcollision
def get_ogre_user_material
def get_parent_matrix
def get_shader_program
def get_shader_programs
def get_subcollision_meshes
def get_subcollisions
def has_custom_property
def hide_user_interface
def indent
def is_image_postprocessed
 Image/texture proecssing.
def is_strictly_simple_terrain
def JmonkeyPipe
def load_config
def material_name
 Public API (continued)
def merge
def merge_group
def merge_objects
def mesh_is_smooth
def ogre_material_panel
def ogre_material_panel_extra
def ogredoc
def OgreXMLConverter
 Ogre Command Line Tools.
def parse_material_and_program_scripts
def register
def restore_minimal_interface
def save_config
def save_terrain_as_NTF
def select_group
def select_instances
def show_dialog
def swap
def timer_diff_str
 Helper functions.
def UI
def uid
def unregister
def update_parent_material_path
def wordwrap

Variables

list _collision_modes
dictionary _CONFIG_DEFAULTS_ALL
dictionary _CONFIG_DEFAULTS_UNIX
dictionary _CONFIG_DEFAULTS_WINDOWS
string _CONFIG_TAGS_ = 'OGRETOOLS_XML_CONVERTER OGRETOOLS_MESH_MAGICK TUNDRA_ROOT OGRE_MESHY IMAGE_MAGICK_CONVERT NVCOMPRESS NVIDIATOOLS_EXE USER_MATERIALS SHADER_PROGRAMS TUNDRA_STREAMING'
string _doc_installing_
 DOCUMENTATION.
string _faq_
 FAQ.
string _game_logic_intro_doc_
 Game Logic Documentation.
list _IMAGE_FORMATS
 ImageMagick.
string _nvcompress_doc
 NVIDIA texture compress documentation.
string _ogre_command_line_tools_doc
 Ogre Command Line Tools Documentation.
list _ogre_depth_func
list _OGRE_DOCS_ = []
 Ogre Documentation to UI.
string _ogre_logic_types_doc_
list _ogre_scene_blend_ops
list _ogre_scene_blend_types
list _physics_modes
 Physics.
 _USE_JMONKEY_ = False
 _USE_RPYTHON_ = True
 _USE_TUNDRA_ = False
list AXIS_MODES
 Options.
dictionary bl_info
dictionary CONFIG = {}
 PUBLIC API continues.
string CONFIG_FILENAME = 'blender2ogre.pickle'
tuple CONFIG_FILEPATH = os.path.join(CONFIG_PATH, CONFIG_FILENAME)
tuple CONFIG_PATH = bpy.utils.user_resource('CONFIG', path='scripts', create=True)
 Config.
 default = False)
string description = 'enables EC_Avatar'
 facesAddr = int,
 facesMatAddr = int,
 facesSmoothAddr = int,
string invalid_chars = '\/:*?"<>|'
 UI export panel.
 items = _physics_modes,
string last_export_filepath = ""
 materialNames = str,
int maxlen = 128
float min = 0.0
string MISSING_MATERIAL
 MyShaders = None
string name = 'enable avatar'
 Avatar.
 numFaces = int,
 numVerts = int,
string NVDXT_DOC
 NVIDIA texture tool documentation.
 path = str,
string popup_message = ""
 Pop up dialog for various info/error messages.
tuple Report = ReportSingleton()
 Rmesh = None
tuple rpy = rpythonic.RPython( 'blender2ogre' )
tuple SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
 Make sure we can import from same directory.
int STREAM_BUFFER_SIZE = 2048
tuple STREAM_PROTO = _create_stream_proto()
string TUNDRA_SCRIPT
 TundraSingleton = None
list UI_CLASSES = []
 Public API Search for "Public API" to find more.
string VERSION = '0.6.0'
 vertsNorAddr = int,
 vertsPosAddr = int,

Function Documentation

Definition at line 6060 of file io_export_ogreDotScene.py.

RPython xml dom ends.

Definition at line 1322 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._mesh_entity_helper (   doc,
  ob,
  o 
) [private]

Definition at line 2353 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene._ogre_node_helper (   doc,
  ob,
  objects,
  prefix = '',
  pos = None,
  rot = None,
  scl = None 
) [private]

Ogre node helper.

Definition at line 4221 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.bake_terrain (   ob,
  normalize = True 
)

Definition at line 1330 of file io_export_ogreDotScene.py.

Definition at line 3114 of file io_export_ogreDotScene.py.

Definition at line 3121 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.dot_mesh (   ob,
  path = '/tmp',
  force_name = None,
  ignore_shape_animation = False,
  normals = True,
  isLOD = False 
)

Creating .mesh.

Definition at line 5177 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.dotmesh (   path,
  facesAddr,
  facesSmoothAddr,
  facesMatAddr,
  vertsPosAddr,
  vertsNorAddr,
  numFaces,
  numVerts,
  materialNames 
)

Definition at line 156 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.export_menu_func_ogre (   self,
  context 
)

Definition at line 6400 of file io_export_ogreDotScene.py.

Definition at line 6403 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.export_mesh (   ob,
  path = '/tmp',
  force_name = None,
  ignore_shape_animation = False,
  normals = True 
)
returns materials used by the mesh 

Definition at line 7313 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.find_bone_index (   ob,
  arm,
  groupidx 
)

Definition at line 951 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.find_uv_layer_index (   uvname,
  material = None 
)

Definition at line 967 of file io_export_ogreDotScene.py.

Definition at line 4638 of file io_export_ogreDotScene.py.

Definition at line 1018 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.generate_material (   mat,
  path = '/tmp',
  copy_programs = False,
  touch_textures = False 
)
returns generated material string 

Definition at line 7317 of file io_export_ogreDotScene.py.

Definition at line 1000 of file io_export_ogreDotScene.py.

Definition at line 2391 of file io_export_ogreDotScene.py.

Definition at line 1063 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.get_merge_group (   ob,
  prefix = 'merge' 
)

Definition at line 1127 of file io_export_ogreDotScene.py.

Definition at line 6455 of file io_export_ogreDotScene.py.

Definition at line 1052 of file io_export_ogreDotScene.py.

returns objects that have active sub-collisions 

Definition at line 7421 of file io_export_ogreDotScene.py.

Definition at line 7352 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.get_parent_matrix (   ob,
  objects 
)

Definition at line 1072 of file io_export_ogreDotScene.py.

Definition at line 7356 of file io_export_ogreDotScene.py.

Definition at line 7362 of file io_export_ogreDotScene.py.

returns all collision meshes found in the scene 

Definition at line 7414 of file io_export_ogreDotScene.py.

Definition at line 7429 of file io_export_ogreDotScene.py.

Definition at line 979 of file io_export_ogreDotScene.py.

Definition at line 107 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.indent (   level,
  args 
)

Definition at line 1007 of file io_export_ogreDotScene.py.

Image/texture proecssing.

Definition at line 6832 of file io_export_ogreDotScene.py.

Definition at line 985 of file io_export_ogreDotScene.py.

Definition at line 5787 of file io_export_ogreDotScene.py.

Definition at line 833 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.material_name (   mat,
  clean = False 
)

Public API (continued)

Definition at line 7304 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.merge (   objects)

Definition at line 1115 of file io_export_ogreDotScene.py.

Definition at line 1081 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.merge_objects (   objects,
  name = '_temp_',
  transform = None 
)

Definition at line 1097 of file io_export_ogreDotScene.py.

Definition at line 963 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.ogre_material_panel (   layout,
  mat,
  parent = None,
  show_programs = True 
)

Definition at line 7672 of file io_export_ogreDotScene.py.

Definition at line 7632 of file io_export_ogreDotScene.py.

Definition at line 2229 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.OgreXMLConverter (   infile,
  has_uvs = False 
)

Ogre Command Line Tools.

Definition at line 4347 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.parse_material_and_program_scripts (   path,
  scripts,
  progs,
  missing 
)

Definition at line 7365 of file io_export_ogreDotScene.py.

Definition at line 6478 of file io_export_ogreDotScene.py.

Definition at line 6461 of file io_export_ogreDotScene.py.

Definition at line 897 of file io_export_ogreDotScene.py.

Definition at line 1362 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.select_group (   context,
  name,
  options = {} 
)

Definition at line 1036 of file io_export_ogreDotScene.py.

def io_export_ogreDotScene.select_instances (   context,
  name 
)

Definition at line 1027 of file io_export_ogreDotScene.py.

Definition at line 1772 of file io_export_ogreDotScene.py.

Definition at line 723 of file io_export_ogreDotScene.py.

Helper functions.

Definition at line 948 of file io_export_ogreDotScene.py.

Toggles the Ogre interface panels 

Definition at line 101 of file io_export_ogreDotScene.py.

Definition at line 111 of file io_export_ogreDotScene.py.

Definition at line 6504 of file io_export_ogreDotScene.py.

updates RNA 

Definition at line 7397 of file io_export_ogreDotScene.py.

Definition at line 1140 of file io_export_ogreDotScene.py.


Variable Documentation

Initial value:
00001 [
00002     ('NONE', 'NONE', 'no collision'),
00003     ('PRIMITIVE', 'PRIMITIVE', 'primitive collision type'),
00004     ('MESH', 'MESH', 'triangle-mesh or convex-hull collision type'),
00005     ('DECIMATED', 'DECIMATED', 'auto-decimated collision type'),
00006     ('COMPOUND', 'COMPOUND', 'children primitive compound collision type'),
00007     ('TERRAIN', 'TERRAIN', 'terrain (height map) collision type'),
00008 ]

Definition at line 386 of file io_export_ogreDotScene.py.

Definition at line 747 of file io_export_ogreDotScene.py.

Initial value:
00001 {
00002     'OGRETOOLS_XML_CONVERTER' : '/usr/local/bin/OgreXMLConverter', # source build is better
00003     'OGRETOOLS_MESH_MAGICK' : '/usr/local/bin/MeshMagick',
00004     'TUNDRA_ROOT' : '~/Tundra2',
00005     'OGRE_MESHY' : '~/OgreMeshy/Ogre Meshy.exe',
00006     'IMAGE_MAGICK_CONVERT' : '/usr/bin/convert',
00007     'NVIDIATOOLS_EXE' : '~/.wine/drive_c/Program Files/NVIDIA Corporation/DDS Utilities',
00008     'USER_MATERIALS' : '~/Tundra2/media/materials',
00009     'SHADER_PROGRAMS' : '~/Tundra2/media/materials/programs',
00010     #'USER_MATERIALS' : '~/ogre_src_v1-7-3/Samples/Media/materials',
00011     #'SHADER_PROGRAMS' : '~/ogre_src_v1-7-3/Samples/Media/materials/programs',
00012     'NVCOMPRESS' : '/usr/local/bin/nvcompress'
00013 }

Definition at line 803 of file io_export_ogreDotScene.py.

Initial value:
00001 {
00002     'OGRETOOLS_XML_CONVERTER' : 'C:\\OgreCommandLineTools\\OgreXmlConverter.exe',
00003     'OGRETOOLS_MESH_MAGICK' : 'C:\\OgreCommandLineTools\\MeshMagick.exe',
00004     'TUNDRA_ROOT' : 'C:\\Tundra2',
00005     'OGRE_MESHY' : 'C:\\OgreMeshy\\Ogre Meshy.exe',
00006     'IMAGE_MAGICK_CONVERT' : 'C:\\Program Files\\ImageMagick\\convert.exe',
00007     'NVIDIATOOLS_EXE' : 'C:\\Program Files\\NVIDIA Corporation\\DDS Utilities\\nvdxt.exe',
00008     'USER_MATERIALS' : 'C:\\Tundra2\\media\\materials',
00009     'SHADER_PROGRAMS' : 'C:\\Tundra2\\media\\materials\\programs',
00010     'NVCOMPRESS' : 'C:\\nvcompress.exe'
00011 }

Definition at line 791 of file io_export_ogreDotScene.py.

string io_export_ogreDotScene::_CONFIG_TAGS_ = 'OGRETOOLS_XML_CONVERTER OGRETOOLS_MESH_MAGICK TUNDRA_ROOT OGRE_MESHY IMAGE_MAGICK_CONVERT NVCOMPRESS NVIDIATOOLS_EXE USER_MATERIALS SHADER_PROGRAMS TUNDRA_STREAMING'

Definition at line 785 of file io_export_ogreDotScene.py.

DOCUMENTATION.

Definition at line 679 of file io_export_ogreDotScene.py.

Initial value:
00001 '''
00002 
00003 Q: I have hundres of objects, is there a way i can merge them on export only?
00004 A: Yes, just add them to a group named starting with "merge", or link the group.
00005 
00006 Q: Can i use subsurf or multi-res on a mesh with an armature?
00007 A: Yes.
00008 
00009 Q: Can i use subsurf or multi-res on a mesh with shape animation?
00010 A: No.
00011 
00012 Q: I don't see any objects when i export?
00013 A: You must select the objects you wish to export.
00014 
00015 Q: I don't see my animations when exported?
00016 A: Make sure you created an NLA strip on the armature.
00017 
00018 Q: Do i need to bake my IK and other constraints into FK on my armature before export?
00019 A: No.
00020 
00021 '''

FAQ.

Definition at line 652 of file io_export_ogreDotScene.py.

Initial value:
00001 '''
00002 Hijacking the BGE
00003 
00004 Blender contains a fully functional game engine (BGE) that is highly useful for learning the concepts of game programming by breaking it down into three simple parts: Sensor, Controller, and Actuator.  An Ogre based game engine will likely have similar concepts in its internal API and game logic scripting.  Without a custom interface to define game logic, very often game designers may have to resort to having programmers implement their ideas in purely handwritten script.  This is prone to breakage because object names then end up being hard-coded.  Not only does this lead to non-reusable code, its also a slow process.  Why should we have to resort to this when Blender already contains a very rich interface for game logic?  By hijacking a subset of the BGE interface we can make this workflow between game designer and game programmer much better.
00005 
00006 The OgreDocScene format can easily be extened to include extra game logic data.  While the BGE contains some features that can not be easily mapped to other game engines, there are many are highly useful generic features we can exploit, including many of the Sensors and Actuators.  Blender uses the paradigm of: 1. Sensor -> 2. Controller -> 3. Actuator.  In pseudo-code, this can be thought of as: 1. on-event -> 2. conditional logic -> 3. do-action.  The designer is most often concerned with the on-events (the Sensors), and the do-actions (the Actuators); and the BGE interface provides a clear way for defining and editing those.  Its a harder task to provide a good interface for the conditional logic (Controller), that is flexible enough to fit everyones different Ogre engine and requirements, so that is outside the scope of this exporter at this time.  A programmer will still be required to fill the gap between Sensor and Actuator, but hopefully his work is greatly reduced and can write more generic/reuseable code.
00007 
00008 The rules for which Sensors trigger which Actuators is left undefined, as explained above we are hijacking the BGE interface not trying to export and reimplement everything.  BGE Controllers and all links are ignored by the exporter, so whats the best way to define Sensor/Actuator relationships?  One convention that seems logical is to group Sensors and Actuators by name.  More complex syntax could be used in Sensor/Actuators names, or they could be completely ignored and instead all the mapping is done by the game programmer using other rules.  This issue is not easily solved so designers and the engine programmers will have to decide upon their own conventions, there is no one size fits all solution.
00009 '''

Game Logic Documentation.

Definition at line 1779 of file io_export_ogreDotScene.py.

Initial value:
00001 [
00002     ('NONE','NONE', 'do not convert image'),
00003     ('bmp', 'bmp', 'bitmap format'),
00004     ('jpg', 'jpg', 'jpeg format'),
00005     ('gif', 'gif', 'gif format'),
00006     ('png', 'png', 'png format'),
00007     ('tga', 'tga', 'targa format'),
00008     ('dds', 'dds', 'nvidia dds format'),
00009 ]

ImageMagick.

Definition at line 440 of file io_export_ogreDotScene.py.

Initial value:
00001 '''
00002 usage: nvcompress [options] infile [outfile]
00003 
00004 Input options:
00005   -color       The input image is a color map (default).
00006   -alpha         The input image has an alpha channel used for transparency.
00007   -normal      The input image is a normal map.
00008   -tonormal    Convert input to normal map.
00009   -clamp       Clamp wrapping mode (default).
00010   -repeat      Repeat wrapping mode.
00011   -nomips      Disable mipmap generation.
00012 
00013 Compression options:
00014   -fast        Fast compression.
00015   -nocuda      Do not use cuda compressor.
00016   -rgb         RGBA format
00017   -bc1         BC1 format (DXT1)
00018   -bc1n        BC1 normal map format (DXT1nm)
00019   -bc1a        BC1 format with binary alpha (DXT1a)
00020   -bc2         BC2 format (DXT3)
00021   -bc3         BC3 format (DXT5)
00022   -bc3n        BC3 normal map format (DXT5nm)
00023   -bc4         BC4 format (ATI1)
00024   -bc5         BC5 format (3Dc/ATI2)
00025 '''

NVIDIA texture compress documentation.

Definition at line 6933 of file io_export_ogreDotScene.py.

Ogre Command Line Tools Documentation.

Definition at line 4311 of file io_export_ogreDotScene.py.

Initial value:
00001 [
00002     ('less_equal', 'less_equal', '<='),
00003     ('less', 'less', '<'),
00004     ('equal', 'equal', '=='),
00005     ('not_equal', 'not_equal', '!='),
00006     ('greater_equal', 'greater_equal', '>='),
00007     ('greater', 'greater', '>'),
00008     ('always_fail', 'always_fail', 'false'),
00009     ('always_pass', 'always_pass', 'true'),
00010 ]

Definition at line 602 of file io_export_ogreDotScene.py.

Ogre Documentation to UI.

Definition at line 2228 of file io_export_ogreDotScene.py.

Initial value:
00001 '''
00002 Supported Sensors:
00003     . Collision
00004     . Near
00005     . Radar
00006     . Touching
00007     . Raycast
00008     . Message
00009 
00010 Supported Actuators:
00011     . Shape Action*
00012     . Edit Object
00013     . Camera
00014     . Constraint
00015     . Message
00016     . Motion
00017     . Sound
00018     . Visibility
00019 
00020 *note: Shape Action
00021 The most common thing a designer will want to do is have an event trigger an animation.  The BGE contains an Actuator called "Shape Action", with useful properties like: start/end frame, and blending.  It also contains a property called "Action" but this is hidden because the exporter ignores action names and instead uses the names of NLA strips when exporting Ogre animation tracks.  The current workaround is to hijack the "Frame Property" attribute and change its name to "animation".  The designer can then simply type the name of the animation track (NLA strip).  Any custom syntax could actually be implemented here for calling animations, its up to the engine programmer to define how this field will be used.  For example: "*.explode" could be implemented to mean "on all objects" play the "explode" animation.
00022 '''

Definition at line 1789 of file io_export_ogreDotScene.py.

Initial value:
00001 [
00002     ('add', 'add', 'DEFAULT'),
00003     ('subtract', 'subtract', 'SUBTRACT'),
00004     ('reverse_subtract', 'reverse_subtract', 'REVERSE SUBTRACT'),
00005     ('min', 'min', 'MIN'),
00006     ('max', 'max', 'MAX'),
00007 ]

Definition at line 619 of file io_export_ogreDotScene.py.

Initial value:
00001 [
00002     ('one zero', 'one zero', 'DEFAULT'),
00003     ('alpha_blend', 'alpha_blend', "The alpha value of the rendering output is used as a mask. Equivalent to 'scene_blend src_alpha one_minus_src_alpha'"),
00004     ('add', 'add', "The colour of the rendering output is added to the scene. Good for explosions, flares, lights, ghosts etc. Equivalent to 'scene_blend one one'."),
00005     ('modulate', 'modulate', "The colour of the rendering output is multiplied with the scene contents. Generally colours and darkens the scene, good for smoked glass, semi-transparent objects etc. Equivalent to 'scene_blend dest_colour zero'"),
00006     ('colour_blend', 'colour_blend', 'Colour the scene based on the brightness of the input colours, but dont darken. Equivalent to "scene_blend src_colour one_minus_src_colour"'),
00007 ]

Definition at line 633 of file io_export_ogreDotScene.py.

Initial value:
00001 [
00002     ('NONE', 'NONE', 'no physics'),
00003     ('RIGID_BODY', 'RIGID_BODY', 'rigid body'),
00004     ('SOFT_BODY', 'SOFT_BODY', 'soft body'),
00005 ]

Physics.

Definition at line 381 of file io_export_ogreDotScene.py.

Definition at line 6459 of file io_export_ogreDotScene.py.

Definition at line 5146 of file io_export_ogreDotScene.py.

Definition at line 6458 of file io_export_ogreDotScene.py.

Initial value:
00001 [
00002     ('xyz', 'xyz', 'no swapping'),
00003     ('xz-y', 'xz-y', 'ogre standard'),
00004     ('-xzy', '-xzy', 'non standard'),
00005     ('aldeb', 'aldeb', 'invert x and z axis'),
00006 ]

Options.

Definition at line 716 of file io_export_ogreDotScene.py.

Initial value:
00001 {
00002     "name": "OGRE Exporter (.scene, .mesh, .skeleton) and RealXtend (.txml)",
00003     "author": "Brett, S.Rombauts, F00bar, Waruck, Mind Calamity, Mr.Magne, Jonne Nauha, vax456",
00004     "version": (0, 6, 0),
00005     "blender": (2, 6, 6),
00006     "location": "File > Export...",
00007     "description": "Export to Ogre xml and binary formats",
00008     "wiki_url": "http://code.google.com/p/blender2ogre/w/list",
00009     "tracker_url": "http://code.google.com/p/blender2ogre/issues/list",
00010     "category": "Import-Export"
00011 }

Definition at line 84 of file io_export_ogreDotScene.py.

PUBLIC API continues.

Definition at line 831 of file io_export_ogreDotScene.py.

string io_export_ogreDotScene::CONFIG_FILENAME = 'blender2ogre.pickle'

Definition at line 744 of file io_export_ogreDotScene.py.

Definition at line 745 of file io_export_ogreDotScene.py.

tuple io_export_ogreDotScene::CONFIG_PATH = bpy.utils.user_resource('CONFIG', path='scripts', create=True)

Config.

Definition at line 743 of file io_export_ogreDotScene.py.

Definition at line 341 of file io_export_ogreDotScene.py.

string io_export_ogreDotScene::description = 'enables EC_Avatar'

Definition at line 340 of file io_export_ogreDotScene.py.

Definition at line 146 of file io_export_ogreDotScene.py.

Definition at line 148 of file io_export_ogreDotScene.py.

Definition at line 147 of file io_export_ogreDotScene.py.

UI export panel.

Definition at line 3112 of file io_export_ogreDotScene.py.

Definition at line 396 of file io_export_ogreDotScene.py.

Definition at line 3127 of file io_export_ogreDotScene.py.

Definition at line 153 of file io_export_ogreDotScene.py.

Definition at line 345 of file io_export_ogreDotScene.py.

Definition at line 6532 of file io_export_ogreDotScene.py.

Initial value:
00001 '''
00002 material _missing_material_
00003 {
00004     receive_shadows off
00005     technique
00006     {
00007         pass
00008         {
00009             ambient 0.1 0.1 0.1 1.0
00010             diffuse 0.8 0.0 0.0 1.0
00011             specular 0.5 0.5 0.5 1.0 12.5
00012             emissive 0.3 0.3 0.3 1.0
00013         }
00014     }
00015 }
00016 '''

Definition at line 929 of file io_export_ogreDotScene.py.

Definition at line 6476 of file io_export_ogreDotScene.py.

string io_export_ogreDotScene::name = 'enable avatar'

Avatar.

Blender world panel options for EC_SkyX creation todo: EC_SkyX has changes a bit lately, see that all these options are still correct and valid old todo (?): Move to tundra.py.

Sound.

Definition at line 339 of file io_export_ogreDotScene.py.

Definition at line 151 of file io_export_ogreDotScene.py.

Definition at line 152 of file io_export_ogreDotScene.py.

NVIDIA texture tool documentation.

Definition at line 4898 of file io_export_ogreDotScene.py.

Definition at line 145 of file io_export_ogreDotScene.py.

Pop up dialog for various info/error messages.

Definition at line 1727 of file io_export_ogreDotScene.py.

Definition at line 1310 of file io_export_ogreDotScene.py.

Definition at line 5142 of file io_export_ogreDotScene.py.

tuple io_export_ogreDotScene::rpy = rpythonic.RPython( 'blender2ogre' )

Definition at line 142 of file io_export_ogreDotScene.py.

tuple io_export_ogreDotScene::SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))

Make sure we can import from same directory.

Definition at line 332 of file io_export_ogreDotScene.py.

Definition at line 6068 of file io_export_ogreDotScene.py.

Definition at line 6067 of file io_export_ogreDotScene.py.

Definition at line 6070 of file io_export_ogreDotScene.py.

Definition at line 5856 of file io_export_ogreDotScene.py.

Public API Search for "Public API" to find more.

Definition at line 99 of file io_export_ogreDotScene.py.

Definition at line 17 of file io_export_ogreDotScene.py.

Definition at line 150 of file io_export_ogreDotScene.py.

Definition at line 149 of file io_export_ogreDotScene.py.



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