From d41654b469fa51870b5952c836c04d9da17f32d3 Mon Sep 17 00:00:00 2001 From: Anton Novoselov Date: Tue, 8 Aug 2017 20:14:22 +0300 Subject: Updated to CL 22627414: * docs updates * authoring fixes * stress solver crash fixes --- docs/api_docs/files/pageextauthoring.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/api_docs/files/pageextauthoring.html') diff --git a/docs/api_docs/files/pageextauthoring.html b/docs/api_docs/files/pageextauthoring.html index 85cd03b..19e6f8e 100644 --- a/docs/api_docs/files/pageextauthoring.html +++ b/docs/api_docs/files/pageextauthoring.html @@ -21,36 +21,36 @@

Asset Authoring (NvBlastExtAuthoring)

The Authoring extension provides tools for creation of a Blast™ asset from a provided mesh.

-There are three tools for creation Blast asset.

-First one is FractureTool (see NvBlastExtAuthoringFractureTool.h) which is used to fracture an input mesh. It supports Voronoi fracturing and also simple slicing. Internal surfaces of output chunks can be tesselated and noise can be applied to them. The slicing method supports slicing with a noisy slicing surface, which allows the creation of a jagged slicing line. Noisy slicing is switched on by setting a non-zero noise amplitude in slicing parameters (Nv::Blast::SlicingConfiguration).

+There are four tools for creation of Blast™ assets.


FractureTool

-Nv::Blast::FractureTool supports two types of output:

+Nv::Blast::FractureTool (see NvBlastExtAuthoringFractureTool.h) is used to fracture an input mesh. It supports Voronoi fracturing and also simple slicing. Internal surfaces of output chunks can be tesselated and noise can be applied to them. The slicing method supports slicing with a noisy slicing surface, which allows the creation of a jagged slicing line. Noisy slicing is switched on by setting a non-zero noise amplitude in slicing parameters (Nv::Blast::SlicingConfiguration).

+FractureTool supports two types of output:

1) Array of triangles - the tool fills provided array with triangles of chunk, ID of chunk should be provided.

-2) Buffered output - tool fills provided array with vertices, and another array of arrays with indices. Indices form triplets of vertices of triangle.

+2) Buffered output - the tool fills provided array with vertices, and another array of arrays with indices. Indices form triplets of vertices of triangle.


ConvexMeshBuilder

-Nv::Blast::ConvexMeshBuilder is tool for creation collision geometry for physics engine. It recieves mesh vertices, and returns convex hull of that vertices. If creation of convex hull fails, tool creates collision geometry as a bounding box of provided vertices.

-Tool provides method to trim convex hulls against each other. It can be used along with noisy slicing to avoid "explosive" behavior due to penetration of neighboor collision hulls into each other. As a drawback penetration of render meshes into each other is possible due to trimmed collision geometry.

+Nv::Blast::ConvexMeshBuilder is a tool for creation of collision geometry for physics engine. It recieves mesh vertices, and returns the convex hull of those vertices. If creation of a convex hull fails, the tool creates collision geometry as a bounding box of provided vertices.

+The tool provides a method to trim convex hulls against each other. It can be used along with noisy slicing to avoid "explosive" behavior due to penetration of neighboring collision hulls into each other. As a drawback, penetration of render meshes into each other is possible due to trimmed collision geometry.


BondGenerator

-Nv::Blast::BlastBondGenerator tool for creation Blast Bond descriptors from provided geometry data. It has separate method which is optimized for working FractureTool.
int32_t Nv::Blast::BlastBondGenerator::buildDescFromInternalFracture(FractureTool* tool, const std::vector<bool>& chunkIsSupport, std::vector<NvBlastBondDesc>& resultBondDescs, std::vector<NvBlastChunkDesc>& resultChunkDescriptors);
+Nv::Blast::BlastBondGenerator is a tool for creation of Blast™ Bond descriptors from provided geometry data. It has separate a method which is optimized for working FractureTool. 
int32_t Nv::Blast::BlastBondGenerator::buildDescFromInternalFracture(FractureTool* tool, const std::vector<bool>& chunkIsSupport, std::vector<NvBlastBondDesc>& resultBondDescs, std::vector<NvBlastChunkDesc>& resultChunkDescriptors);
 

-Other methods can work with prefractured mesh created in Third party tool, and can be used for converting prefractured models to Blast assets.

+Other methods can work with prefractured meshes created in Third party tools, and can be used for converting prefractured models to Blast™ assets.

Nv::Blast::BlastBondGenerator supports two modes of NvBlastBond data generation:

1) Exact - in this mode exact common surface between chunks is found and considered as interface between them. Exact normal, area and centroid are computed.

-2) Average - this mode uses approximations of interface, and can be used for gathering NvBlastBond data for assets, where chunks penetrate each other, e.g. chunks with noise.

+2) Average - this mode uses approximations of the interface, and can be used for gathering NvBlastBond data for assets, where chunks penetrate each other, e.g. chunks with noise.


MeshCleaner

-Nv::Blast::MeshCleaner can be used to remove self intersections and open edges in interior of mesh, making it more likely to fracture well.

+Nv::Blast::MeshCleaner can be used to remove self intersections and open edges in the interior of a mesh, making it more likely to fracture well.

To use it, create a MeshCleaner using

-Given an Nv::Blast::Mesh called "mesh," simply call

+Given an Nv::Blast::Mesh called "mesh", simply call

Nv::Blast::Mesh* newMesh = cleaner->cleanMesh(mesh);
 

If successful, newMesh will be a valid pointer to the cleaned mesh. Otherwise, newMesh will be NULL.

-- cgit v1.2.3