SO3Engine/SCOLPack/SCOLScene.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3Animation/SO3Anim.h"
#include "../SO3Animation/SO3AnimTrack.h"
#include "../SO3Animation/SO3VertexAnimation.h"
#include "SO3Anim.h"
#include "../SO3SceneGraph/SO3Scene.h"
#include "../SO3Material/SO3Compositor.h"
#include "../SO3Material/SO3Material.h"
#include "../SO3Material/SO3Texture.h"
#include "../SO3Renderer/SO3Root.h"
#include "../SO3Renderer/SO3Viewport.h"
#include "../SO3Renderer/SO3Window.h"
#include "../SO3SceneGraph/SO3Bone.h"
#include "../SO3SceneGraph/SO3Entity.h"
#include "../SO3SceneGraph/SO3Skeleton.h"

Go to the source code of this file.

Defines

#define NBSCENEPKG   71

Functions

int SO3SceneLoadEntity (mmachine m)
 SO3SceneLoadEntity : create an Entity as a new SO3_Object.
int SO3SceneUnloadResource (mmachine m)
 SO3SceneUnloadResource : Unload a resource from Scene TODO!
int SO3SceneLoadResource (mmachine m)
 SO3SceneLoadResource : Load a resource in Scene.
int SO3SceneCloneAnimation (mmachine m)
 SO3SceneCloneAnimation : Clone a SO3_ANIM in Scene.
int SO3SceneCloneAnimTrack (mmachine m)
 SO3SceneCloneAnimTrack : Clone a SO3_ANIMTRACK in Scene on a given SO3_ANIM DEPRECATED FUNCTION Prototype: fun [SO3_SCENE SO3_OBJECT SO3_ANIM I] SO3_ANIMTRACK.
int SO3SceneLoadResourceMaterial (mmachine m)
 SO3SceneLoadResourceMaterial :Load Resource Material in Scene
Deprecated
int SO3SceneCreateAnimationSequence (mmachine m)
 SO3SceneCreateAnimationSequence : Create a Scene Animation sequence.
int SO3SceneCreate (mmachine m)
 SO3SceneCreate : Create a new scene.
int SO3SceneDelete (mmachine m)
 SO3SceneDelete : destroy a scene.
int SO3SceneClear (mmachine m)
 SO3SceneClear : clear a scene.
int SO3WorldSetFPS (mmachine m)
 SO3WorldSetFPS : defines FPS for physic world.
int SO3WorldSetSize (mmachine m)
 SO3WorldSetSize : function to defines world size.
int SO3SceneSetSkyBox (mmachine m)
 SO3SceneSetSkyBox : function to set a sky box for a scene.
int SO3SceneSetSkyBoxEnable (mmachine m)
 SO3SceneSetSkyBox : function to defines visiblity state for a sky box.
int SO3SceneGetSkyBoxParameters (mmachine m)
 SO3SceneGetSkyBoxParameters : function to get the sky box parameters.
int SO3SceneSetSkyDome (mmachine m)
 SO3SceneSetSkyDome : function to set a sky dome for a scene.
int SO3SceneSetSkyDomeEnable (mmachine m)
 SO3SceneSetSkyDomeEnable : function to defines visiblity state for a sky dome.
int SO3SceneGetSkyDomeParameters (mmachine m)
 SO3SceneGetSkyDomeParameters : function to get the sky dome parameters.
int SO3SceneSetSkyPlane (mmachine m)
 SO3SceneSetSkyPlane : function to set a sky plane for a scene.
int SO3SceneSetSkyPlaneEnable (mmachine m)
 SO3SceneSetSkyPlaneEnable : function to defines visiblity state for a sky plane.
int SO3SceneGetSkyPlaneParameters (mmachine m)
 SO3SceneGetSkyPlaneParameters : function to get the sky plane parameters.
int SO3SceneSetAmbientLight (mmachine m)
 SO3SceneSetAmbientLight : function to defines ambient light of the scene.
int SO3SceneGetAmbientLight (mmachine m)
 SO3SceneGetAmbientLight : function to get the ambient light of the scene.
int SO3SceneGetFogColor (mmachine m)
 SO3SceneGetFogColor : function to get the fog color of the scene.
int SO3SceneGetFogMode (mmachine m)
 SO3SceneGetFogColor : function to get the fog mode of the scene.
