• Stars
    star
    579
  • Rank 74,496 (Top 2 %)
  • Language
    C++
  • License
    Other
  • Created over 7 years ago
  • Updated about 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,238
star
2

PhysX

NVIDIA PhysX SDK
C++
2,893
star
3

Falcor

Real-Time Rendering Framework
C++
2,416
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,431
star
6

rtx-remix

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

DxrTutorials

C++
824
star
8

RTXGI-DDGI

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

GettingStartedWithRTXRayTracing

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

RTX-Path-Tracing

Real-time path tracing library and sample
C++
571
star
11

nvrhi

C++
525
star
12

RayTracingDenoiser

NVIDIA Ray Tracing Denoiser
HLSL
461
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
348
star
16

Blast

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

RTXDI

C++
311
star
18

NvCloth

C
286
star
19

dxvk-remix

C++
274
star
20

KickstartRT

KickstartRT SDK
C++
178
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++
137
star
25

SpatiotemporalBlueNoiseSDK

C
124
star
26

Displacement-MicroMap-Toolkit

C++
121
star
27

UnityPhysXPlugin

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

NRI

C++
90
star
29

RTXMU

C++
89
star
30

donut_examples

C++
72
star
31

NRDSample

C++
69
star
32

ShaderMake

Shader Compilation Tool
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++
49
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

nas-sample

C++
16
star
39

Streamline_Sample

C++
16
star
40

Opacity-MicroMap-Samples

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

Displacement-MicroMap-BaryFile

C++
11
star
42

NRIFramework

C
8
star
43

NRISamples

C++
7
star