From b0c11962f6012430da3bcaa2727288046b33d648 Mon Sep 17 00:00:00 2001 From: Bryan Galdrikian Date: Tue, 24 Oct 2017 15:25:02 -0700 Subject: Changes for 1.1.1 See README.md --- docs/api_docs/files/_nv_blast_8h-source.html | 4 +- docs/api_docs/files/_nv_blast_8h.html | 6 +- .../files/_nv_blast_debug_render_8h-source.html | 86 +++++++ docs/api_docs/files/_nv_blast_debug_render_8h.html | 45 ++++ .../files/_nv_blast_ext_asset_utils_8h-source.html | 42 ++-- .../files/_nv_blast_ext_asset_utils_8h.html | 39 +++- .../files/_nv_blast_ext_authoring_8h-source.html | 81 +++++-- .../api_docs/files/_nv_blast_ext_authoring_8h.html | 197 +++++++++++++++- ...ast_ext_authoring_bond_generator_8h-source.html | 20 +- ..._ext_authoring_collision_builder_8h-source.html | 67 ++++-- ...v_blast_ext_authoring_collision_builder_8h.html | 2 + ...last_ext_authoring_fracture_tool_8h-source.html | 18 +- .../_nv_blast_ext_authoring_types_8h-source.html | 4 +- .../_nv_blast_ext_damage_shaders_8h-source.html | 197 ++++++++++------ .../files/_nv_blast_ext_damage_shaders_8h.html | 256 +++++++++++++++------ .../files/_nv_blast_ext_px_asset_8h-source.html | 196 ++++++++-------- .../files/_nv_blast_ext_px_family_8h-source.html | 190 +++++++-------- .../files/_nv_blast_ext_px_manager_8h-source.html | 2 +- .../files/_nv_blast_tk_actor_8h-source.html | 36 ++- .../files/_nv_blast_tk_family_8h-source.html | 18 +- docs/api_docs/files/_nv_blast_types_8h-source.html | 82 ++++--- docs/api_docs/files/_nv_blast_types_8h.html | 18 +- docs/api_docs/files/annotated.html | 10 +- ...1_1_blast_1_1_blast_bond_generator-members.html | 3 +- ...lass_nv_1_1_blast_1_1_blast_bond_generator.html | 73 +++++- ..._1_1_blast_1_1_convex_mesh_builder-members.html | 1 + ...class_nv_1_1_blast_1_1_convex_mesh_builder.html | 43 ++++ ...lass_nv_1_1_blast_1_1_ext_px_asset-members.html | 2 + .../files/class_nv_1_1_blast_1_1_ext_px_asset.html | 44 ++++ ...ass_nv_1_1_blast_1_1_ext_px_family-members.html | 4 +- .../class_nv_1_1_blast_1_1_ext_px_family.html | 59 ++++- ...ass_nv_1_1_blast_1_1_fracture_tool-members.html | 2 + .../class_nv_1_1_blast_1_1_fracture_tool.html | 59 +++++ .../class_nv_1_1_blast_1_1_tk_actor-members.html | 6 +- .../files/class_nv_1_1_blast_1_1_tk_actor.html | 113 +-------- .../class_nv_1_1_blast_1_1_tk_family-members.html | 2 - .../files/class_nv_1_1_blast_1_1_tk_family.html | 51 ---- ...ss_nv_blast_ext_damage_accelerator-members.html | 32 +++ .../class_nv_blast_ext_damage_accelerator.html | 93 ++++++++ docs/api_docs/files/classes.html | 33 +-- docs/api_docs/files/files.html | 1 + docs/api_docs/files/functions.html | 19 +- docs/api_docs/files/functions_0x62.html | 12 +- docs/api_docs/files/functions_0x63.html | 30 +-- docs/api_docs/files/functions_0x64.html | 24 +- docs/api_docs/files/functions_0x66.html | 21 +- docs/api_docs/files/functions_0x67.html | 22 +- docs/api_docs/files/functions_0x6c.html | 4 +- docs/api_docs/files/functions_0x6d.html | 12 +- docs/api_docs/files/functions_0x6e.html | 8 +- docs/api_docs/files/functions_0x70.html | 17 +- docs/api_docs/files/functions_0x72.html | 11 +- docs/api_docs/files/functions_0x73.html | 15 +- docs/api_docs/files/functions_0x75.html | 25 +- docs/api_docs/files/functions_0x76.html | 2 + docs/api_docs/files/functions_func_0x62.html | 4 +- docs/api_docs/files/functions_func_0x63.html | 18 +- docs/api_docs/files/functions_func_0x64.html | 5 +- docs/api_docs/files/functions_func_0x66.html | 5 +- docs/api_docs/files/functions_func_0x67.html | 24 +- docs/api_docs/files/functions_func_0x6e.html | 2 + docs/api_docs/files/functions_func_0x72.html | 7 +- docs/api_docs/files/functions_func_0x73.html | 5 +- docs/api_docs/files/functions_func_0x75.html | 10 +- docs/api_docs/files/functions_vars.html | 23 +- docs/api_docs/files/functions_vars_0x63.html | 10 +- docs/api_docs/files/functions_vars_0x64.html | 14 +- docs/api_docs/files/functions_vars_0x67.html | 2 + docs/api_docs/files/functions_vars_0x6c.html | 2 + docs/api_docs/files/functions_vars_0x6d.html | 16 +- docs/api_docs/files/functions_vars_0x6e.html | 2 + docs/api_docs/files/functions_vars_0x70.html | 17 +- docs/api_docs/files/functions_vars_0x73.html | 2 +- docs/api_docs/files/functions_vars_0x75.html | 2 +- docs/api_docs/files/functions_vars_0x76.html | 6 +- docs/api_docs/files/globals.html | 48 ++-- docs/api_docs/files/globals_func.html | 44 ++-- docs/api_docs/files/globals_type.html | 4 +- docs/api_docs/files/hierarchy.html | 10 +- docs/api_docs/files/namespace_nv_1_1_blast.html | 6 + docs/api_docs/files/pagecopyrights.html | 34 +++ docs/api_docs/files/pageextassetutils.html | 2 +- docs/api_docs/files/pageextshaders.html | 8 +- docs/api_docs/files/pagehlapi.html | 4 +- docs/api_docs/files/pagellapi.html | 10 +- docs/api_docs/files/pagereleasenotes.html | 35 +++ ..._nv_1_1_blast_1_1_collision_params-members.html | 34 +++ .../struct_nv_1_1_blast_1_1_collision_params.html | 121 ++++++++++ ...ruct_nv_1_1_blast_1_1_debug_buffer-members.html | 32 +++ .../struct_nv_1_1_blast_1_1_debug_buffer.html | 77 +++++++ ...struct_nv_1_1_blast_1_1_debug_line-members.html | 35 +++ .../files/struct_nv_1_1_blast_1_1_debug_line.html | 150 ++++++++++++ ...v_1_1_blast_1_1_ext_px_family_desc-members.html | 2 +- ...struct_nv_1_1_blast_1_1_ext_px_family_desc.html | 8 +- .../struct_nv_1_1_blast_1_1_facet-members.html | 4 +- .../files/struct_nv_1_1_blast_1_1_facet.html | 12 +- ..._1_blast_1_1_slicing_configuration-members.html | 2 +- ...uct_nv_1_1_blast_1_1_slicing_configuration.html | 6 +- .../files/struct_nv_1_1_blast_1_1_tk_event.html | 2 +- .../files/struct_nv_blast_bond_fracture_data.html | 2 +- .../files/struct_nv_blast_chunk_fracture_data.html | 2 +- .../files/struct_nv_blast_damage_program.html | 10 +- ...ast_ext_capsule_radial_damage_desc-members.html | 35 +++ ...ct_nv_blast_ext_capsule_radial_damage_desc.html | 141 ++++++++++++ ...last_ext_impact_spread_damage_desc-members.html | 34 +++ ...uct_nv_blast_ext_impact_spread_damage_desc.html | 121 ++++++++++ .../files/struct_nv_blast_ext_material.html | 2 +- ...struct_nv_blast_ext_program_params-members.html | 34 +++ .../files/struct_nv_blast_ext_program_params.html | 140 +++++++++++ ...ast_ext_segment_radial_damage_desc-members.html | 35 --- ...ct_nv_blast_ext_segment_radial_damage_desc.html | 141 ------------ ..._triangle_intersection_damage_desc-members.html | 34 +++ ...last_ext_triangle_intersection_damage_desc.html | 121 ++++++++++ .../files/struct_nv_blast_fracture_buffers.html | 2 +- ...struct_nv_blast_graph_shader_actor-members.html | 4 + .../files/struct_nv_blast_graph_shader_actor.html | 80 +++++++ .../struct_nv_blast_program_params-members.html | 33 --- .../files/struct_nv_blast_program_params.html | 104 --------- docs/api_docs/files/tree.html | 21 +- 119 files changed, 3176 insertions(+), 1245 deletions(-) create mode 100644 docs/api_docs/files/_nv_blast_debug_render_8h-source.html create mode 100644 docs/api_docs/files/_nv_blast_debug_render_8h.html create mode 100644 docs/api_docs/files/class_nv_blast_ext_damage_accelerator-members.html create mode 100644 docs/api_docs/files/class_nv_blast_ext_damage_accelerator.html create mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_collision_params-members.html create mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_collision_params.html create mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_debug_buffer-members.html create mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_debug_buffer.html create mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_debug_line-members.html create mode 100644 docs/api_docs/files/struct_nv_1_1_blast_1_1_debug_line.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_capsule_radial_damage_desc-members.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_capsule_radial_damage_desc.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_impact_spread_damage_desc-members.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_impact_spread_damage_desc.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_program_params-members.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_program_params.html delete mode 100644 docs/api_docs/files/struct_nv_blast_ext_segment_radial_damage_desc-members.html delete mode 100644 docs/api_docs/files/struct_nv_blast_ext_segment_radial_damage_desc.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_triangle_intersection_damage_desc-members.html create mode 100644 docs/api_docs/files/struct_nv_blast_ext_triangle_intersection_damage_desc.html delete mode 100644 docs/api_docs/files/struct_nv_blast_program_params-members.html delete mode 100644 docs/api_docs/files/struct_nv_blast_program_params.html (limited to 'docs/api_docs') diff --git a/docs/api_docs/files/_nv_blast_8h-source.html b/docs/api_docs/files/_nv_blast_8h-source.html index f6bd425..0a9a3c1 100644 --- a/docs/api_docs/files/_nv_blast_8h-source.html +++ b/docs/api_docs/files/_nv_blast_8h-source.html @@ -236,12 +236,12 @@ 00710 00712 // NvBlastActor damage and fracturing functions 00715 -00738 NVBLAST_API void NvBlastActorGenerateFracture +00738 NVBLAST_API void NvBlastActorGenerateFracture 00739 ( 00740 NvBlastFractureBuffers* commandBuffers, 00741 const NvBlastActor* actor, 00742 const NvBlastDamageProgram program, -00743 const NvBlastProgramParams* programParams, +00743 const void* programParams, 00744 NvBlastLog logFn, 00745 NvBlastTimers* timers 00746 ); diff --git a/docs/api_docs/files/_nv_blast_8h.html b/docs/api_docs/files/_nv_blast_8h.html index a4e5ddc..bc68d84 100644 --- a/docs/api_docs/files/_nv_blast_8h.html +++ b/docs/api_docs/files/_nv_blast_8h.html @@ -31,7 +31,7 @@ bool NvBlastActorCanFracture (const NvBlastActor *actor, NvBlastLog logFn) -void NvBlastActorGenerateFracture (NvBlastFractureBuffers *commandBuffers, const NvBlastActor *actor, const NvBlastDamageProgram program, const NvBlastProgramParams *programParams, NvBlastLog logFn, NvBlastTimers *timers) +void NvBlastActorGenerateFracture (NvBlastFractureBuffers *commandBuffers, const NvBlastActor *actor, const NvBlastDamageProgram program, const void *programParams, NvBlastLog logFn, NvBlastTimers *timers) uint32_t NvBlastActorGetMaxActorCountForSplit (const NvBlastActor *actor, NvBlastLog logFn) @@ -280,7 +280,7 @@ Deactivate an actor within its family. Conceptually this is "destroying" the act

