Comments (1)
I don't think Flex can easily answer a query like "how deep is a point inside the fluid". To get an accurate answer I think you would need to build an SDF from the particles, e.g.: splat them to a grid and then run a general SDF algorithm.
Alternatively, you could try putting a layer of particles around the mesh and then use NvFlexGetDensities() to read the density for those particles. It's not exactly "depth", but might be enough depending on your needs.
from flex.
Related Issues (20)
- Simulating penetrative interaction
- Help Game Partners Migrate
- In Unity is MapParticleData -> NvFlexMap the expected performance bottleneck?
- Port to vcpkg for easy building / inclusion
- rotation of eNvFlexShapeSphere
- Register D3D12 Buffer to Flex
- D3D12 NvFlexUpdateTriangleMesh failed
- Unity 8.Oct.2021 Unfortunately, NVIDIA FleX for Unity (1.0 BETA) is no longer available. HOT 8
- granular particles in Flex behaving oddly - sleepThreshold bug? HOT 1
- 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF
- Two bugs I found in Flex
- Plastic deformation time-step sensitivity.
- Documentation for SetRigids neglects soft body case
- Documentation allocates velocity buffers that are too large
- Documentation for SetPhases is out of date.
- Update signed distance fields collisions
- Flex is broken for any RTX Cards
- Does flex have camera sensors such as depth cameras? HOT 1
- Open sourcing Flex? HOT 1
- How to access the force information in flex?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flex.