Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

BL_BlenderDataConversion.cpp File Reference

#include "BL_BlenderDataConversion.h"
#include "KX_BlenderGL.h"
#include "ListValue.h"
#include "IntValue.h"
#include "SM_Object.h"
#include "SM_FhObject.h"
#include "SM_Scene.h"
#include "KX_Scene.h"
#include "KX_GameObject.h"
#include "RAS_MeshObject.h"
#include "KX_ConvertActuators.h"
#include "KX_ConvertControllers.h"
#include "KX_ConvertSensors.h"
#include "KX_BlenderClientObject.h"
#include "SCA_LogicManager.h"
#include "SCA_EventManager.h"
#include "SCA_TimeEventManager.h"
#include "KX_Light.h"
#include "KX_Camera.h"
#include "KX_EmptyObject.h"
#include "MT_Point3.h"
#include "MT_Transform.h"
#include "SCA_IInputDevice.h"
#include "RAS_TexMatrix.h"
#include "BL_BlenderOrientation.h"
#include "RAS_MaterialBucket.h"
#include "KX_BlenderPolyMaterial.h"
#include "RAS_Polygon.h"
#include "RAS_TexVert.h"
#include "RAS_BucketManager.h"
#include "blender.h"
#include "game.h"
#include "sound.h"
#include "ipo.h"
#include "KX_BlenderInputDevice.h"
#include "KX_ConvertProperties.h"
#include "KX_HashedPtr.h"
#include "BL_BlenderIPO.h"
#include "KX_ScalarInterpolator.h"
#include "KX_IpoConvert.h"
#include "SG_Node.h"

Go to the source code of this file.

Compounds

struct  parentChildLink

Functions

struct Material* give_current_material (struct Object *ob, int act)
void where_is_object (struct Object*)
void BL_ClearConvert ()
unsigned int KX_rgbaint2uint_new (unsigned int icol)
unsigned int KX_Mcol2uint_new (MCol col)
RAS_MeshObjectBL_ConvertMesh (Mesh* mesh,Object* blenderobj)
DT_ShapeHandle CreateShapeFromMesh (RAS_MeshObject* meshobj)
SM_MaterialProps* CreateMaterialFromBlenderObject (struct Object* blenderobject, KX_Scene *kxscene)
SM_ShapeProps* CreateShapePropsFromBlenderObject (struct Object* blenderobject, KX_Scene *kxscene)
void BL_CreateSumoObjectNew (KX_GameObject* gameobj, struct Object* blenderobject, RAS_MeshObject* meshobj, KX_Scene* kxscene, struct Global* glob)
void BL_ConvertBlenderObjects (struct Global* glob, KX_Scene* kxscene, PyObject* pythondictionary, KX_BlenderKeyboardDevice* keydev )

Variables

GEN_Map<CHashedPtr,SCA_IActuator*> map_blender_to_gameactuator
GEN_Map<CHashedPtr,KX_GameObject*> map_blender_to_gameobject
GEN_Map<CHashedPtr,struct
Object*> 
map_gameobject_to_blender
vector<parentChildLinkvec_parent_child
GEN_Map<CHashedPtr,RAS_MeshObject*> map_mesh_to_gamemesh
GEN_Map<CHashedPtr,SCA_IController*> map_blender_to_gamecontroller
GEN_Map<CHashedPtr,DT_ShapeHandle> map_gamemesh_to_sumoshape
BL_IpoMap g_ipoMap
std::vector<RAS_IPolyMaterial*> polymaterialarray
SM_ShapeProps g_shapeProps
SM_MaterialProps g_materialProps


Function Documentation

void BL_ClearConvert ( )
 

Definition at line 87 of file BL_BlenderDataConversion.cpp.

Referenced by Ketsji_Start1().

void BL_ConvertBlenderObjects ( struct Global * glob,
KX_Scene * kxscene,
PyObject * pythondictionary,
KX_BlenderKeyboardDevice * keydev )
 

Definition at line 598 of file BL_BlenderDataConversion.cpp.