- +

@@ -305,7 +305,7 @@ Deactivate an actor within its family. Conceptually this is "destroying" the act - + diff --git a/docs/api_docs/files/_nv_blast_debug_render_8h-source.html b/docs/api_docs/files/_nv_blast_debug_render_8h-source.html new file mode 100644 index 0000000..bab7a7d --- /dev/null +++ b/docs/api_docs/files/_nv_blast_debug_render_8h-source.html @@ -0,0 +1,86 @@ + + + NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/globals/include/NvBlastDebugRender.h Source File + + + + + + + +

sdk/globals/include/NvBlastDebugRender.h

Go to the documentation of this file.
00001 // This code contains NVIDIA Confidential Information and is disclosed to you
+00002 // under a form of NVIDIA software license agreement provided separately to you.
+00003 //
+00004 // Notice
+00005 // NVIDIA Corporation and its licensors retain all intellectual property and
+00006 // proprietary rights in and to this software and related documentation and
+00007 // any modifications thereto. Any use, reproduction, disclosure, or
+00008 // distribution of this software and related documentation without an express
+00009 // license agreement from NVIDIA Corporation is strictly prohibited.
+00010 //
+00011 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
+00012 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
+00013 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
+00014 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
+00015 //
+00016 // Information and code furnished is believed to be accurate and reliable.
+00017 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
+00018 // information or for any infringement of patents or other rights of third parties that may
+00019 // result from its use. No license is granted by implication or otherwise under any patent
+00020 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
+00021 // This code supersedes and replaces all information previously supplied.
+00022 // NVIDIA Corporation products are not authorized for use as critical
+00023 // components in life support devices or systems without express written approval of
+00024 // NVIDIA Corporation.
+00025 //
+00026 // Copyright (c) 2016-2017 NVIDIA Corporation. All rights reserved.
+00027 
+00028 #pragma once
+00029 
+00030 #include <NvCTypes.h>
+00031 
+00032 namespace Nv
+00033 {
+00034 namespace Blast
+00035 {
+00036 
+00037 
+00041 struct DebugLine
+00042 {
+00043     DebugLine(const NvcVec3& p0, const NvcVec3& p1, uint32_t c)
+00044         : pos0(p0), color0(c), pos1(p1), color1(c) {}
+00045 
+00046     NvcVec3         pos0;
+00047     uint32_t        color0;
+00048     NvcVec3         pos1;
+00049     uint32_t        color1;
+00050 };
+00051 
+00052 
+00056 struct DebugBuffer
+00057 {
+00058     const DebugLine* lines;
+00059     uint32_t         lineCount;
+00060 };
+00061 
+00062 
+00063 } // namespace Blast
+00064 } // namespace Nv
+
+ + + + diff --git a/docs/api_docs/files/_nv_blast_debug_render_8h.html b/docs/api_docs/files/_nv_blast_debug_render_8h.html new file mode 100644 index 0000000..caebbe9 --- /dev/null +++ b/docs/api_docs/files/_nv_blast_debug_render_8h.html @@ -0,0 +1,45 @@ + + + NVIDIA(R) Blast(R) SDK 1.1 API Reference: sdk/globals/include/NvBlastDebugRender.h File Reference + + + + + + + +
+

sdk/globals/include/NvBlastDebugRender.h File Reference

#include <NvCTypes.h>
+ +

+Go to the source code of this file.

const NvBlastProgramParamsconst void *  programParams,
+ + + + + + + + + + + +

Classes

struct  Nv::Blast::DebugBuffer
struct  Nv::Blast::DebugLine

Namespaces

namespace  Nv
namespace  Nv::Blast
+
+ + + + diff --git a/docs/api_docs/files/_nv_blast_ext_asset_utils_8h-source.html b/docs/api_docs/files/_nv_blast_ext_asset_utils_8h-source.html index 24be86e..28e5c43 100644 --- a/docs/api_docs/files/_nv_blast_ext_asset_utils_8h-source.html +++ b/docs/api_docs/files/_nv_blast_ext_asset_utils_8h-source.html @@ -72,26 +72,30 @@ 00069 }; 00070 00071 -00096 NVBLAST_API NvBlastAssetDesc NvBlastExtAssetUtilsMergeAssets -00097 ( -00098 const NvBlastAsset** components, -00099 const NvcQuat* rotations, -00100 const NvcVec3* translations, -00101 uint32_t componentCount, -00102 const NvBlastExtAssetUtilsBondDesc* newBondDescs, -00103 uint32_t newBondCount -00104 ); -00105 -00106 -00117 NVBLAST_API void NvBlastExtAssetTransformInPlace -00118 ( -00119 NvBlastAsset* asset, -00120 const NvcVec3* scale, -00121 const NvcQuat* rotation, -00122 const NvcVec3* translation -00123 ); +00110 NVBLAST_API NvBlastAssetDesc NvBlastExtAssetUtilsMergeAssets +00111 ( +00112 const NvBlastAsset** components, +00113 const NvcVec3* scales, +00114 const NvcQuat* rotations, +00115 const NvcVec3* translations, +00116 uint32_t componentCount, +00117 const NvBlastExtAssetUtilsBondDesc* newBondDescs, +00118 uint32_t newBondCount, +00119 uint32_t* chunkIndexOffsets, +00120 uint32_t* chunkReorderMap, +00121 uint32_t chunkReorderMapSize +00122 ); +00123 00124 -00125 #endif // ifndef NVBLASTEXTASSETUTILS_H +00135 NVBLAST_API void NvBlastExtAssetTransformInPlace +00136 ( +00137 NvBlastAsset* asset, +00138 const NvcVec3* scale, +00139 const NvcQuat* rotation, +00140 const NvcVec3* translation +00141 ); +00142 +00143 #endif // ifndef NVBLASTEXTASSETUTILS_H

- +

@@ -157,6 +157,12 @@ Reauthor the provided asset to bond the specified support chunks to the world.

const NvBlastAsset ** 

+ + + + + + @@ -185,7 +191,25 @@ Reauthor the provided asset to bond the specified support chunks to the world.

- + + + + + + + + + + + + + + + + + + + @@ -200,15 +224,20 @@ Reauthor the provided asset to bond the specified support chunks to the world.

New bond descriptors may be given to bond support chunks from different components.

An NvBlastAsset may appear more than once in the components array.

+This function will call NvBlastEnsureAssetExactSupportCoverage on the returned chunk descriptors. It will also call NvBlastReorderAssetDescChunks if the user passes in valid arrays for chunkReorderMap and chunkReorderMapSize. Otherwise, the user must ensure that the returned chunk descriptors are in a valid order is valid before using them.

NOTE: This function allocates memory using the allocator in NvBlastGlobals, to create the new chunk and bond descriptor arrays referenced in the returned NvBlastAssetDesc. The user must free this memory after use with NVBLAST_FREE appied to the pointers in the returned NvBlastAssetDesc.