int SO3SceneGetFogDensity (mmachine m)
 SO3SceneGetFogDensity : function to get the fog density of the scene.
int SO3SceneGetFogStart (mmachine m)
 SO3SceneGetFogStart : function to get the fog start of the scene.
int SO3SceneGetFogEnd (mmachine m)
 SO3SceneGetFogEnd : function to get the fog end of the scene.
int SO3SceneSetFog (mmachine m)
 SO3SceneSetFog : function to defines fog properties of the scene.
int SO3SceneSetShadowColor (mmachine m)
 SO3SceneSetShadowColor : function to defines shadow color of the scene.
int SO3SceneGetShadowColor (mmachine m)
 SO3SceneGetShadowColor : function to get the shadow color of the scene.
int SO3SceneSetSelfShadowTexture (mmachine m)
 SO3SceneSetSelfShadowTexture : function to defines self shadow texture of the scene.
int SO3SceneSetShadowTextureCount (mmachine m)
 SO3SceneSetShadowTextureCount : function to defines shadow texture count in the scene.
int SO3SceneSetShadowTextureSize (mmachine m)
 SO3SceneSetShadowTextureSize : function to defines shadow texture size of the scene.
int SO3SceneSetDefaultShadowCamera (mmachine m)
 SO3SceneSetDefaultShadowCamera : function to defines default shadow camera.
int SO3SceneSetFocusedShadowCamera (mmachine m)
 SO3SceneSetFocusedShadowCamera : function to set focused shadow camera.
int SO3SceneSetLISPSMShadowCamera (mmachine m)
 SO3SceneSetLISPSMShadowCamera : function to set LISPSM shadow camera.
int SO3SceneSetPlaneShadowCamera (mmachine m)
 SO3SceneSetPlaneShadowCamera : function to set Plane shadow camera.
int SO3SceneSetShadowDirectionalLightExtrusionDistance (mmachine m)
 SO3SceneSetShadowDirectionalLightExtrusionDistance : function to defines shadow directional light extrusion distance.
int SO3SceneSetShadowFarDistance (mmachine m)
 SO3SceneSetShadowFarDistance : function to defines distance maximum for shadows.
int SO3SceneSetShadowTextureFadeStart (mmachine m)
 SO3SceneSetShadowTextureFadeStart : function to defines fade start distance for shadows.
int SO3SceneGetShadowTechnique (mmachine m)
 SO3SceneGetShadowTechnique : function to defines technique for shadows.
int SO3SceneSetShadowTextureFadeEnd (mmachine m)
 SO3SceneSetShadowTextureFadeEnd : function to defines texture fade end for textured shaodw technique.
int SO3SceneSetShadowDirLightTextureOffset (mmachine m)
 SO3SceneSetShadowDirLightTextureOffset : function to defines texture offset.
int SO3SceneGetSelfShadowTexture (mmachine m)
 SO3SceneGetSelfShadowTexture : function to get the self shadow texture.
int SO3SceneGetShadowCameraSetup (mmachine m)
 SO3SceneGetShadowCameraSetup : function to get the shadow camera setup mode.
int SO3SceneGetShadowDirectionalLightExtrusionDistance (mmachine m)
 SO3SceneGetShadowDirectionalLightExtrusionDistance : function to get the shadows direction light extrusion distance.
int SO3SceneGetShadowFarDistance (mmachine m)
 SO3SceneGetShadowFarDistance : function to get the shadows far distance.
int SO3SceneGetShadowDirLightTextureOffset (mmachine m)
 SO3SceneGetShadowDirLightTextureOffset : function to get the shadows direction light texture offset.
int SO3SceneGetShadowTextureCount (mmachine m)
 SO3SceneGetShadowTextureCount : function to get the shadows texture count.
int SO3SceneSetShadowTechnique (mmachine m)
 SO3SceneSetShadowTechnique : function to get the shadows technique.
int SO3SceneSetShadowCaster (mmachine m)
 SO3SceneSetShadowCaster : function to defines shadows caster.
int SO3SceneSetShadowReceiver (mmachine m)
 SO3SceneSetShadowReceiver : function to defines shadows receiver.
int SO3SceneGetShadowCaster (mmachine m)
 SO3SceneGetShadowCaster : function to retrieve shadows caster material name.