Referenced by Ketsji_Start1().

RAS_MeshObject * BL_ConvertMesh ( Mesh * mesh,
Object * blenderobj )
 

Definition at line 153 of file BL_BlenderDataConversion.cpp.

void BL_CreateSumoObjectNew ( KX_GameObject * gameobj,
struct Object * blenderobject,
RAS_MeshObject * meshobj,
KX_Scene * kxscene,
struct Global * glob )
 

Definition at line 483 of file BL_BlenderDataConversion.cpp.

Referenced by BL_ConvertBlenderObjects().

SM_MaterialProps * CreateMaterialFromBlenderObject ( struct Object * blenderobject,
KX_Scene * kxscene )
 

Definition at line 423 of file BL_BlenderDataConversion.cpp.

Referenced by BL_CreateSumoObjectNew().

DT_ShapeHandle CreateShapeFromMesh ( RAS_MeshObject * meshobj )
 

Definition at line 369 of file BL_BlenderDataConversion.cpp.

Referenced by BL_CreateSumoObjectNew().

SM_ShapeProps * CreateShapePropsFromBlenderObject ( struct Object * blenderobject,
KX_Scene * kxscene )
 

Definition at line 452 of file BL_BlenderDataConversion.cpp.

Referenced by BL_CreateSumoObjectNew().

unsigned int KX_Mcol2uint_new ( MCol col )
 

Definition at line 142 of file BL_BlenderDataConversion.cpp.

Referenced by BL_ConvertMesh().

unsigned int KX_rgbaint2uint_new ( unsigned int icol )
 

Definition at line 129 of file BL_BlenderDataConversion.cpp.

Referenced by BL_ConvertMesh().

struct Material* give_current_material ( struct Object * ob,
int act )
 

Referenced by BL_ConvertMesh(), and CreateMaterialFromBlenderObject().

void where_is_object ( struct Object * )
 

Referenced by BL_ConvertBlenderObjects().


Variable Documentation

BL_IpoMap g_ipoMap
 

Definition at line 83 of file BL_BlenderDataConversion.cpp.

SM_MaterialProps g_materialProps
 

Initializer:

{
        1.0,    
        2.0,    
        0.0,    
        0.0,    
        0.0,    
        false   
}

Definition at line 359 of file BL_BlenderDataConversion.cpp.

SM_ShapeProps g_shapeProps
 

Initializer:

{
        1.0,    
        0.4,    
        0.9,    
        0.1,     
        { 1.0, 1.0, 1.0 }, 
        false,   
        false,   
        false    
}

Definition at line 348 of file BL_BlenderDataConversion.cpp.

GEN_Map< CHashedPtr,class SCA_IActuator *> map_blender_to_gameactuator
 

Definition at line 68 of file BL_BlenderDataConversion.cpp.

GEN_Map< CHashedPtr,class SCA_IController *> map_blender_to_gamecontroller
 

Definition at line 79 of file BL_BlenderDataConversion.cpp.

GEN_Map< CHashedPtr,class KX_GameObject *> map_blender_to_gameobject
 

Definition at line 69 of file BL_BlenderDataConversion.cpp.

GEN_Map< CHashedPtr,DT_ShapeHandle > map_gamemesh_to_sumoshape
 

Definition at line 80 of file BL_BlenderDataConversion.cpp.

GEN_Map< CHashedPtr,struct Object *> map_gameobject_to_blender
 

Definition at line 70 of file BL_BlenderDataConversion.cpp.

GEN_Map< CHashedPtr,class RAS_MeshObject *> map_mesh_to_gamemesh
 

Definition at line 78 of file BL_BlenderDataConversion.cpp.

std::vector< RAS_IPolyMaterial *> polymaterialarray
 

Definition at line 85 of file BL_BlenderDataConversion.cpp.

vector< parentChildLink > vec_parent_child
 

Definition at line 76 of file BL_BlenderDataConversion.cpp.


Generated at Thu Feb 1 13:03:13 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000