Parameters:
components,
const NvcVec3 scales,
uint32_t  newBondCount  newBondCount,
uint32_t *  chunkIndexOffsets,
uint32_t *  chunkReorderMap,
uint32_t  chunkReorderMapSize 
+ - + - + + + +
[in] components An array of assets to merge, of size componentCount.
[in] scales An array of scales to apply to the geometric data in the chunks and bonds. If NULL, no scales are applied. If not NULL, the array must be of size componentCount.
[in] rotations An array of rotations to apply to the geometric data in the chunks and bonds, stored quaternion format. The quaternions MUST be normalized. If NULL, no rotations are applied. If not NULL, the array must be of size componentCount.
[in] translations An array of transforms to apply to the geometric data in the chunks and bonds. If NULL, no translations are applied. If not NULL, the array must be of size componentCount.
[in] translations An array of translations to apply to the geometric data in the chunks and bonds. If NULL, no translations are applied. If not NULL, the array must be of size componentCount.
[in] componentCount The size of the components and relativeTransforms arrays.
[in] newBondDescs Descriptors of type NvBlastExtAssetUtilsBondDesc for new bonds between components, of size newBondCount. If NULL, newBondCount must be 0.
[in] newBondCount The size of the newBondDescs array.
[in] newBondCount The size of the newBondDescs array.
[in] chunkIndexOffsets If not NULL, must point to a uin32_t array of size componentCount. It will be filled with the starting elements in chunkReorderMap corresponding to each component.
[in] chunkReorderMap If not NULL, the returned descriptor is run through NvBlastReorderAssetDescChunks, to ensure that it is a valid asset descriptor. In the process, chunks may be reordered (in addition to their natural re-indexing due to them all being placed in one array). To map from the old chunk indexing for the various component assets to the chunk indexing used in the returned descriptor, set chunkReorderMap to point to a uin32_t array of size equal to the total number of chunks in all components, and pass in a non-NULL value to chunkIndexOffsets as described above. Then, for component index c and chunk index k within that component, the new chunk index is given by: index = chunkReorderMap[ k + chunkIndexOffsets[c] ].
[in] chunkReorderMapSize The size of the array passed into chunkReorderMap, if chunkReorderMap is not NULL. This is for safety, so that this function does not overwrite chunkReorderMap.
Returns:
an asset descriptor that will build an asset which merges the components, using NvBlastCreateAsset.
diff --git a/docs/api_docs/files/_nv_blast_ext_authoring_8h-source.html b/docs/api_docs/files/_nv_blast_ext_authoring_8h-source.html index c015558..9132e77 100644 --- a/docs/api_docs/files/_nv_blast_ext_authoring_8h-source.html +++ b/docs/api_docs/files/_nv_blast_ext_authoring_8h-source.html @@ -68,30 +68,65 @@ 00047 class ConvexMeshBuilder; 00048 class BlastBondGenerator; 00049 class MeshCleaner; -00050 } -00051 } -00052 -00066 NVBLAST_API Nv::Blast::Mesh* NvBlastExtAuthoringCreateMesh(const physx::PxVec3* positions, const physx::PxVec3* normals, -00067 const physx::PxVec2* uv, uint32_t verticesCount, const uint32_t* indices, uint32_t indicesCount); -00068 -00076 NVBLAST_API Nv::Blast::VoronoiSitesGenerator* NvBlastExtAuthoringCreateVoronoiSitesGenerator(Nv::Blast::Mesh* mesh, -00077 Nv::Blast::RandomGeneratorBase* rng); -00078 -00083 NVBLAST_API Nv::Blast::FractureTool* NvBlastExtAuthoringCreateFractureTool(); -00084 -00089 NVBLAST_API Nv::Blast::BlastBondGenerator* NvBlastExtAuthoringCreateBondGenerator(physx::PxCooking* cooking, -00090 physx::PxPhysicsInsertionCallback* insertionCallback); -00091 -00096 NVBLAST_API Nv::Blast::ConvexMeshBuilder* NvBlastExtAuthoringCreateConvexMeshBuilder(physx::PxCooking* cooking, -00097 physx::PxPhysicsInsertionCallback* insertionCallback); -00098 -00109 NVBLAST_API Nv::Blast::AuthoringResult* NvBlastExtAuthoringProcessFracture(Nv::Blast::FractureTool& fTool, -00110 Nv::Blast::BlastBondGenerator& bondGenerator, Nv::Blast::ConvexMeshBuilder& collisionBuilder, int32_t defaultSupportDepth = -1); -00111 -00112 -00117 NVBLAST_API Nv::Blast::MeshCleaner* NvBlastExtAuthoringCreateMeshCleaner(); +00050 struct CollisionParams; +00051 struct CollisionHull; +00052 } +00053 } +00054 +00055 struct NvBlastExtAssetUtilsBondDesc; +00056 +00070 NVBLAST_API Nv::Blast::Mesh* NvBlastExtAuthoringCreateMesh(const physx::PxVec3* positions, const physx::PxVec3* normals, +00071 const physx::PxVec2* uv, uint32_t verticesCount, const uint32_t* indices, uint32_t indicesCount); +00072 +00080 NVBLAST_API Nv::Blast::VoronoiSitesGenerator* NvBlastExtAuthoringCreateVoronoiSitesGenerator(Nv::Blast::Mesh* mesh, +00081 Nv::Blast::RandomGeneratorBase* rng); +00082 +00087 NVBLAST_API Nv::Blast::FractureTool* NvBlastExtAuthoringCreateFractureTool(); +00088 +00093 NVBLAST_API Nv::Blast::BlastBondGenerator* NvBlastExtAuthoringCreateBondGenerator(physx::PxCooking* cooking, +00094 physx::PxPhysicsInsertionCallback* insertionCallback); +00095 +00100 NVBLAST_API Nv::Blast::ConvexMeshBuilder* NvBlastExtAuthoringCreateConvexMeshBuilder(physx::PxCooking* cooking, +00101 physx::PxPhysicsInsertionCallback* insertionCallback); +00102 +00103 +00111 NVBLAST_API void NvBlastExtAuthoringTransformCollisionHullInPlace +00112 ( +00113 Nv::Blast::CollisionHull* hull, +00114 const physx::PxVec3* scaling, +00115 const physx::PxQuat* rotation, +00116 const physx::PxVec3* translation +00117 ); 00118 -00119 #endif // ifndef NVBLASTAUTHORING_H +00126 NVBLAST_API Nv::Blast::CollisionHull* NvBlastExtAuthoringTransformCollisionHull +00127 ( +00128 const Nv::Blast::CollisionHull* hull, +00129 const physx::PxVec3* scaling, +00130 const physx::PxQuat* rotation, +00131 const physx::PxVec3* translation +00132 ); +00133 +00145 NVBLAST_API Nv::Blast::AuthoringResult* NvBlastExtAuthoringProcessFracture(Nv::Blast::FractureTool& fTool, +00146 Nv::Blast::BlastBondGenerator& bondGenerator, Nv::Blast::ConvexMeshBuilder& collisionBuilder, const Nv::Blast::CollisionParams& collisionParam, int32_t defaultSupportDepth = -1); +00147 +00148 +00153 NVBLAST_API Nv::Blast::MeshCleaner* NvBlastExtAuthoringCreateMeshCleaner(); +00154 +00155 +00156 +00179 NVBLAST_API uint32_t NvBlastExtAuthoringFindAssetConnectingBonds +00180 ( +00181 const NvBlastAsset** components, +00182 const physx::PxVec3* scales, +00183 const physx::PxQuat* rotations, +00184 const physx::PxVec3* translations, +00185 const uint32_t** convexHullOffsets, +00186 const Nv::Blast::CollisionHull*** chunkHulls, +00187 uint32_t componentCount, +00188 NvBlastExtAssetUtilsBondDesc*& newBondDescs +00189 ); +00190 +00191 #endif // ifndef NVBLASTAUTHORING_H

- + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
uint32_t NvBlastExtAuthoringFindAssetConnectingBonds (const NvBlastAsset **  components,
const physx::PxVec3 *  scales,
const physx::PxQuat *  rotations,
const physx::PxVec3 *  translations,
const uint32_t **  convexHullOffsets,
const Nv::Blast::CollisionHull ***  chunkHulls,
uint32_t  componentCount,
NvBlastExtAssetUtilsBondDesc *&  newBondDescs 
)
+
+
+ +

+Finds bonds connecting chunks in a list of assets

+New bond descriptors may be given to bond support chunks from different components.

+An NvBlastAsset may appear more than once in the components array.

+NOTE: This function allocates memory using the allocator in NvBlastGlobals, to create the new bond descriptor arrays returned. The user must free this memory after use with NVBLAST_FREE

+

Parameters:
+ + + + + + + + + +
[in] components An array of assets to merge, of size componentCount.
[in] scales If not NULL, an array of size componentCount of scales to apply to the geometric data in the chunks and bonds. If NULL, no scaling is applied.
[in] rotations If not NULL, an array of size componentCount of rotations to apply to the geometric data in the chunks and bonds. The quaternions MUST be normalized. If NULL, no rotations are applied.
[in] translations If not NULL, an array of of size componentCount of translations to apply to the geometric data in the chunks and bonds. If NULL, no translations are applied.
[in] convexHullOffsets For each component, an array of chunkSize+1 specifying the start of the convex hulls for that chunk inside the chunkHulls array for that component.
[in] chunkHulls For each component, an array of CollisionHull* specifying the collision geometry for the chunks in that component.
[in] componentCount The size of the components and relativeTransforms arrays.
[out] newBondDescs Descriptors of type NvBlastExtAssetUtilsBondDesc for new bonds between components.
+
+
Returns:
the number of bonds in newBondDescs
+ +
+

+

@@ -272,6 +360,12 @@ Voronoi sites should not be generated outside of the fractured mesh, so VoronoiS + + + + + + @@ -295,10 +389,109 @@ Performs pending fractures and generates fractured asset, render and collision g +
Nv::Blast::ConvexMeshBuilder collisionBuilder,
const Nv::Blast::CollisionParams collisionParam,
[in] bondGenerator Bond generator created by NvBlastExtAuthoringCreateBondGenerator
[in] collisionBuilder Collision builder created by NvBlastExtAuthoringCreateConvexMeshBuilder
[in] defaultSupportDepth All new chunks will be marked as support if its depth equal to defaultSupportDepth. By default leaves (chunks without children) marked as support.
[in] collisionParam Parameters of collision hulls generation.
Returns:
Authoring result
+
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nv::Blast::CollisionHull* NvBlastExtAuthoringTransformCollisionHull (const Nv::Blast::CollisionHull hull,
const physx::PxVec3 *  scaling,
const physx::PxQuat *  rotation,
const physx::PxVec3 *  translation 
)
+
+
+ +

+Transforms collision hull in place using scale, rotation, transform.

Parameters:
+ + + + + +
[in] hull Pointer to the hull to be transformed (modified).
[in] scale Pointer to scale to be applied. Can be nullptr.
[in] rotation Pointer to rotation to be applied. Can be nullptr.
[in] translation Pointer to translation to be applied. Can be nullptr.
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NvBlastExtAuthoringTransformCollisionHullInPlace (Nv::Blast::CollisionHull hull,
const physx::PxVec3 *  scaling,
const physx::PxQuat *  rotation,
const physx::PxVec3 *  translation 
)
+
+
+ +

+Transforms collision hull in place using scale, rotation, transform.

Parameters:
+ + + + + +
[in,out] hull Pointer to the hull to be transformed (modified).
[in] scale Pointer to scale to be applied. Can be nullptr.
[in] rotation Pointer to rotation to be applied. Can be nullptr.
[in] translation Pointer to translation to be applied. Can be nullptr.
+
+

