• Stars
    star
    579
  • Rank 77,126 (Top 2 %)
  • Language
    C++
  • License
    Other
  • Created almost 8 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NVIDIA Flex - 1.2.0

Flex is a particle-based simulation library designed for real-time applications. Please see the programmer's manual included in this release package for more information on the solver API and usage.

Supported Platforms

  • Windows 32/64 bit (CUDA, DX11, DX12)
  • Linux 64 bit (CUDA, tested with Ubuntu 16.04 LTS and Mint 17.2 Rafaela)

Requirements

A D3D11 capable graphics card with the following driver versions:

  • NVIDIA GeForce Game Ready Driver 396.45 or above
  • AMD Radeon Software Version 16.9.1 or above
  • Intel® Graphics Version 15.33.43.4425 or above

To build the demo at least one of the following is required:

  • Microsoft Visual Studio 2013
  • Microsoft Visual Studio 2015
  • g++ 4.6.3 or higher

And either:

  • CUDA 9.2.148 toolkit
  • DirectX 11/12 SDK

Demo

Use the run_cuda.bat or run_d3d.bat files to launch the demo.

Notes

  • Some scenes also have fluid emitters that can be started using 'space'

  • For running the Linux binaries you will need to export the path to where the CUDA run time libraries are For example, you may add to your .bashrc file the following:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
    

Command Line Options

The following commands may be passed to the demo application to modify behavior:

-fullscreen=wxh  Start fullscreen e.g.: -fullscreen=1280x720
-msaa=0          Disable multisampling (default is on)
-device=n        Choose GPU to run on
-d3d12           Enable D3D12 compute
-benchmark       Enable bencmark mode, will write a benchmark.txt to the root folder
-vsync=0         Disable vsync

Controls

w,s,a,d - Fly Camera
right mouse - Mouse look
shift + left mouse - Particle select and drag

p - Pause/Unpause
o - Step
h - Hide/Show onscreen help

left/right arrow keys - Move to prev/next scene
up/down arrow keys - Select next scene
enter - Launch selected scene
r - Reset current scene

e - Draw fluid surface
v - Draw points
f - Draw springs
i - Draw diffuse
m - Draw meshes

space - Toggle fluid emitter
y - Toggle wave pool
c - Toggle video capture
u - Toggle fullscreen
j - Wind gust
- - Remove a plane
esc - Quit

Known Issues

  • Crash with inflatable scenes on Intel HD Graphics 530
  • MSAA is broken on D3D12 and currently disabled

Acknowledgements

  • SDL is licensed under the zlib license
  • GLEW is licensed under the Modified BSD license
  • Regal is licensed under the BSD license
  • stb_truetype by Sean Barrett is public domain
  • imgui by Mikko Mononen is licensed under the ZLib license

More Repositories

1

kaolin

A PyTorch Library for Accelerating 3D Deep Learning Research
Python
4,452
star
2

PhysX

NVIDIA PhysX SDK
C++
2,893
star
3

Falcor

Real-Time Rendering Framework
C++
2,615
star
4

PhysX-3.4

NVIDIA PhysX SDK 3.4
C++
2,307
star
5

kaolin-wisp

NVIDIA Kaolin Wisp is a PyTorch library powered by NVIDIA Kaolin Core to work with neural fields (including NeRFs, NGLOD, instant-ngp and VQAD).
Python
1,450
star
6

rtx-remix

Combined repo for the RTX-Remix runtime
1,369
star
7

DxrTutorials

C++
834
star
8

RTXGI-DDGI

RTX Global Illumination (RTXGI)
C++
689
star
9

RTX-Path-Tracing

Real-time path tracing library and sample
C++
624
star
10

GettingStartedWithRTXRayTracing

Getting Started with RTX Ray Tracing
C++
613
star
11

nvrhi

C++
525
star
12

RayTracingDenoiser

NVIDIA Ray Tracing Denoiser
HLSL
512
star
13

FaceWorks

A middleware library and sample application for high-quality skin and eye rendering
C++
450
star
14

NVIDIAImageScaling

NVIDIA Image Scaling SDK
C
426
star
15

Streamline

Streamline Integration Framework
C
400
star
16

RTXDI

C++
356
star
17

Blast

A modular destruction SDK designed for performance and flexibility, replacing APEX destruction
C++
331
star
18

dxvk-remix

C++
307
star
19

NvCloth

C
296
star
20

KickstartRT

KickstartRT SDK
C++
185
star
21

Flow

Flow is a sparse grid-based fluid simulation library for real-time applications.
C
168
star
22

donut

C++
164
star
23

HBAOPlus

HBAO+
C++
160
star
24

bridge-remix

This is the NVIDIA RTX Remix Runtime Bridge repository
C++
146
star
25

Displacement-MicroMap-Toolkit

C++
130
star
26

SpatiotemporalBlueNoiseSDK

C
127
star
27

UnityPhysXPlugin

Experimental Unity package to enable access to NVIDIA PhysX SDK 4 from within Unity.
C#
122
star
28

NRI

C++
90
star
29

RTXMU

C++
89
star
30

ShaderMake

Shader Compilation Tool
C++
78
star
31

donut_examples

C++
72
star
32

NRDSample

C++
69
star
33

GeForceNOW-SDK

This is the home of the SDK for GeForce NOW
C
65
star
34

KickstartRT_demo

Repo for KickstartRT demo application
C++
50
star
35

Opacity-MicroMap-SDK

Opacity Micro-Map SDK Source Repository
C++
36
star
36

MathLib

C++
28
star
37

Displacement-MicroMap-SDK

C++
19
star
38

Streamline_Sample

C++
17
star
39

nas-sample

C++
16
star
40

ComfyUI-RTX-Remix

ComfyUI RTX Remix
Python
14
star
41

Opacity-MicroMap-Samples

Samples repository for the Opacity MicroMap SDK
C++
11
star
42

Displacement-MicroMap-BaryFile

C++
11
star
43

NRIFramework

C
8
star
44

NRISamples

C++
7
star
45

rtxdi-runtime

HLSL
2
star