-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8292a6a
Showing
207 changed files
with
95,851 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2019 Advanced Micro Devices, Inc. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
Notices and licenses file | ||
_________________________ | ||
|
||
erwincoumans-sce_vectormath v-u (BSD3) | ||
Copyright (C) 2006, 2010 Sony Computer Entertainment Inc. | ||
All rights reserved. | ||
|
||
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 the Sony Computer Entertainment Inc 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 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 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. | ||
|
||
|
||
gpuopen-librariesandsdks-cpu-core-counts v-u (MIT) | ||
Copyright (c) 2019 Advanced Micro Devices, Inc. All rights reserved. | ||
Copyright(c) 2017 GPUOpen Libraries & SDKs | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files(the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions : | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
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 AND NONINFRINGEMENT.IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
|
||
gpuopen-librariesandsdks-radeonrays_sdk v-u (MIT) | ||
Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
|
||
netbsd v-u (BSD3) | ||
|
||
Copyright (c) 1992, 1993 | ||
The Regents of the University of California. 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. Neither the name of the University 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 REGENTS 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 REGENTS 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. | ||
|
||
syoyo-tinyobjloader v-u (MIT) | ||
Copyright (c) 2012-2016 Syoyo Fujita and many contributors. | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
|
||
tencent-ncnn v-u (zlib) | ||
Copyright (C) 2007 Julien Pommier | ||
Copyright (C) 2012 Giovanni Garberoglio | ||
|
||
This software is provided 'as-is', without any express or implied | ||
warranty. In no event will the authors be held liable for any damages | ||
arising from the use of this software. | ||
|
||
Permission is granted to anyone to use this software for any purpose, | ||
including commercial applications, and to alter it and redistribute it | ||
freely, subject to the following restrictions: | ||
|
||
1. The origin of this software must not be misrepresented; you must not | ||
claim that you wrote the original software. If you use this software | ||
in a product, an acknowledgment in the product documentation would be | ||
appreciated but is not required. | ||
2. Altered source versions must be plainly marked as such, and must not be | ||
misrepresented as being the original software. | ||
3. This notice may not be removed or altered from any source distribution. | ||
|
||
(this is the zlib license) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
AMD FEMFX | ||
v0.1.0 | ||
|
||
FEMFX is a multithreaded CPU library for deformable material physics, using | ||
the Finite Element Method (FEM). Solid objects are represented as a mesh of | ||
tetrahedral elements, and each element has material parameters that control | ||
stiffness, how volume changes with deformation, and stress limits where | ||
fracture or plastic (permanent) deformation occur. The model supports a | ||
wide range of materials and interactions between materials. We intend for | ||
these features to complement rather than replace traditional rigid body | ||
physics. The system is designed with the following considerations: | ||
|
||
* Fidelity: realistic-looking wood, metal, plastic, even glass, because | ||
they bend and break according to stress as real materials do. | ||
* Deformation effects: non-rigid use cases such as soft-body objects, | ||
bending or warping objects. It is not just a visual effect, but | ||
materials will resist or push back on other objects. | ||
* Changing material on the fly: you can change the settings to make the | ||
same object behave very differently, e.g., turn gelatinous or melt | ||
* Interesting physics interactions for gameplay or puzzles | ||
|
||
The library uses extensive multithreading to utilize multicore CPUs and benefit | ||
from the trend of increasing CPU core counts. | ||
|
||
Included in this release | ||
* Source code for FEMFX library | ||
* Houdini plugin for content creation | ||
* Sample code for loading and preprocessing content for rendering | ||
* Sample threading utilities | ||
* A basic graphical sample | ||
|
||
In a separate release, we provide a plugin for Unreal Engine and a demo that | ||
demonstrates more advanced rendering of FEM objects. | ||
|
||
Dependencies | ||
The sample code has some dependencies on external frameworks which must be | ||
downloaded separately: | ||
* JSON for Modern C++: https://github.com/nlohmann/json | ||
* GLFW: https://www.glfw.org/download.html | ||
|
||
System requirements | ||
* AMD Ryzen™ 7 2700X Processor or equivalent | ||
* Windows® 10 | ||
* Visual Studio 2017 or Visual Studio 2019 | ||
|
||
Files: | ||
1. Documentation | ||
* amd_femfx\docs\ | ||
2. Library | ||
* amd_femfx\inc\ : Public API (Look first at AMD_FEMFX.h) | ||
* amd_femfx\src\ : Implementation files | ||
3. Sample code | ||
* samples\FEMFXViewer\ : Basic sample; displays tetrahedral meshes and debug | ||
information | ||
* samples\common\TestScenes.*: Setup for tech demo scenes used by FEMFXViewer | ||
* samples\common\FemResource.* : Container for the data loaded from a .FEM | ||
file | ||
* samples\common\LoadFem.*: Code for parsing a .FEM and loading into an | ||
FEMResource | ||
* samples\common\RenderTetAssignment.* : Assigns rendering mesh vertices to | ||
tetrahedra for skinning | ||
* samples\ExampleRigidBodies\ : Basic demonstration of interfacing an | ||
external rigid body system with FEMFX library | ||
* samples\sample_task_system\ : Sample task system library interfaced with | ||
FEMFX | ||
4. Houdini plugin for content creation | ||
* houdini16.5\AMD_FEM_Assets.otl | ||
5. External dependencies | ||
* external\glfw\ : Path to install GLFW for viewer; can download Windows | ||
pre-compiled binaries from https://www.glfw.org/download.html | ||
* external\json-develop\ : Path to install json parser used in LoadFemFile.*; | ||
can download from https://github.com/nlohmann/json | ||
6. Some individual components | ||
* amd_femfx\inc\Vectormath\ : 3D vector/matrix math | ||
* amd_femfx\src\PrimitiveCollision\ : Triangle and box collision | ||
operations, intersection and CCD | ||
* amd_femfx\src\Common\FEMFXSvd3x3.* : 3x3 SVD | ||
* amd_femfx\src\Threading\ : Async parallel-for and task graph support | ||
* samples\sample_task_system\TL* : Async task system implementation | ||
|
Oops, something went wrong.