Property | Type | Description | |
---|---|---|---|
InitposeMax | Vector3 | ||
InitposeMin | Vector3 | ||
IsAlphaMaterial | bool[] | ||
Owner | Scene | ||
Skinner | open3mod.CpuSkinningEvaluator |
Method | Description | |
---|---|---|
DrawAlphaMeshes ( Assimp.Node node, Dictionary |
Draw the semi-transparent meshes pertaining to a node
|
|
DrawMesh ( Assimp.Node node, bool animated, bool showGhost, int index, |
Obtains a lock on a mesh and draws it. Also handles mesh overrides.
|
|
DrawOpaqueMeshes ( Assimp.Node node, Dictionary |
Draw the opaque (i.e. not semi-transparent) meshes pertaining to a node and checks whether the node has any semi-transparent meshes to be drawn later.
|
|
InternDrawMesh ( Assimp.Node node, bool animated, bool showGhost, int index, |
Abstract method to draw a mesh attached to a node. This is to be implemented by whichever rendering method should be used. The thread is guaranteed to own the monitor for the |mesh|, making read access to the mesh safe.
|
|
PopWorld ( ) : void | ||
PushWorld ( Matrix4 &world ) : void | ||
RecursiveRender ( Assimp.Node node, Dictionary |
Recursive rendering function
|
|
RecursiveRenderWithAlpha ( Assimp.Node node, Dictionary |
Recursive rendering function for semi-transparent (i.e. alpha-blended) meshes. Alpha blending is not globally on, meshes need to do that on their own. This render function is called _after_ solid geometry has been drawn, so the relative order between transparent and opaque geometry is maintained. There is no further ordering within the alpha rendering pass.
|
|
SceneRendererShared ( Scene owner, Vector3 initposeMin, Vector3 initposeMax ) : System |
Constructs an instance given a scene with its bounds (AABB)
|
|
UploadTextures ( ) : void |
Make sure all textures required for the materials in the scene are uploaded to VRAM.
|
protected DrawAlphaMeshes ( Assimp.Node node, Dictionary |
||
node | Assimp.Node | |
visibleNodes | Dictionary |
|
flags | RenderFlags | |
animated | bool | |
return | void |
protected DrawMesh ( Assimp.Node node, bool animated, bool showGhost, int index, |
||
node | Assimp.Node | |
animated | bool | |
showGhost | bool | |
index | int | |
mesh | ||
flags | RenderFlags | |
return | bool |
protected DrawOpaqueMeshes ( Assimp.Node node, Dictionary |
||
node | Assimp.Node | |
visibleMeshesByNode | Dictionary |
|
flags | RenderFlags | |
animated | bool | |
return | bool |
protected abstract InternDrawMesh ( Assimp.Node node, bool animated, bool showGhost, int index, |
||
node | Assimp.Node | |
animated | bool | |
showGhost | bool | |
index | int | |
mesh | ||
flags | RenderFlags | |
return | bool |
protected abstract PushWorld ( Matrix4 &world ) : void | ||
world | Matrix4 | |
return | void |
protected RecursiveRender ( Assimp.Node node, Dictionary |
||
node | Assimp.Node | Current node |
visibleMeshesByNode | Dictionary |
|
flags | RenderFlags | Rendering flags |
animated | bool | Play animation? |
return | bool |
protected RecursiveRenderWithAlpha ( Assimp.Node node, Dictionary |
||
node | Assimp.Node | Current node |
visibleNodes | Dictionary |
Set of visible meshes |
flags | RenderFlags | Rendering flags |
animated | bool | Play animation? |
return | void |
protected SceneRendererShared ( Scene owner, Vector3 initposeMin, Vector3 initposeMax ) : System | ||
owner | Scene | |
initposeMin | Vector3 | |
initposeMax | Vector3 | |
return | System |