org.ogre4j
Interface IOptimisedUtil

All Superinterfaces:
INativeObject
All Known Implementing Classes:
OptimisedUtil

public interface IOptimisedUtil
extends INativeObject


Method Summary
 void calculateFaceNormals(FloatPointer positions, IEdgeData.ITriangle triangles, IVector4 faceNormals, int numTriangles)
          Calculate the face normals for the triangles based on position information.
 void calculateLightFacing(IVector4 lightPos, IVector4 faceNormals, BytePointer lightFacings, int numFaces)
          Calculate the light facing state of the triangle's face normals
 void concatenateAffineMatrices(IMatrix4 baseMatrix, IMatrix4 srcMatrices, IMatrix4 dstMatrices, int numMatrices)
          Concatenate an affine matrix to an array of affine matrices.
 void extrudeVertices(IVector4 lightPos, float extrudeDist, FloatPointer srcPositions, FloatPointer destPositions, int numVertices)
          Extruding vertices by a fixed distance based on light position.
 void softwareVertexMorph(float t, FloatPointer srcPos1, FloatPointer srcPos2, FloatPointer dstPos, int numVertices)
          Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes.
 void softwareVertexSkinning(FloatPointer srcPosPtr, FloatPointer destPosPtr, FloatPointer srcNormPtr, FloatPointer destNormPtr, FloatPointer blendWeightPtr, ShortPointer blendIndexPtr, NativeObjectPointer<IMatrix4> blendMatrices, int srcPosStride, int destPosStride, int srcNormStride, int destNormStride, int blendWeightStride, int blendIndexStride, int numWeightsPerVertex, int numVertices)
          Performs software vertex skinning.
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

softwareVertexSkinning

void softwareVertexSkinning(FloatPointer srcPosPtr,
                            FloatPointer destPosPtr,
                            FloatPointer srcNormPtr,
                            FloatPointer destNormPtr,
                            FloatPointer blendWeightPtr,
                            ShortPointer blendIndexPtr,
                            NativeObjectPointer<IMatrix4> blendMatrices,
                            int srcPosStride,
                            int destPosStride,
                            int srcNormStride,
                            int destNormStride,
                            int blendWeightStride,
                            int blendIndexStride,
                            int numWeightsPerVertex,
                            int numVertices)
Performs software vertex skinning.


softwareVertexMorph

void softwareVertexMorph(float t,
                         FloatPointer srcPos1,
                         FloatPointer srcPos2,
                         FloatPointer dstPos,
                         int numVertices)
Performs a software vertex morph, of the kind used for morph animation although it can be used for other purposes.


concatenateAffineMatrices

void concatenateAffineMatrices(IMatrix4 baseMatrix,
                               IMatrix4 srcMatrices,
                               IMatrix4 dstMatrices,
                               int numMatrices)
Concatenate an affine matrix to an array of affine matrices.


calculateFaceNormals

void calculateFaceNormals(FloatPointer positions,
                          IEdgeData.ITriangle triangles,
                          IVector4 faceNormals,
                          int numTriangles)
Calculate the face normals for the triangles based on position information.


calculateLightFacing

void calculateLightFacing(IVector4 lightPos,
                          IVector4 faceNormals,
                          BytePointer lightFacings,
                          int numFaces)
Calculate the light facing state of the triangle's face normals


extrudeVertices

void extrudeVertices(IVector4 lightPos,
                     float extrudeDist,
                     FloatPointer srcPositions,
                     FloatPointer destPositions,
                     int numVertices)
Extruding vertices by a fixed distance based on light position.



Copyright © 2007 netAllied GmbH. All Rights Reserved.