diff --git a/docs/api_docs/files/_nv_blast_ext_authoring_bond_generator_8h-source.html b/docs/api_docs/files/_nv_blast_ext_authoring_bond_generator_8h-source.html index b1355f1..80d9e23 100644 --- a/docs/api_docs/files/_nv_blast_ext_authoring_bond_generator_8h-source.html +++ b/docs/api_docs/files/_nv_blast_ext_authoring_bond_generator_8h-source.html @@ -108,16 +108,18 @@ 00132 NvBlastBondDesc*& resultBond, BondGenerationConfig cfg) = 0; 00133 00134 -00148 virtual int32_t bondsFromPrefractured(uint32_t meshCount, const uint32_t* geometryOffset, const Triangle* geometry, -00149 const bool*& chunkIsSupport, NvBlastBondDesc*& resultBondDescs, +00148 virtual int32_t bondsFromPrefractured(uint32_t meshCount, const uint32_t* geometryOffset, const Triangle* geometry, +00149 const bool* chunkIsSupport, NvBlastBondDesc*& resultBondDescs, 00150 BondGenerationConfig conf = BondGenerationConfig()) = 0; -00151 -00152 }; -00153 -00154 } // namespace Blast -00155 } // namespace Nv -00156 -00157 #endif // NVBLASTEXTAUTHORINGBONDGENERATOR_H +00151 +00166 virtual int32_t bondsFromPrefractured(uint32_t meshCount, const uint32_t* convexHullOffset, const CollisionHull** chunkHulls, +00167 const bool* chunkIsSupport, const uint32_t* meshGroups, NvBlastBondDesc*& resultBondDescs) = 0; +00168 }; +00169 +00170 } // namespace Blast +00171 } // namespace Nv +00172 +00173 #endif // NVBLASTEXTAUTHORINGBONDGENERATOR_H

+
+ +

+Set damage accelerator associated with this asset.

@@ -379,6 +403,26 @@ Every ExtPxAssetExtPxAsset.

+ +

+
+ + + + + + + + + +
virtual void Nv::Blast::ExtPxAsset::setAccelerator (NvBlastExtDamageAccelerator accelerator  )  [pure virtual]
+
+
+ +

+Set damage accelerator associated with this asset. +

+

diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family-members.html index fb2e852..68bf9e9 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family-members.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family-members.html @@ -24,14 +24,16 @@ despawn()=0Nv::Blast::ExtPxFamily [pure virtual] getActorCount() const =0Nv::Blast::ExtPxFamily [pure virtual] getActors(ExtPxActor **buffer, uint32_t bufferSize) const =0Nv::Blast::ExtPxFamily [pure virtual] + getMaterial() const =0Nv::Blast::ExtPxFamily [pure virtual] getPxActorDesc() const =0Nv::Blast::ExtPxFamily [pure virtual] - getPxAsset() const =0Nv::Blast::ExtPxFamily [pure virtual] + getPxAsset() const =0Nv::Blast::ExtPxFamily [pure virtual] getPxShapeDescTemplate() const =0Nv::Blast::ExtPxFamily [pure virtual] getSubchunkShapes() const =0Nv::Blast::ExtPxFamily [pure virtual] getTkFamily() const =0Nv::Blast::ExtPxFamily [pure virtual] postSplitUpdate()=0Nv::Blast::ExtPxFamily [pure virtual] release()=0Nv::Blast::ExtPxFamily [pure virtual] setMaterial(physx::PxMaterial &material)=0Nv::Blast::ExtPxFamily [pure virtual] + setMaterial(const NvBlastExtMaterial *material)=0Nv::Blast::ExtPxFamily [pure virtual] setPxActorDesc(const ExtPxActorDescTemplate *pxActorDesc)=0Nv::Blast::ExtPxFamily [pure virtual] setPxShapeDescTemplate(const ExtPxShapeDescTemplate *pxShapeDesc)=0Nv::Blast::ExtPxFamily [pure virtual] spawn(const physx::PxTransform &pose, const physx::PxVec3 &scale, const ExtPxSpawnSettings &settings)=0Nv::Blast::ExtPxFamily [pure virtual] diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family.html index c5162e8..ce6845c 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_ext_px_family.html @@ -35,10 +35,12 @@ virtual uint32_t getActors (ExtPxActor **buffer, uint32_t bufferSize) const =0 +virtual const NvBlastExtMaterialgetMaterial () const =0 + virtual const
ExtPxActorDescTemplategetPxActorDesc () const =0 -virtual const ExtPxAssetgetPxAsset () const =0 +virtual ExtPxAssetgetPxAsset () const =0 virtual const
ExtPxShapeDescTemplategetPxShapeDescTemplate () const =0 @@ -52,6 +54,8 @@ virtual void release ()=0 +virtual void setMaterial (const NvBlastExtMaterial *material)=0 + virtual void setMaterial (physx::PxMaterial &material)=0 virtual void setPxActorDesc (const ExtPxActorDescTemplate *pxActorDesc)=0 @@ -149,6 +153,27 @@ Retrieve an array of pointers (into the user-supplied buffer) to actors.

Returns:
the number of ExtPxActor pointers written to the buffer.
+
+

+ +

+
+ + + + + + + + +
virtual const NvBlastExtMaterial* Nv::Blast::ExtPxFamily::getMaterial (  )  const [pure virtual]
+
+
+ +

+The default material associated with this actor family.

+

Returns:
a pointer to the default material.
+

@@ -172,12 +197,12 @@ Get the default ExtPxPxActorDesc to be used on all newly created PxActors.

- +

- + @@ -230,7 +255,7 @@ Get the default ExtPxPxShapeDesc to be used on all newly created PxShapes.

-Access an array of shapes of subchunks. The size of array is equal getPxAsset()->getSubchunkCount(). For every corresponding subchunk it contains pointer to created PxShape or nullptr.

+Access an array of shapes of subchunks. The size of array is equal getPxAsset()->getSubchunkCount(). For every corresponding subchunk it contains pointer to created PxShape or nullptr.

Returns:
the pointer to subchunk shapes array.
@@ -291,6 +316,32 @@ Call after split.

Release this family. + +

+ +

+
+
virtual const ExtPxAsset& Nv::Blast::ExtPxFamily::getPxAsset virtual ExtPxAsset& Nv::Blast::ExtPxFamily::getPxAsset (  ) 
+ + + + + + + + +
virtual void Nv::Blast::ExtPxFamily::setMaterial (const NvBlastExtMaterial material  )  [pure virtual]
+
+
+ +

+Set the default material associated with this actor family.

+

Parameters:
+ + +
[in] material The material to be the new default.
+
+

diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool-members.html index 5a6f442..5ca2e82 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool-members.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool-members.html @@ -22,6 +22,7 @@

Nv::Blast::FractureTool Member List

This is the complete list of members for Nv::Blast::FractureTool, including all inherited members.

+ @@ -43,6 +44,7 @@ + diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool.html index ab06cf7..981b5f4 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_fracture_tool.html @@ -31,6 +31,8 @@ + + @@ -73,6 +75,8 @@ + + @@ -120,6 +124,32 @@

Get chunk mesh in polygonal representation. User's code should release it after usage. + +

+ +

+
+
createChunkMesh(int32_t chunkId)=0Nv::Blast::FractureTool [pure virtual]
deleteAllChildrenOfChunk(int32_t chunkId)=0Nv::Blast::FractureTool [pure virtual]
finalizeFracturing()=0Nv::Blast::FractureTool [pure virtual]
getBaseMesh(int32_t chunkIndex, Triangle *&output)=0Nv::Blast::FractureTool [pure virtual]
getBufferedBaseMeshes(Vertex *&vertexBuffer, uint32_t *&indexBuffer, uint32_t *&indexBufferOffsets)=0Nv::Blast::FractureTool [pure virtual]
setRemoveIslands(bool isRemoveIslands)=0Nv::Blast::FractureTool [pure virtual]
setSourceMesh(const Mesh *mesh)=0Nv::Blast::FractureTool [pure virtual]
slicing(uint32_t chunkId, SlicingConfiguration conf, bool replaceChunk, RandomGeneratorBase *rnd)=0Nv::Blast::FractureTool [pure virtual]
uniteChunks(uint32_t maxAtLevel, uint32_t maxGroupSize)=0Nv::Blast::FractureTool [pure virtual]
voronoiFracturing(uint32_t chunkId, uint32_t cellCount, const physx::PxVec3 *cellPoints, bool replaceChunk)=0Nv::Blast::FractureTool [pure virtual]
voronoiFracturing(uint32_t chunkId, uint32_t cellCount, const physx::PxVec3 *cellPoints, const physx::PxVec3 &scale, const physx::PxQuat &rotation, bool replaceChunk)=0Nv::Blast::FractureTool [pure virtual]
~FractureTool()Nv::Blast::FractureTool [inline, virtual]

Public Member Functions

virtual MeshcreateChunkMesh (int32_t chunkId)=0
virtual bool deleteAllChildrenOfChunk (int32_t chunkId)=0
virtual void finalizeFracturing ()=0
virtual uint32_t getBaseMesh (int32_t chunkIndex, Triangle *&output)=0
virtual int32_t slicing (uint32_t chunkId, SlicingConfiguration conf, bool replaceChunk, RandomGeneratorBase *rnd)=0
virtual void uniteChunks (uint32_t maxAtLevel, uint32_t maxGroupSize)=0
virtual int32_t voronoiFracturing (uint32_t chunkId, uint32_t cellCount, const physx::PxVec3 *cellPoints, const physx::PxVec3 &scale, const physx::PxQuat &rotation, bool replaceChunk)=0
virtual int32_t voronoiFracturing (uint32_t chunkId, uint32_t cellCount, const physx::PxVec3 *cellPoints, bool replaceChunk)=0
+ + + + + + + + +
virtual bool Nv::Blast::FractureTool::deleteAllChildrenOfChunk (int32_t  chunkId  )  [pure virtual]
+

+
+ +

+Delete all children for specified chunk (also recursively delete chidren of children).

Parameters:
+ + +
[in] chunkId Chunk ID which children should be deleted
+
+
Returns:
true if one or more chunks were removed
+

@@ -684,6 +714,35 @@ Fractures specified chunk with slicing method.

Parameters:
Returns:
If 0, fracturing is successful.
+ +

+ +

