C# Class OpenMetaverse.Rendering.MeshmerizerR

Inheritance: OpenMetaverse.Rendering.IRendering
Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Méthodes publiques

Méthode Description
GenerateFacetedMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : FacetedMesh

Generates a a series of faces, each face containing a mesh and metadata

GenerateFacetedSculptMesh ( OpenMetaverse prim, System scupltTexture, OpenMetaverse.Rendering lod ) : FacetedMesh

Create a sculpty faceted mesh. The actual scuplt texture is fetched and passed to this routine since all the context for finding teh texture is elsewhere.

GenerateSimpleMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : SimpleMesh

Generates a basic mesh structure from a primitive

GenerateSimpleSculptMesh ( OpenMetaverse prim, System sculptTexture, OpenMetaverse.Rendering lod ) : SimpleMesh

Generates a basic mesh structure from a sculpted primitive

TransformTexCoords ( List vertices, OpenMetaverse center, OpenMetaverse teFace ) : void

Apply texture coordinate modifications from a TextureEntryFace to a list of vertices

Private Methods

Méthode Description
GeneratePrimMesh ( Primitive prim, DetailLevel lod, bool viewerMode ) : PrimMesher.PrimMesh

Method Details

GenerateFacetedMesh() public méthode

Generates a a series of faces, each face containing a mesh and metadata
public GenerateFacetedMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : FacetedMesh
prim OpenMetaverse Primitive to generate the mesh from
lod OpenMetaverse.Rendering Level of detail to generate the mesh at
Résultat FacetedMesh

GenerateFacetedSculptMesh() public méthode

Create a sculpty faceted mesh. The actual scuplt texture is fetched and passed to this routine since all the context for finding teh texture is elsewhere.
public GenerateFacetedSculptMesh ( OpenMetaverse prim, System scupltTexture, OpenMetaverse.Rendering lod ) : FacetedMesh
prim OpenMetaverse
scupltTexture System
lod OpenMetaverse.Rendering
Résultat FacetedMesh

GenerateSimpleMesh() public méthode

Generates a basic mesh structure from a primitive
public GenerateSimpleMesh ( OpenMetaverse prim, OpenMetaverse.Rendering lod ) : SimpleMesh
prim OpenMetaverse Primitive to generate the mesh from
lod OpenMetaverse.Rendering Level of detail to generate the mesh at
Résultat SimpleMesh

GenerateSimpleSculptMesh() public méthode

Generates a basic mesh structure from a sculpted primitive
public GenerateSimpleSculptMesh ( OpenMetaverse prim, System sculptTexture, OpenMetaverse.Rendering lod ) : SimpleMesh
prim OpenMetaverse Sculpted primitive to generate the mesh from
sculptTexture System Sculpt texture
lod OpenMetaverse.Rendering Level of detail to generate the mesh at
Résultat SimpleMesh

TransformTexCoords() public méthode

Apply texture coordinate modifications from a TextureEntryFace to a list of vertices
public TransformTexCoords ( List vertices, OpenMetaverse center, OpenMetaverse teFace ) : void
vertices List Vertex list to modify texture coordinates for
center OpenMetaverse Center-point of the face
teFace OpenMetaverse Face texture parameters
Résultat void