Méthode | Description | |
---|---|---|
CPUGenerator ( SlimDX.Direct3D11.Device graphicsDevice, |
||
Dispose ( ) : void | ||
GenerateFromFormula ( int width, int height, int depth ) : void |
Generates mesh using mathematical functions.
|
|
GenerateFromNoiseCube ( int width, int height, int depth ) : void |
Generates mesh using some random values interpolated with trilinear interpolation.
|
|
GenerateFromNoiseCubeWithWarp ( int width, int height, int depth ) : void |
Generates mesh using some random values interpolated with trilinear interpolation. Uses coordinates transformed with warp values.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Méthode | Description | |
---|---|---|
ComputeAmbient ( |
Computes ambient color for each voxel.
|
|
ComputeNormal ( |
Computes normal vectors based on weight of each voxel.
|
|
ComputeTriangles ( |
Computes triangle positions and normal vectors based on array of voxels.
|
|
CreateGeometryBuffer ( List |
Creates shader vertex buffer based on computed triangles.
|
public CPUGenerator ( SlimDX.Direct3D11.Device graphicsDevice, |
||
graphicsDevice | SlimDX.Direct3D11.Device | |
container | ||
Résultat | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public GenerateFromFormula ( int width, int height, int depth ) : void | ||
width | int | Mesh width. |
height | int | Mesh height. |
depth | int | Mesh depth. |
Résultat | void |
public GenerateFromNoiseCube ( int width, int height, int depth ) : void | ||
width | int | Mesh widht. |
height | int | Mesh height. |
depth | int | Mesh depth. |
Résultat | void |
public GenerateFromNoiseCubeWithWarp ( int width, int height, int depth ) : void | ||
width | int | Mesh widht. |
height | int | Mesh height. |
depth | int | Mesh depth. |
Résultat | void |