+
+ + + + + + + + + + + + + + + + + + +
virtual void Nv::Blast::FractureTool::uniteChunks (uint32_t  maxAtLevel,
uint32_t  maxGroupSize 
) [pure virtual]
+
+
+ +

+

diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor-members.html index d014b72..732add4 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor-members.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor-members.html @@ -22,10 +22,8 @@

Nv::Blast::TkActor Member List

This is the complete list of members for Nv::Blast::TkActor, including all inherited members.

- - - - + + diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor.html index 20af2a5..0c4042b 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_actor.html @@ -40,13 +40,9 @@ Inheritance diagram for Nv::Blast::TkActor: - + - - - - - + @@ -120,7 +116,7 @@ NOTE: Calls NvBlastActorApplyFracture internally. see NvBlastActorApplyFracture

- +

applyFracture(NvBlastFractureBuffers *eventBuffers, const NvBlastFractureBuffers *commands)=0Nv::Blast::TkActor [pure virtual]
damage(const NvBlastDamageProgram &program, const NvBlastProgramParams *programParams)=0Nv::Blast::TkActor [pure virtual]
damage(const NvBlastDamageProgram &program, const void *damageDesc, uint32_t descSize)=0Nv::Blast::TkActor [pure virtual]
damage(const NvBlastDamageProgram &program, const void *damageDesc, uint32_t descSize, const void *material)=0Nv::Blast::TkActor [pure virtual]
generateFracture(NvBlastFractureBuffers *commands, const NvBlastDamageProgram &program, const NvBlastProgramParams *programParams) const =0Nv::Blast::TkActor [pure virtual]
damage(const NvBlastDamageProgram &program, const void *programParams)=0Nv::Blast::TkActor [pure virtual]
generateFracture(NvBlastFractureBuffers *commands, const NvBlastDamageProgram &program, const void *programParams) const =0Nv::Blast::TkActor [pure virtual]
getActorLL() const =0Nv::Blast::TkActor [pure virtual]
getAsset() const =0Nv::Blast::TkActor [pure virtual]
getBondHealths() const =0Nv::Blast::TkActor [pure virtual]

Public Member Functions

virtual void applyFracture (NvBlastFractureBuffers *eventBuffers, const NvBlastFractureBuffers *commands)=0
virtual void damage (const NvBlastDamageProgram &program, const void *damageDesc, uint32_t descSize, const void *material)=0
virtual void damage (const NvBlastDamageProgram &program, const void *programParams)=0
virtual void damage (const NvBlastDamageProgram &program, const void *damageDesc, uint32_t descSize)=0
virtual void damage (const NvBlastDamageProgram &program, const NvBlastProgramParams *programParams)=0
virtual void generateFracture (NvBlastFractureBuffers *commands, const NvBlastDamageProgram &program, const NvBlastProgramParams *programParams) const =0
virtual void generateFracture (NvBlastFractureBuffers *commands, const NvBlastDamageProgram &program, const void *programParams) const =0
virtual const NvBlastActorgetActorLL () const =0
@@ -134,105 +130,6 @@ NOTE: Calls NvBlastActorApplyFracture internally. see NvBlastActorApplyFracture - - - - - - - - - - - - - - - - - - - -
const void *  damageDesc,
uint32_t  descSize,
const void *  material 
) [pure virtual]
-

-
- -

-Apply damage to this actor.

-Actual damage processing is deferred till the group worker process() call. Sets actor in 'pending' state.

-Damage Desc will be stacked into NvBlastDamageProgram. NvBlastDamageProgram will be passed into shader.

-This function overload explicitly sets a material to be passed into NvBlastProgramParams, it must be valid until the group endProcess() call.

-

Parameters:
- - - - - -
[in] program A NvBlastDamageProgram containing damage shaders.
[in] damageDesc Parameters to be put in NvBlastDamageProgram, have to be POD type (will be copied).
[in] descSize Size of damageDesc in bytes. Required to copy and store Damage Desc.
[in] material Material to be passed into NvBlastProgramParams. Must be valid until the group endProcess() call.
-
- -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
virtual void Nv::Blast::TkActor::damage (const NvBlastDamageProgram program,
const void *  damageDesc,
uint32_t  descSize 
) [pure virtual]
-
-
- -

-Apply damage to this actor.

-Actual damage processing is deferred till the group worker process() call. Sets actor in 'pending' state.

-Damage Desc will be stacked into NvBlastProgramParams. NvBlastProgramParams will be passed into shader.

-Material set on actor's family will be passed into NvBlastProgramParams.

-

Parameters:
- - - - -
[in] program A NvBlastDamageProgram containing damage shaders.
[in] damageDesc Parameters to be put in NvBlastProgramParams, have to be POD type (will be copied).
[in] descSize Size of damageDesc in bytes. Required to copy and store Damage Desc.
-
- -
-

- -

-
- - - - - - - - - - - @@ -257,7 +154,7 @@ It's the user's responsibility to keep programParams pointer alive until the gro

- +

