Object 3D node mesh specifically for rendering.
More...
#include <tdme/engine/subsystems/rendering/Object3DNodeMesh.h>
|
| Object3DNodeMesh (Object3DNodeRenderer *object3DNodeRenderer, Engine::AnimationProcessingTarget animationProcessingTarget, Node *node, const vector< map< string, Matrix4x4 * > * > &transformationMatrices, const vector< map< string, Matrix4x4 * > * > &skinningMatrices, int instances) |
| Creates a object3d node mesh from node. More...
|
|
void | computeTransformations (int contextIdx, Object3DBase *object3DBase) |
| Computes mesh transformations. More...
|
|
void | recreateBuffers () |
| Recreates node float buffers. More...
|
|
bool | hasRecreatedBuffers () |
|
bool | getRecreatedBuffers () |
|
void | setupVertexIndicesBuffer (Renderer *renderer, int contextIdx, int32_t vboId) |
| Set up vertex indices buffer. More...
|
|
void | setupTextureCoordinatesBuffer (Renderer *renderer, int contextIdx, int32_t vboId) |
| Set up texture coordinates buffer. More...
|
|
void | setupVerticesBuffer (Renderer *renderer, int contextIdx, int32_t vboId) |
| Set up vertices buffer. More...
|
|
void | setupNormalsBuffer (Renderer *renderer, int contextIdx, int32_t vboId) |
| Set up normals buffer. More...
|
|
void | setupTangentsBuffer (Renderer *renderer, int contextIdx, int32_t vboId) |
| Set up tangents buffer. More...
|
|
void | setupBitangentsBuffer (Renderer *renderer, int contextIdx, int32_t vboId) |
| Set up bitangents buffer. More...
|
|
void | setupOriginsBuffer (Renderer *renderer, int contextIdx, int32_t vboId) |
| Set up render node object origins data buffer. More...
|
|
void | setupLodBuffer (Renderer *renderer, int contextIdx, int32_t vboId, int lodLevel) |
| Set up render node object lod data buffer. More...
|
|
Object 3D node mesh specifically for rendering.
- Author
- Andreas Drewke
Definition at line 37 of file Object3DNodeMesh.h.
◆ Object3DNodeMesh()
Creates a object3d node mesh from node.
- Parameters
-
object3DNodeRenderer | object 3D node renderer |
animationProcessingTarget | animation processing target |
node | node |
transformationMatrices | instances transformationm matrices |
skinningMatrices | instances skinning matrices |
instances | instances |
Definition at line 53 of file Object3DNodeMesh.cpp.
◆ computeTransformations()
void computeTransformations |
( |
int |
contextIdx, |
|
|
Object3DBase * |
object3DBase |
|
) |
| |
|
private |
Computes mesh transformations.
- Parameters
-
contextIdx | context index |
object3DBase | object 3d base |
Definition at line 225 of file Object3DNodeMesh.cpp.
◆ getRecreatedBuffers()
bool getRecreatedBuffers |
( |
| ) |
|
|
private |
◆ hasRecreatedBuffers()
bool hasRecreatedBuffers |
( |
| ) |
|
|
inlineprivate |
◆ recreateBuffers()
◆ setupBitangentsBuffer()
void setupBitangentsBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId |
|
) |
| |
|
private |
Set up bitangents buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
Definition at line 427 of file Object3DNodeMesh.cpp.
◆ setupLodBuffer()
void setupLodBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId, |
|
|
int |
lodLevel |
|
) |
| |
|
private |
Set up render node object lod data buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
lodLevel | LOD level |
Definition at line 454 of file Object3DNodeMesh.cpp.
◆ setupNormalsBuffer()
void setupNormalsBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId |
|
) |
| |
|
private |
Set up normals buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
Definition at line 403 of file Object3DNodeMesh.cpp.
◆ setupOriginsBuffer()
void setupOriginsBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId |
|
) |
| |
|
private |
Set up render node object origins data buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
Definition at line 440 of file Object3DNodeMesh.cpp.
◆ setupTangentsBuffer()
void setupTangentsBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId |
|
) |
| |
|
private |
Set up tangents buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
Definition at line 414 of file Object3DNodeMesh.cpp.
◆ setupTextureCoordinatesBuffer()
void setupTextureCoordinatesBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId |
|
) |
| |
|
private |
Set up texture coordinates buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
Definition at line 379 of file Object3DNodeMesh.cpp.
◆ setupVertexIndicesBuffer()
void setupVertexIndicesBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId |
|
) |
| |
|
private |
Set up vertex indices buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
Definition at line 346 of file Object3DNodeMesh.cpp.
◆ setupVerticesBuffer()
void setupVerticesBuffer |
( |
Renderer * |
renderer, |
|
|
int |
contextIdx, |
|
|
int32_t |
vboId |
|
) |
| |
|
private |
Set up vertices buffer.
- Parameters
-
renderer | renderer |
contextIdx | context index |
vboId | vbo id |
Definition at line 392 of file Object3DNodeMesh.cpp.
◆ EntityRenderer
◆ ModelUtilitiesInternal
◆ Object3DBase
◆ Object3DBase_TransformedFacesIterator
◆ Object3DNode
◆ Object3DNodeRenderer
◆ tdme::engine::subsystems::skinning::SkinningShader
◆ TransparentRenderFacesPool
◆ animationProcessingTarget
◆ bitangents
const vector<Vector3>* bitangents { nullptr } |
|
private |
◆ cNodeTransformationsMatrix
Matrix4x4* cNodeTransformationsMatrix { nullptr } |
|
private |
◆ cSkinningJointTransformationsMatrices
vector<vector<vector<Matrix4x4*> > > cSkinningJointTransformationsMatrices |
|
private |
◆ cSkinningJointWeight
vector<vector<float> > cSkinningJointWeight |
|
private |
◆ cSkinningMaxVertexWeights
int32_t cSkinningMaxVertexWeights |
|
private |
◆ faceCount
◆ indices
◆ instances
◆ jointsSkinningMatrices
vector<vector<Matrix4x4*> > jointsSkinningMatrices |
|
private |
◆ node
◆ normals
const vector<Vector3>* normals { nullptr } |
|
private |
◆ object3DNodeRenderer
◆ recreatedBuffers
◆ skinning
◆ skinningJoints
◆ skinningMatrices
vector<map<string, Matrix4x4*>*> skinningMatrices |
|
private |
◆ tangents
const vector<Vector3>* tangents { nullptr } |
|
private |
◆ textureCoordinates
◆ transformedBitangents
vector<Vector3> transformedBitangents |
|
private |
◆ transformedNormals
◆ transformedTangents
vector<Vector3> transformedTangents |
|
private |
◆ transformedTextureCoordinates
◆ transformedVertices
vector<Vector3> transformedVertices |
|
private |
◆ vertices
const vector<Vector3>* vertices { nullptr } |
|
private |
The documentation for this class was generated from the following files:
- /home/andreas/Development/drewke.net/tdme2/src/tdme/engine/subsystems/rendering/Object3DNodeMesh.h
- /home/andreas/Development/drewke.net/tdme2/src/tdme/engine/subsystems/rendering/Object3DNodeMesh.cpp