Skip to content

Commit

Permalink
Blast SDK 4.0.2 - PhysX SDK 5.1.2 (32190885)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvidia-bgaldrikian authored and preist-nvidia committed Dec 12, 2022
1 parent 0bbcff3 commit 5044420
Show file tree
Hide file tree
Showing 317 changed files with 93,617 additions and 57 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Welcome to the NVIDIA PhysX source code repository.

This repository contains source releases of the PhysX and Flow SDKs used in NVIDIA Omniverse.
This repository contains source releases of the PhysX, Flow, and Blast SDKs used in NVIDIA Omniverse.

## Documentation

Expand Down
68 changes: 68 additions & 0 deletions blast/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlinesLeft: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine : false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: false
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
BreakStringLiterals: false
ColumnLimit: 120
CommentPragmas: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
DerivePointerBinding: false
FixNamespaceComments: false
IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentFunctionDeclarationAfterType: false
IndentWidth: 4
SortIncludes: true
IncludeCategories:
- Regex: '<carb\/.+>'
Priority: 2
- Regex: '<[[:alnum:]_.]+>'
Priority: 4
- Regex: '<[[:alnum:]_.\/]+>'
Priority: 3
- Regex: '".*"'
Priority: 1
IncludeBlocks: Regroup
Language: Cpp
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 0
PenaltyBreakComment: 1
PenaltyBreakFirstLessLess: 0
PenaltyBreakString: 1
PenaltyExcessCharacter: 10
PenaltyReturnTypeOnItsOwnLine: 1000
PointerAlignment: Left
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
Standard: Cpp11
ReflowComments: true
TabWidth: 4
UseTab: Never
7 changes: 7 additions & 0 deletions blast/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
max_line_length = 120
insert_final_newline = true
5 changes: 5 additions & 0 deletions blast/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
ignore=E402,E501,W503
max-line-length = 120
max-complexity = 18
exclude=_*,.vscode,.git
15 changes: 15 additions & 0 deletions blast/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Normalize text files on commit to LF endings by default
* text=auto
# Make sure Windows batch files preserve CR/LF line endings, otherwise they may not be able to execute. Windows
# batch files require a CR/LF for labels to work properly, otherwise they may fail when labels straddle 512-byte
# block boundaries. This is important when files are downloaded through a zip archive that was authored on a
# Linux machine (the default behavior on GitHub)
*.bat text eol=crlf
*.cmd text eol=crlf
# Make sure shell scripts have LF line endings, even when checked out on a Windows client with autocrlf=true
*.sh text eol=lf

# All files under data go into Git LFS
data/** filter=lfs diff=lfs merge=lfs -text
docs/images/** filter=lfs diff=lfs merge=lfs -text
source/extensions/**/data/** filter=lfs diff=lfs merge=lfs -text
99 changes: 99 additions & 0 deletions blast/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# all folders starting with _ are local
_*/
# exclude local website repo, used for publishing
website/

.lastrun
.lastformat
.lastverify
.DS_Store
**/.vscode/ipch
Makefile
*.swp
*.swo

# byte-compiled python files
*.py[cod]

# pip cache
.cache

# packman package files
*@*.7z
*@*.zip
*@*.txt

# packaged unittest archives
/test_binaries-*.zip
/tests-*.zip
/run_tests.*
*.sh1

# patch files
*.diff
*.patch

# binaries
*.ico
*.bmp
*.png
*.gif
*.jpg
*.jpeg
*.tga
*.psd
*.raw
*.exr
*.hdr
*.dds
*.ktx
*.spv
*.dxbc
*.dxil
*.gltf
*.glb
*.fbx
*.usd
*.usda
*.usdz
*.obj
*.mat

*.suo

# ignore the autoexec.lst file
autoexec.lst

# don't ignore carb.usd folder
!*.usd/

NvfPerflog.txt
imgui.ini
CON

# packman .user config
*.packman.xml.user

# kit user config
deps/**/user.toml