virtual void Nv::Blast::TkActor::damage (const NvBlastDamageProgram program,
const NvBlastProgramParams programParams 
@@ -276,7 +173,7 @@ It's the user's responsibility to keep programParams pointer alive until the gro - + diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family-members.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family-members.html index 6d861fa..a3b28eb 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family-members.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family-members.html @@ -28,13 +28,11 @@ - - diff --git a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family.html b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family.html index 4f30328..5c9370d 100644 --- a/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family.html +++ b/docs/api_docs/files/class_nv_1_1_blast_1_1_tk_family.html @@ -51,14 +51,10 @@ Inheritance diagram for Nv::Blast::TkFamily: - - - -
const NvBlastProgramParamsconst void *  programParams 
getAsset() const =0Nv::Blast::TkFamily [pure virtual]
getFamilyLL() const =0Nv::Blast::TkFamily [pure virtual]
getID() const =0Nv::Blast::TkIdentifiable [pure virtual]
getMaterial() const =0Nv::Blast::TkFamily [pure virtual]
getType() const =0Nv::Blast::TkIdentifiable [pure virtual]
reinitialize(const NvBlastFamily *newFamily, TkGroup *group=nullptr)=0Nv::Blast::TkFamily [pure virtual]
release()=0Nv::Blast::TkObject [pure virtual]
removeListener(TkEventListener &l)=0Nv::Blast::TkFamily [pure virtual]
setID(const NvBlastID &id)=0Nv::Blast::TkIdentifiable [pure virtual]
setMaterial(const void *material)=0Nv::Blast::TkFamily [pure virtual]
TkObject()Nv::Blast::TkObject [inline]
userDataNv::Blast::TkObject
userIntDataNv::Blast::TkIdentifiable
virtual const NvBlastFamilygetFamilyLL () const =0
virtual const void * getMaterial () const =0
virtual void reinitialize (const NvBlastFamily *newFamily, TkGroup *group=nullptr)=0
virtual void removeListener (TkEventListener &l)=0
virtual void setMaterial (const void *material)=0

Detailed Description

The TkFamily is associated with the TkActor that is instanced from a TkAsset, as well as all descendent TkActors generated by spliting TkActors within the family. It encapsulates an NvBlastFamily, and also holds a material which will be used by default on all TkActors during damage functions.

Member Function Documentation

@@ -219,27 +215,6 @@ Every family has an associated asset (the
Returns:
a pointer to the (const) low-level NvBlastFamily object.
- -

- -

-
- - - - - - - - -
virtual const void* Nv::Blast::TkFamily::getMaterial (  )  const [pure virtual]
-
-
- -

-The default material to be passed into NvBlastDamageProgram when a TkActor in this family is damaged.

-

Returns:
a pointer to the default material.
-

@@ -302,32 +277,6 @@ Remove a TkEventReciever from this family's list of listeners.

- -

- -

-
- - - - - - - - - -
virtual void Nv::Blast::TkFamily::setMaterial (const void *  material  )  [pure virtual]
-
-
- -

-Set the default material to be passed into NvBlastDamageProgram when a TkActor in this family is damaged. Must be valid till group endProcess() call.

-

Parameters:
- - -
[in] material The material to be the new default.
-
-


The documentation for this class was generated from the following file: diff --git a/docs/api_docs/files/functions_0x63.html b/docs/api_docs/files/functions_0x63.html index b7d8e3f..9401dd3 100644 --- a/docs/api_docs/files/functions_0x63.html +++ b/docs/api_docs/files/functions_0x63.html @@ -116,22 +116,26 @@ Here is a list of all class members with links to the classes they belong to: : Nv::Blast::AuthoringResult
  • collisionHullOffset : Nv::Blast::AuthoringResult +
  • CollisionParams() +: Nv::Blast::CollisionParams
  • color0 : Nv::Blast::ExtStressSolver::ExtStressSolver::DebugLine +, Nv::Blast::DebugLine
  • color1 : Nv::Blast::ExtStressSolver::ExtStressSolver::DebugLine +, Nv::Blast::DebugLine
  • column0 : NvcMat34 , NvcMat33 , NvcMat44
  • column1 -: NvcMat34 -, NvcMat33 +: NvcMat33 +, NvcMat34 , NvcMat44
  • column2 : NvcMat34 -, NvcMat44 , NvcMat33 +, NvcMat44
  • column3 : NvcMat34 , NvcMat44 @@ -142,24 +146,24 @@ Here is a list of all class members with links to the classes they belong to:
  • convertToTriangle() : Nv::Blast::TriangleIndexed
  • Count -: NvBlastDataBlock -, Nv::Blast::ExtSyncEventType +: Nv::Blast::ExtSyncEventType +, NvBlastDataBlock
  • create() -: Nv::Blast::ExtStressSolver -, Nv::Blast::ExtPxAsset +: Nv::Blast::ExtPxAsset +, Nv::Blast::ExtStressSolver +, Nv::Blast::ExtPxAsset , Nv::Blast::ExtPxManager -, Nv::Blast::ExtPxStressSolver , Nv::Blast::ExtGroupTaskManager , Nv::Blast::ExtSync -, Nv::Blast::ExtPxAsset -, Nv::Blast::ExtImpactDamageManager , Nv::Blast::ExtPxAsset +, Nv::Blast::ExtPxStressSolver +, Nv::Blast::ExtImpactDamageManager
  • createActor() : Nv::Blast::TkFramework
  • createAsset() : Nv::Blast::TkFramework
  • createBondBetweenMeshes() -: Nv::Blast::BlastBondGenerator +: Nv::Blast::BlastBondGenerator
  • createChunkMesh() : Nv::Blast::FractureTool
  • createFamily() @@ -167,8 +171,8 @@ Here is a list of all class members with links to the classes they belong to:
  • createGroup() : Nv::Blast::TkFramework
  • createJoint() -: Nv::Blast::ExtPxManager -, Nv::Blast::TkFramework +: Nv::Blast::TkFramework +, Nv::Blast::ExtPxManager diff --git a/docs/api_docs/files/functions_0x64.html b/docs/api_docs/files/functions_0x64.html index 32e5d48..1d51045 100644 --- a/docs/api_docs/files/functions_0x64.html +++ b/docs/api_docs/files/functions_0x64.html @@ -67,13 +67,12 @@ Here is a list of all class members with links to the classes they belong to:
  • damage : NvBlastExtRadialDamageDesc , NvBlastExtShearDamageDesc -, Nv::Blast::TkActor -, NvBlastExtSegmentRadialDamageDesc -, Nv::Blast::TkActor -
  • damageDescBuffer -: NvBlastProgramParams -
  • damageDescCount -: NvBlastProgramParams +, NvBlastExtTriangleIntersectionDamageDesc +, NvBlastExtCapsuleRadialDamageDesc +, NvBlastExtImpactSpreadDamageDesc +, Nv::Blast::TkActor +
  • damageDesc +: NvBlastExtProgramParams
  • damageFalloffRadiusFactor : Nv::Blast::ExtImpactSettings
  • damageFunction @@ -87,20 +86,23 @@ Here is a list of all class members with links to the classes they belong to:
  • damageThresholdMin : Nv::Blast::ExtImpactSettings
  • data -: Nv::Blast::ExtProfileData -, Nv::Blast::ExtSyncEventPhysicsSync +: Nv::Blast::ExtSyncEventPhysicsSync , NvBlastID +, Nv::Blast::ExtProfileData
  • dataType : NvBlastDataBlock
  • deallocate() -: Nv::Blast::Allocator -, Nv::Blast::AllocatorCallback +: Nv::Blast::AllocatorCallback +, Nv::Blast::Allocator
  • Debug : NvBlastMessage
  • DebugLine() : Nv::Blast::ExtStressSolver::ExtStressSolver::DebugLine +, Nv::Blast::DebugLine
  • DebugRenderMode : Nv::Blast::ExtStressSolver +
  • deleteAllChildrenOfChunk() +: Nv::Blast::FractureTool
  • deletedActor : NvBlastActorSplitEvent
  • deleteInSphere() diff --git a/docs/api_docs/files/functions_0x66.html b/docs/api_docs/files/functions_0x66.html index 7c6e8a8..33bc41f 100644 --- a/docs/api_docs/files/functions_0x66.html +++ b/docs/api_docs/files/functions_0x66.html @@ -63,17 +63,17 @@ Here is a list of all class members with links to the classes they belong to:

    - f -

    diff --git a/docs/api_docs/files/functions_0x70.html b/docs/api_docs/files/functions_0x70.html index a9cc85e..1b160b0 100644 --- a/docs/api_docs/files/functions_0x70.html +++ b/docs/api_docs/files/functions_0x70.html @@ -89,18 +89,25 @@ Here is a list of all class members with links to the classes they belong to:
  • PlaneChunkIndexer() : Nv::Blast::PlaneChunkIndexer
  • pos0 -: Nv::Blast::ExtStressSolver::ExtStressSolver::DebugLine +: Nv::Blast::DebugLine +, Nv::Blast::ExtStressSolver::ExtStressSolver::DebugLine
  • pos1 : Nv::Blast::ExtStressSolver::ExtStressSolver::DebugLine +, Nv::Blast::DebugLine
  • posIndex : Nv::Blast::ExporterMeshData
  • position : NvBlastExtRadialDamageDesc , NvBlastExtShearDamageDesc +, NvBlastExtImpactSpreadDamageDesc
  • position0 -: NvBlastExtSegmentRadialDamageDesc +: NvBlastExtCapsuleRadialDamageDesc +, NvBlastExtTriangleIntersectionDamageDesc
  • position1 -: NvBlastExtSegmentRadialDamageDesc +: NvBlastExtCapsuleRadialDamageDesc +, NvBlastExtTriangleIntersectionDamageDesc +
  • position2 +: NvBlastExtTriangleIntersectionDamageDesc
  • positions : Nv::Blast::ExporterMeshData
  • positionsCount @@ -109,12 +116,12 @@ Here is a list of all class members with links to the classes they belong to: : Nv::Blast::ExtPxFamily
  • process() : Nv::Blast::TkGroupWorker -, Nv::Blast::TkGroup , Nv::Blast::ExtGroupTaskManager +, Nv::Blast::TkGroup
  • processedActorsCount : Nv::Blast::TkGroupStats
  • pxAsset -: Nv::Blast::ExtPxFamilyDesc +: Nv::Blast::ExtPxFamilyDesc
  • pxChunks : Nv::Blast::ExtPxAssetDesc diff --git a/docs/api_docs/files/functions_0x72.html b/docs/api_docs/files/functions_0x72.html index 566e8a4..df4fde6 100644 --- a/docs/api_docs/files/functions_0x72.html +++ b/docs/api_docs/files/functions_0x72.html @@ -85,12 +85,13 @@ Here is a list of all class members with links to the classes they belong to: , Nv::Blast::ExtGroupTaskManager , Nv::Blast::TkObject , Nv::Blast::TkFramework +, Nv::Blast::ExtStressSolver , Nv::Blast::Mesh , Nv::Blast::ExtSyncEvent , Nv::Blast::ExtSync , Nv::Blast::MeshCleaner , Nv::Blast::ExtSerialization -, Nv::Blast::ExtStressSolver +, NvBlastExtDamageAccelerator , Nv::Blast::AuthoringResult , Nv::Blast::BlastBondGenerator , Nv::Blast::IMeshFileReader @@ -106,8 +107,8 @@ Here is a list of all class members with links to the classes they belong to:
  • reorderAssetDescChunks() : Nv::Blast::TkFramework
  • replaceMaterialId() -: Nv::Blast::FractureTool -, Nv::Blast::Mesh +: Nv::Blast::Mesh +, Nv::Blast::FractureTool
  • reportError() : Nv::Blast::ErrorCallback
  • requestBuffer() @@ -115,8 +116,8 @@ Here is a list of all class members with links to the classes they belong to:
  • reserved : NvBlastDataBlock
  • reset() -: Nv::Blast::ExtStressSolver -, Nv::Blast::FractureTool +: Nv::Blast::FractureTool +, Nv::Blast::ExtStressSolver
  • restOffset : Nv::Blast::ExtPxShapeDescTemplate
  • returnWorker() diff --git a/docs/api_docs/files/functions_0x73.html b/docs/api_docs/files/functions_0x73.html index f04e73e..9d6ce8b 100644 --- a/docs/api_docs/files/functions_0x73.html +++ b/docs/api_docs/files/functions_0x73.html @@ -74,6 +74,8 @@ Here is a list of all class members with links to the classes they belong to: : Nv::Blast::RandomGeneratorBase
  • serializeIntoBuffer() : Nv::Blast::ExtSerialization +
  • setAccelerator() +: Nv::Blast::ExtPxAsset
  • setActorCountLimit() : Nv::Blast::ExtPxManager
  • setAllNodesInfoFromLL() @@ -84,6 +86,8 @@ Here is a list of all class members with links to the classes they belong to: : Nv::Blast::ExtSerialization
  • setCreateJointFunction() : Nv::Blast::ExtPxManager +
  • setDefault() +: Nv::Blast::CollisionParams
  • setDefaults() : Nv::Blast::ApexImporter::ApexImporterConfig
  • setGroup() @@ -94,7 +98,6 @@ Here is a list of all class members with links to the classes they belong to: : Nv::Blast::FractureTool
  • setMaterial() : Nv::Blast::ExtPxFamily -, Nv::Blast::TkFamily
  • setMaterialId() : Nv::Blast::Mesh
  • setNodeInfo() @@ -133,9 +136,9 @@ Here is a list of all class members with links to the classes they belong to:
  • slicing() : Nv::Blast::FractureTool
  • smoothingGroup -: Nv::Blast::Triangle -, Nv::Blast::TriangleIndexed +: Nv::Blast::TriangleIndexed , Nv::Blast::Facet +, Nv::Blast::Triangle
  • spawn() : Nv::Blast::ExtPxFamily
  • Split @@ -168,16 +171,16 @@ Here is a list of all class members with links to the classes they belong to:
  • subscribe() : Nv::Blast::ExtPxManager , Nv::Blast::ExtPxFamily -
  • Subtype -: Nv::Blast::TkJointUpdateEvent
  • subtype : Nv::Blast::TkJointUpdateEvent +
  • Subtype +: Nv::Blast::TkJointUpdateEvent
  • supportChunkHealths : NvBlastGraphShaderActor
  • SupportFlag : NvBlastChunkDesc
  • surfaceResolution -: Nv::Blast::SlicingConfiguration +: Nv::Blast::SlicingConfiguration
  • syncFamily() : Nv::Blast::ExtSync diff --git a/docs/api_docs/files/functions_0x75.html b/docs/api_docs/files/functions_0x75.html index 734fce2..367db34 100644 --- a/docs/api_docs/files/functions_0x75.html +++ b/docs/api_docs/files/functions_0x75.html @@ -68,30 +68,33 @@ Here is a list of all class members with links to the classes they belong to: : NvBlastActorDesc
  • uniformlyGenerateSitesInMesh() : Nv::Blast::VoronoiSitesGenerator +
  • uniteChunks() +: Nv::Blast::FractureTool
  • Unreferenced : Nv::Blast::TkJointUpdateEvent
  • unsubscribe() : Nv::Blast::ExtPxFamily , Nv::Blast::ExtPxManager
  • update() -: Nv::Blast::ExtStressSolver -, Nv::Blast::ExtPxStressSolver -
  • userdata -: NvBlastChunkFractureData +: Nv::Blast::ExtPxStressSolver +, Nv::Blast::ExtStressSolver
  • userData -: NvBlastChunkDesc +: Nv::Blast::TkObject , NvBlastBond -, Nv::Blast::TkActorData +, NvBlastChunk , Nv::Blast::ExtPxFamily -, Nv::Blast::Triangle -, Nv::Blast::Facet +, NvBlastChunkDesc +, Nv::Blast::TkActorData , Nv::Blast::TriangleIndexed +, Nv::Blast::Triangle +
  • userdata +: NvBlastChunkFractureData +
  • userData +: Nv::Blast::Facet
  • userdata : NvBlastBondFractureData
  • userData -: Nv::Blast::TkObject -, NvBlastChunk -, Nv::Blast::ExtPxAsset +: Nv::Blast::ExtPxAsset
  • userIntData : Nv::Blast::TkIdentifiable
  • uv diff --git a/docs/api_docs/files/functions_0x76.html b/docs/api_docs/files/functions_0x76.html index 466a9b6..e4b3801 100644 --- a/docs/api_docs/files/functions_0x76.html +++ b/docs/api_docs/files/functions_0x76.html @@ -71,6 +71,8 @@ Here is a list of all class members with links to the classes they belong to: , NvBlastChunk
  • voronoiFracturing() : Nv::Blast::FractureTool +
  • voxelGridResolution +: Nv::Blast::CollisionParams diff --git a/docs/api_docs/files/functions_func_0x62.html b/docs/api_docs/files/functions_func_0x62.html index 5f7ba25..b624c6c 100644 --- a/docs/api_docs/files/functions_func_0x62.html +++ b/docs/api_docs/files/functions_func_0x62.html @@ -58,13 +58,15 @@

    - b -

    diff --git a/docs/api_docs/files/functions_func_0x63.html b/docs/api_docs/files/functions_func_0x63.html index 5938212..4e5b523 100644 --- a/docs/api_docs/files/functions_func_0x63.html +++ b/docs/api_docs/files/functions_func_0x63.html @@ -66,23 +66,25 @@ , Nv::Blast::ExtSyncEvent
  • clusteredSitesGeneration() : Nv::Blast::VoronoiSitesGenerator +
  • CollisionParams() +: Nv::Blast::CollisionParams
  • convertToTriangle() : Nv::Blast::TriangleIndexed
  • create() -: Nv::Blast::ExtPxAsset -, Nv::Blast::ExtStressSolver -, Nv::Blast::ExtPxAsset -, Nv::Blast::ExtPxManager +: Nv::Blast::ExtImpactDamageManager , Nv::Blast::ExtSync +, Nv::Blast::ExtStressSolver +, Nv::Blast::ExtPxAsset , Nv::Blast::ExtGroupTaskManager +, Nv::Blast::ExtPxAsset +, Nv::Blast::ExtPxManager , Nv::Blast::ExtPxStressSolver -, Nv::Blast::ExtImpactDamageManager
  • createActor() : Nv::Blast::TkFramework
  • createAsset() : Nv::Blast::TkFramework
  • createBondBetweenMeshes() -: Nv::Blast::BlastBondGenerator +: Nv::Blast::BlastBondGenerator
  • createChunkMesh() : Nv::Blast::FractureTool
  • createFamily() @@ -90,8 +92,8 @@
  • createGroup() : Nv::Blast::TkFramework
  • createJoint() -: Nv::Blast::TkFramework -, Nv::Blast::ExtPxManager +: Nv::Blast::ExtPxManager +, Nv::Blast::TkFramework diff --git a/docs/api_docs/files/functions_func_0x64.html b/docs/api_docs/files/functions_func_0x64.html index 669fba3..46d582b 100644 --- a/docs/api_docs/files/functions_func_0x64.html +++ b/docs/api_docs/files/functions_func_0x64.html @@ -58,12 +58,15 @@

    - d -

    diff --git a/docs/api_docs/files/functions_vars_0x75.html b/docs/api_docs/files/functions_vars_0x75.html index 46bca4f..503c516 100644 --- a/docs/api_docs/files/functions_vars_0x75.html +++ b/docs/api_docs/files/functions_vars_0x75.html @@ -75,7 +75,7 @@
  • userData : Nv::Blast::TkObject , Nv::Blast::TkActorData -, Nv::Blast::Facet +, Nv::Blast::Facet , NvBlastChunkDesc , Nv::Blast::Triangle , Nv::Blast::ExtPxFamily diff --git a/docs/api_docs/files/functions_vars_0x76.html b/docs/api_docs/files/functions_vars_0x76.html index 3fc6ee7..f09bac7 100644 --- a/docs/api_docs/files/functions_vars_0x76.html +++ b/docs/api_docs/files/functions_vars_0x76.html @@ -64,8 +64,10 @@
  • visibility : NvBlastTimers
  • volume -: NvBlastChunkDesc -, NvBlastChunk +: NvBlastChunk +, NvBlastChunkDesc +
  • voxelGridResolution +: Nv::Blast::CollisionParams diff --git a/docs/api_docs/files/globals.html b/docs/api_docs/files/globals.html index 47e2ca5..de251d7 100644 --- a/docs/api_docs/files/globals.html +++ b/docs/api_docs/files/globals.html @@ -86,7 +86,7 @@ Here is a list of all file members with links to the files they belong to:
  • NvBlastActorDeactivate() : NvBlast.h
  • NvBlastActorGenerateFracture() -: NvBlast.h +: NvBlast.h
  • NvBlastActorGetBondHealths() : NvBlast.h
  • NvBlastActorGetFamily() @@ -162,7 +162,7 @@ Here is a list of all file members with links to the files they belong to:
  • NvBlastExtAssetUtilsAddWorldBonds() : NvBlastExtAssetUtils.h
  • NvBlastExtAssetUtilsMergeAssets() -: NvBlastExtAssetUtils.h +: NvBlastExtAssetUtils.h
  • NvBlastExtAuthoringCreateBondGenerator() : NvBlastExtAuthoring.h
  • NvBlastExtAuthoringCreateConvexMeshBuilder() @@ -175,14 +175,24 @@ Here is a list of all file members with links to the files they belong to: : NvBlastExtAuthoring.h
  • NvBlastExtAuthoringCreateVoronoiSitesGenerator() : NvBlastExtAuthoring.h +
  • NvBlastExtAuthoringFindAssetConnectingBonds() +: NvBlastExtAuthoring.h
  • NvBlastExtAuthoringProcessFracture() -: NvBlastExtAuthoring.h +: NvBlastExtAuthoring.h +
  • NvBlastExtAuthoringTransformCollisionHull() +: NvBlastExtAuthoring.h +
  • NvBlastExtAuthoringTransformCollisionHullInPlace() +: NvBlastExtAuthoring.h +
  • NvBlastExtCapsuleFalloffGraphShader() +: NvBlastExtDamageShaders.h +
  • NvBlastExtCapsuleFalloffSubgraphShader() +: NvBlastExtDamageShaders.h
  • NvBlastExtCutterGraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtCutterSubgraphShader() -: NvBlastExtDamageShaders.h -
  • NvBlastExtDamageActorRadialFalloff() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h +
  • NvBlastExtDamageAcceleratorCreate() +: NvBlastExtDamageShaders.h
  • NvBlastExtExporterCreateFbxFileReader() : NvBlastExtExporter.h
  • NvBlastExtExporterCreateFbxFileWriter() @@ -192,17 +202,17 @@ Here is a list of all file members with links to the files they belong to:
  • NvBlastExtExporterCreateObjFileWriter() : NvBlastExtExporter.h
  • NvBlastExtFalloffGraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtFalloffSubgraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h +
  • NvBlastExtImpactSpreadGraphShader() +: NvBlastExtDamageShaders.h +
  • NvBlastExtImpactSpreadSubgraphShader() +: NvBlastExtDamageShaders.h
  • NvBlastExtLlSerializerLoadSet() : NvBlastExtLlSerialization.h
  • NvBlastExtPxSerializerLoadSet() : NvBlastExtPxSerialization.h -
  • NvBlastExtSegmentFalloffGraphShader() -: NvBlastExtDamageShaders.h -
  • NvBlastExtSegmentFalloffSubgraphShader() -: NvBlastExtDamageShaders.h
  • NvBlastExtSerializationCreate() : NvBlastExtSerialization.h
  • NvBlastExtSerializationSerializeAssetIntoBuffer() @@ -214,11 +224,15 @@ Here is a list of all file members with links to the files they belong to:
  • NvBlastExtSerializationSerializeTkAssetIntoBuffer() : NvBlastExtTkSerialization.h
  • NvBlastExtShearGraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtShearSubgraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtTkSerializerLoadSet() : NvBlastExtTkSerialization.h +
  • NvBlastExtTriangleIntersectionGraphShader() +: NvBlastExtDamageShaders.h +
  • NvBlastExtTriangleIntersectionSubgraphShader() +: NvBlastExtDamageShaders.h
  • NvBlastFamilyCreateFirstActor() : NvBlast.h
  • NvBlastFamilyDeserializeActor() @@ -260,7 +274,7 @@ Here is a list of all file members with links to the files they belong to:
  • NvBlastGlobalSetErrorCallback() : NvBlastGlobals.h
  • NvBlastGraphShaderFunction -: NvBlastTypes.h +: NvBlastTypes.h
  • NvBlastLog : NvBlastTypes.h
  • NvBlastProfilerSetCallback() @@ -270,7 +284,7 @@ Here is a list of all file members with links to the files they belong to:
  • NvBlastReorderAssetDescChunks() : NvBlast.h
  • NvBlastSubgraphShaderFunction -: NvBlastTypes.h +: NvBlastTypes.h
  • NvBlastTicksToSeconds() : NvBlast.h
  • NvBlastTimersReset() diff --git a/docs/api_docs/files/globals_func.html b/docs/api_docs/files/globals_func.html index 1b6b647..06d4cad 100644 --- a/docs/api_docs/files/globals_func.html +++ b/docs/api_docs/files/globals_func.html @@ -44,7 +44,7 @@
  • NvBlastActorDeactivate() : NvBlast.h
  • NvBlastActorGenerateFracture() -: NvBlast.h +: NvBlast.h
  • NvBlastActorGetBondHealths() : NvBlast.h
  • NvBlastActorGetFamily() @@ -120,7 +120,7 @@
  • NvBlastExtAssetUtilsAddWorldBonds() : NvBlastExtAssetUtils.h
  • NvBlastExtAssetUtilsMergeAssets() -: NvBlastExtAssetUtils.h +: NvBlastExtAssetUtils.h
  • NvBlastExtAuthoringCreateBondGenerator() : NvBlastExtAuthoring.h
  • NvBlastExtAuthoringCreateConvexMeshBuilder() @@ -133,14 +133,24 @@ : NvBlastExtAuthoring.h
  • NvBlastExtAuthoringCreateVoronoiSitesGenerator() : NvBlastExtAuthoring.h +
  • NvBlastExtAuthoringFindAssetConnectingBonds() +: NvBlastExtAuthoring.h
  • NvBlastExtAuthoringProcessFracture() -: NvBlastExtAuthoring.h +: NvBlastExtAuthoring.h +
  • NvBlastExtAuthoringTransformCollisionHull() +: NvBlastExtAuthoring.h +
  • NvBlastExtAuthoringTransformCollisionHullInPlace() +: NvBlastExtAuthoring.h +
  • NvBlastExtCapsuleFalloffGraphShader() +: NvBlastExtDamageShaders.h +
  • NvBlastExtCapsuleFalloffSubgraphShader() +: NvBlastExtDamageShaders.h
  • NvBlastExtCutterGraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtCutterSubgraphShader() -: NvBlastExtDamageShaders.h -
  • NvBlastExtDamageActorRadialFalloff() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h +
  • NvBlastExtDamageAcceleratorCreate() +: NvBlastExtDamageShaders.h
  • NvBlastExtExporterCreateFbxFileReader() : NvBlastExtExporter.h
  • NvBlastExtExporterCreateFbxFileWriter() @@ -150,17 +160,17 @@
  • NvBlastExtExporterCreateObjFileWriter() : NvBlastExtExporter.h
  • NvBlastExtFalloffGraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtFalloffSubgraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h +
  • NvBlastExtImpactSpreadGraphShader() +: NvBlastExtDamageShaders.h +
  • NvBlastExtImpactSpreadSubgraphShader() +: NvBlastExtDamageShaders.h
  • NvBlastExtLlSerializerLoadSet() : NvBlastExtLlSerialization.h
  • NvBlastExtPxSerializerLoadSet() : NvBlastExtPxSerialization.h -
  • NvBlastExtSegmentFalloffGraphShader() -: NvBlastExtDamageShaders.h -
  • NvBlastExtSegmentFalloffSubgraphShader() -: NvBlastExtDamageShaders.h
  • NvBlastExtSerializationCreate() : NvBlastExtSerialization.h
  • NvBlastExtSerializationSerializeAssetIntoBuffer() @@ -172,11 +182,15 @@
  • NvBlastExtSerializationSerializeTkAssetIntoBuffer() : NvBlastExtTkSerialization.h
  • NvBlastExtShearGraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtShearSubgraphShader() -: NvBlastExtDamageShaders.h +: NvBlastExtDamageShaders.h
  • NvBlastExtTkSerializerLoadSet() : NvBlastExtTkSerialization.h +
  • NvBlastExtTriangleIntersectionGraphShader() +: NvBlastExtDamageShaders.h +
  • NvBlastExtTriangleIntersectionSubgraphShader() +: NvBlastExtDamageShaders.h
  • NvBlastFamilyCreateFirstActor() : NvBlast.h
  • NvBlastFamilyDeserializeActor() diff --git a/docs/api_docs/files/globals_type.html b/docs/api_docs/files/globals_type.html index 2cdd7af..6f15587 100644 --- a/docs/api_docs/files/globals_type.html +++ b/docs/api_docs/files/globals_type.html @@ -32,11 +32,11 @@

    diff --git a/docs/api_docs/files/hierarchy.html b/docs/api_docs/files/hierarchy.html index 94a3ba7..92c8dec 100644 --- a/docs/api_docs/files/hierarchy.html +++ b/docs/api_docs/files/hierarchy.html @@ -31,7 +31,10 @@
  • Nv::Blast::ChunkInfo
  • Nv::Blast::CollisionHull
  • Nv::Blast::CollisionHull::CollisionHull::HullPolygon +
  • Nv::Blast::CollisionParams
  • Nv::Blast::ConvexMeshBuilder +
  • Nv::Blast::DebugBuffer +
  • Nv::Blast::DebugLine
  • Nv::Blast::Edge
  • Nv::Blast::ErrorCallback
  • Nv::Blast::ErrorCode @@ -117,16 +120,19 @@
  • NvBlastChunkFractureData
  • NvBlastDamageProgram
  • NvBlastDataBlock +
  • NvBlastExtCapsuleRadialDamageDesc +
  • NvBlastExtDamageAccelerator +
  • NvBlastExtImpactSpreadDamageDesc
  • NvBlastExtMaterial +
  • NvBlastExtProgramParams
  • NvBlastExtRadialDamageDesc -
  • NvBlastExtSegmentRadialDamageDesc
  • NvBlastExtShearDamageDesc +
  • NvBlastExtTriangleIntersectionDamageDesc
  • NvBlastFamily
  • NvBlastFractureBuffers
  • NvBlastGraphShaderActor
  • NvBlastID
  • NvBlastMessage -
  • NvBlastProgramParams
  • NvBlastSubgraphShaderActor
  • NvBlastSupportGraph
  • NvBlastTimers diff --git a/docs/api_docs/files/namespace_nv_1_1_blast.html b/docs/api_docs/files/namespace_nv_1_1_blast.html index 0968bbd..f3961fb 100644 --- a/docs/api_docs/files/namespace_nv_1_1_blast.html +++ b/docs/api_docs/files/namespace_nv_1_1_blast.html @@ -43,8 +43,14 @@ struct  CollisionHull +struct  CollisionParams + class  ConvexMeshBuilder +struct  DebugBuffer + +struct  DebugLine + struct  Edge class  ErrorCallback diff --git a/docs/api_docs/files/pagecopyrights.html b/docs/api_docs/files/pagecopyrights.html index ba85be5..63e6f9e 100644 --- a/docs/api_docs/files/pagecopyrights.html +++ b/docs/api_docs/files/pagecopyrights.html @@ -76,6 +76,40 @@ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    +
    +

    +V-HACD

    +Blast™ Asset Authoring (NvBlastExtAuthoring) uses V-HACD (by Khaled Mamou). This is licensed as follows.

    +

    +Copyright (c) 2011 Khaled Mamou (kmamou at gmail dot com)
    +All rights reserved.
    +
    +
    +Redistribution and use in source and binary forms, with or without
    +modification, are permitted provided that the following conditions are met:
    +
    +1. Redistributions of source code must retain the above copyright notice,
    +this list of conditions and the following disclaimer.
    +
    +2. Redistributions in binary form must reproduce the above copyright notice,
    +this list of conditions and the following disclaimer in the documentation
    +and/or other materials provided with the distribution.
    +
    +3. The names of the contributors may not be used to endorse or promote
    +products derived from this software without specific prior written permission.
    +
    +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
    +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    +POSSIBILITY OF SUCH DAMAGE.
    +


    diff --git a/docs/api_docs/files/pageextassetutils.html b/docs/api_docs/files/pageextassetutils.html index f2e8dad..86c4eeb 100644 --- a/docs/api_docs/files/pageextassetutils.html +++ b/docs/api_docs/files/pageextassetutils.html @@ -61,7 +61,7 @@ newBondDesc[0].componentIndices[0] = 0; // Connect asset i newBondDesc[0].componentIndices[1] = 1; // .. to the asset in components[1] // Create merged asset descriptor -NvBlastAssetDesc mergedDesc = NvBlastExtAssetUtilsMergeAssets(components, NULL, translations, 2, newBondDescs, newBondCount); +NvBlastAssetDesc mergedDesc = NvBlastExtAssetUtilsMergeAssets(components, NULL, translations, 2, newBondDescs, newBondCount);

    Note, we passed in NULL for the list of relative rotations, meaning no asset will be rotated.

    Also note, the new bond descriptors can just as well apply to a single asset (by setting both component indices to the same index), allowing the user to create additional bonds within a single asset if desired.

    diff --git a/docs/api_docs/files/pageextshaders.html b/docs/api_docs/files/pageextshaders.html index 836f4e5..c8ab36d 100644 --- a/docs/api_docs/files/pageextshaders.html +++ b/docs/api_docs/files/pageextshaders.html @@ -22,9 +22,9 @@

    Damage Shaders (NvBlastExtShaders)

    The Blast™ damage shader extension provides basic implementations of programs generating fracture commands, the first step in breaking a Blast™ Actor, see Damage and Fracturing. These programs come as two shader functions (callbacks): one for Actors with a support graph, and one for Actors with just one chunk, respectively. The NvBlastDamageProgram containing both shaders can be used for low-level directly (NvBlastActorGenerateFracture) or for TkActor's damage and fracture functions.

    For example, one may construct a damage program using the "shear" damage shaders declared in NvBlastExtDamageShaders.h:

    -

        NvBlastDamageProgram damageProgram = { NvBlastExtShearGraphShader, NvBlastExtShearSubgraphShader };
    +

    -The appropriate shader ("graph" or "subgraph") will be called for an Actor being processed, along with the Actor's necessary geometry and program parameters. The parameters (NvBlastProgramParams) are set to contain

    +The appropriate shader ("graph" or "subgraph") will be called for an Actor being processed, along with the Actor's necessary geometry and program parameters. The parameters (NvBlastProgramParams) are set to contain

    1. Material, something that describes an Actor properties (e.g. mass, stiffness, fragility) which are not expected to be changed often.

    2. Damage description, something that describes a particular damage event (e.g. position, radius and force of explosion).

    For example:

    @@ -39,8 +39,8 @@ A Tk layer example follows.

    tkGroup->process();

    In contrast, the user is responsible for providing all the damage descriptions persisting through the low-level NvBlastActorGenerateFracture call when not using the Tk layer:

    -

        NvBlastProgramParams programParams = { damageDescs, 2, &material };
    -    NvBlastActorGenerateFracture(commandBuffers, actor, damageProgram, &programParams, nullptr, nullptr);
    +
        NvBlastProgramParams programParams = { damageDescs, 2, &material };
    +    NvBlastActorGenerateFracture(commandBuffers, actor, damageProgram, &programParams, nullptr, nullptr);