int SO3SceneGetShadowReceiver (mmachine m)
 SO3SceneGetShadowReceiver : function to retrieve shadows receiver.
int SO3SceneGetNode (mmachine m)
 SO3SceneGetNode : return a scene node by its name.
int SO3SceneGetObject (mmachine m)
 SO3SceneGetObject : return a scene object by its name.
int SO3SceneNodeCreate (mmachine m)
 SO3SceneNodeCreate : Create a new node.
int SO3SceneParseMaterialsFromGroup (mmachine m)
 SO3SceneParseMaterialsFromGroup : Return the list of materials from a group name.
int SO3SceneParseNotLoadedMaterialsFromGroup (mmachine m)
 SO3SceneParseNotLoadedMaterialsFromGroup : Return the list of materials not already in use from a group name.
int SO3SceneParseCompositorsFromGroup (mmachine m)
 SO3SceneParseCompositorsFromGroup : Return the list of compositors from a group name.
int SO3SceneParseSchemeFromGroup (mmachine m)
 SO3SceneParseSchemeFromGroup : Return the list of material scheme from a group name.
int SO3SceneParseParticleSystemsFromGroup (mmachine m)
 SO3SceneParseParticleSystemsFromGroup : Return the list of particle systems from a group name.
int SO3SceneGetMaterial (mmachine m)
 SO3SceneGetMaterial : Return a material by its name.
int SO3SceneGetTexture (mmachine m)
 SO3SceneGetTexture : Return a texture by its name.
int SO3PlaneCreate (mmachine m)
 SO3PlaneCreate : create a plane as a SO3_OBJECT.
int SO3SceneGetAnimation (mmachine m)
 SO3SceneGetAnimation : return an animation by its name.
int SO3SceneGetAnimations (mmachine m)
 SO3SceneGetAnimations : Return the list of animations on a scene.
int SO3SceneGetNumAnimations (mmachine m)
 SO3SceneGetNumAnimations : return an animation by its name.
int SO3CbScenePreRender (mmachine m)
 SO3CbScenePreRender : defines callback for pre render event.
int SO3CbScenePostRender (mmachine m)
 SO3CbScenePostRender : defines callback for post render event.
int getScenePreRenderEvent (mmachine m, WindowHandle h, unsigned msg, UINT id, LONG param, int *ret)
int getScenePostRenderEvent (mmachine m, WindowHandle h, unsigned msg, UINT id, LONG param, int *ret)
int SCOLloadScene (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.

Variables

int SCENE_PRE_RENDER_EVENT
 main include
int SCENE_POST_RENDER_EVENT
SRootscolRoot
char * SCENEname [NBSCENEPKG]
int(* SCENEFunc [NBSCENEPKG])(mmachine m)
int SCENEnarg [NBSCENEPKG]
char * SCENEType [NBSCENEPKG]

Define Documentation

#define NBSCENEPKG   71

Nb of Scol functions or types

Definition at line 4299 of file SCOLScene.cpp.


Function Documentation

int getScenePostRenderEvent ( mmachine  m,
WindowHandle  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 4278 of file SCOLScene.cpp.

int getScenePreRenderEvent ( mmachine  m,
WindowHandle  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

Definition at line 4261 of file SCOLScene.cpp.

int SCOLloadScene ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 4623 of file SCOLScene.cpp.


Variable Documentation

Definition at line 124 of file SO3SCOL.cpp.

main include

global declarations

Definition at line 123 of file SO3SCOL.cpp.

int(* SCENEFunc[NBSCENEPKG])(mmachine m)

Nb of arguments of each scol function

Definition at line 4384 of file SCOLScene.cpp.

char* SCENEname[NBSCENEPKG]

Pointers to C functions that manipulate the VM for each scol function previously defined

Definition at line 4305 of file SCOLScene.cpp.

int SCENEnarg[NBSCENEPKG]

Nb of arguments of each scol function

Definition at line 4463 of file SCOLScene.cpp.

char* SCENEType[NBSCENEPKG]

Prototypes of the scol functions

Definition at line 4542 of file SCOLScene.cpp.

Definition at line 120 of file SO3SCOL.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:32 2011 for SO3Engine by  doxygen 1.6.3