# allow anything in data, docs/images, ext data (under Git LFS management)
!data/**
!docs/images/**
!source/extensions/**/data/**

# ignore the cache
data/cache

# vscode settings are copied and filled in from 'settings.json.template'
.vscode/settings.json

symbols.txt
/.vs

# petert: temp file i create for debugging
output.txt

# PACKAGE-LICENSES/

PACKAGE-DEPS.yaml
6 changes: 6 additions & 0 deletions blast/PACKAGE-INFO.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Package : blast-sdk
Maintainers : Bryan Galdrikian, Eric Arnold
Description : Blast destruction SDK
SWIPAT NvBug :
Repository : https://gitlab-master.nvidia.com/omniverse/blast-sdk
License Type : NVIDIA
25 changes: 25 additions & 0 deletions blast/PACKAGE-LICENSES/blast-sdk-LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * 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.
// * Neither the name of NVIDIA CORPORATION nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''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 OWNER 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.
//
// Copyright (c) 2016-2022 NVIDIA Corporation. All rights reserved.
23 changes: 23 additions & 0 deletions blast/PACKAGE-LICENSES/boost-LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
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.
28 changes: 28 additions & 0 deletions blast/PACKAGE-LICENSES/vhacd-LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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.
14 changes: 14 additions & 0 deletions blast/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Blast SDK Repo

Online documentation may be found here: [Blast SDK Documentation](https://nvidia-omniverse.github.io/PhysX/blast/index.html).

## Building the SDK

### Windows
1. run `build.bat`
2. built sdk location: `_build\windows-x86_64\release\blast-sdk` (release), `_build\windows-x86_64\debug\blast-sdk` (debug)

### Linux
0. initialize (once): run `./setup.sh`
1. run `./build.sh`
2. built sdk location: `_build/linux-x86_64/release/blast-sdk` (release), `_build/linux-x86_64/debug/blast-sdk` (debug)
1 change: 1 addition & 0 deletions blast/VERSION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.2
2 changes: 2 additions & 0 deletions blast/build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
call "%~dp0repo" build %*
4 changes: 4 additions & 0 deletions blast/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -e
SCRIPT_DIR=$(dirname ${BASH_SOURCE})
source "$SCRIPT_DIR/repo.sh" build $@ || exit $?
35 changes: 35 additions & 0 deletions blast/deps/host-deps.packman.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<project toolsVersion="6.11">
<dependency name="premake" linkPath="../_build/host-deps/premake">
<package name="premake" version="5.0.9-nv-main-68e9a88a-${platform}" />
</dependency>
<dependency name="msvc" linkPath="../_build/host-deps/msvc">
<package name="msvc" version="2017-15.9.17-1" platforms="windows-x86_64" />
</dependency>
<dependency name="winsdk" linkPath="../_build/host-deps/winsdk">
<package name="winsdk" version="10.17763" platforms="windows-x86_64"/>
</dependency>
<dependency name="llvm" linkPath="../_build/host-deps/llvm">
<package name="llvm" version="6.0.0-linux-x86_64" platforms="linux-x86_64 linux-aarch64"/>
</dependency>
<dependency name="gcc_x64" linkPath="../_build/host-deps/gcc-x86_64">
<package name="gcc" version="9.2.0-binutils-2.30-x86_64-pc-linux-gnu-2" platforms="linux-x86_64"/>
</dependency>
<dependency name="gcc_aarch64" linkPath="../_build/host-deps/gcc-aarch64">
<package name="gcc" version="9.2.0-aarch64-pc-linux-gnu" platforms="linux-aarch64"/>
</dependency>
<dependency name="mirror" linkPath="../_build/host-deps/mirror">
<package name="mirror" version="0.1.110-a2df2ebd-windows-x86_64" platforms="windows-x86_64" />
<package name="mirror" version="0.1.100-81448125-linux-x86_64" platforms="linux-x86_64" />
<package name="mirror" version="0.1.100-dev-linux-aarch64" platforms="linux-aarch64" />
</dependency>
<dependency name="linbuild" linkPath="../_build/host-deps/linbuild">
<package name="linbuild" version="1.10.112-044606b-aarch64" platforms="linux-aarch64" />
<package name="linbuild" version="1.10.112-044606b-x86_64" platforms="linux-x86_64" />
</dependency>
<!-- <dependency name="omnitrace_tools" linkPath="../_build/host-deps/omni-trace-tools">
<package name="omnitrace-tools" version="0.5.62a10f54-$platform-release-dev"/>
</dependency> -->
<dependency name="CapnProto" linkPath="../_build/host-deps/CapnProto">
<package name="CapnProto" version="0.6.1.4" platforms="windows-x86_64 linux-x86_64" />
</dependency>
</project>
8 changes: 8 additions & 0 deletions blast/deps/repo-deps.packman.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<project toolsVersion="5.0">
<dependency name="repo_man" linkPath="../_repo/deps/repo_man">
<package name="repo_man" version="0.4.10" />
</dependency>
<dependency name="repo_build" linkPath="../_repo/deps/repo_build" tags="non-redist">
<package name="repo_build" version="0.25.1" />
</dependency>
</project>
34 changes: 34 additions & 0 deletions blast/deps/target-deps.packman.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<project toolsVersion="5.0">
<dependency name="python27" linkPath="../_build/target-deps/python27">
<package name="python" version="2.7.14-windows-x64-1" platforms="windows-x86_64"/>
</dependency>
<dependency name="python36" linkPath="../_build/target-deps/python36">
<package name="python" version="3.6.7-windows-x86_64" platforms="windows-x86_64"/>
<package name="python" version="3.6.5-linux-x64" platforms="linux-x86_64"/>
<package name="python" version="3.6.8-34.a6e9b99d-linux-aarch64" platforms="linux-aarch64"/>
</dependency>
<dependency name="python37" linkPath="../_build/target-deps/python37">
<package name="python" version="3.7.9-windows-x86_64" platforms="windows-x86_64" />
<package name="python" version="3.7.9-173.e9ee4ea0-${platform}" platforms="linux-x86_64 linux-aarch64" />
</dependency>

<dependency name="doxygen" linkPath="_dependencies/doxygen">
<package name="doxygen" version="1.8.5-windows-x86_64" platforms="windows-x86_64" />
</dependency>

<dependency name="physxsdk" linkPath="../_build/target-deps/physxsdk">
<package name="physxsdk" version="4.1.trunk.26400730-${platform}" platforms="windows-x86_64 linux-x86_64" />
</dependency>
<dependency name="pxshared" linkPath="../_build/target-deps/pxshared">
<package name="pxshared" version="1.1.trunk.25954437-${platform}" platforms="windows-x86_64 linux-x86_64" />
</dependency>

<dependency name="BoostMultiprecision" linkPath="../_build/target-deps/BoostMultiprecision">
<package name="BoostMultiprecision" version="1.64.0.1" platforms="windows-x86_64 linux-x86_64"/>
</dependency>

<dependency name="googletest" linkPath="../_build/target-deps/googletest">
<package name="googletest-win" version="1.4.0.2" platforms="windows-x86_64"/>
<package name="googletest-linux-x86_64" version="1.8.0.1" platforms="linux-x86_64"/>
</dependency>
</project>
Loading

0 comments on commit 5044420

Please sign in to comment.