Comments (8)
I am not sure what you want to do. Can you give more information? Which collision() function are you talking about?
We have examples on how to use self collision and inter collision in the samples:
NvCloth/samples/SampleBase/scene/scenes/SelfCollisionScene.cpp
NvCloth/samples/SampleBase/scene/scenes/InterCollisionScene.cpp
from nvcloth.
I am sorry my english is not very well.
This function collideParticles() in SwSelfCollision.cpp,i want to know this function's effect and meaning of its parameters.
Thanks.
from nvcloth.
You don't have to call cloth::SwInterCollision::collideParticles yourself to use inter collision. This is an internal function.
Is there something you want to do that is not possible with the public API?
from nvcloth.
I just want to study the code and how NV to design the API for collision detect.
from nvcloth.
Do you want to add a feature to NvCloth? Or do you want to use this information for a different library?
from nvcloth.
Yeah,I have to do a interface for some codes about cloth's collision detect.
So i want to get some experiences.
from nvcloth.
This code is quite complex and we currently don't have good documentation for it.
I'll put it on my todo list to look into it, but we currently have other tasks that require our attention first.
It would also help if you were more specific with your question.
from nvcloth.
I managed to spend some time looking at the inter collision code. It is quite similar to the self collision code, for which I already had some documentation. I now also wrote some documentation for the inter collision code that is different.
These parts of the documentation are still work in progress, so keep that in mind.
I attached the documentation to this message. Open index.html and click on Internal collision detection documentation > Inter Collision or Self Collision to get to the page you want.
NvClothDocumentation_23599015e.zip
from nvcloth.
Related Issues (20)
- what is the right way to do cloth-body animation? HOT 11
- DX solver function accelerateParticles looks wrong HOT 1
- Compiler error when disabling USE_SELF_COLLISION_SORT in DX solver
- [Feature Request] Add CMake arguments to disable CUDA and DX solver for the samples
- No CmakeGenerateAll.bat HOT 6
- [Question] PhysX and NvCloth interaction HOT 2
- Compiling 32 bit
- Compiling 32 bit
- Manually-specified variables were not used by the project
- Cmake Build system for windows is broken and project files cannot build properly due to custom rule for CuSolverKernel.cu is missing
- Licensing questions HOT 3
- A question about spheres CCD
- Would NvCloth support Visual Studio 16 2019? HOT 1
- Strange problem of simulation result HOT 1
- sse2/SwCollisionHelpers.h->x86intrin.h does not compile on mac arch x86_64 HOT 3
- There is a gap in the skirt, how to solve it? HOT 2
- Automation script MAC, Win compilation failed
- DX solver doesn't invalidate mClothDatas after sorting cloth instances
- Would NvCloth support DirectX12 in future?
- Installation fails with 403 from cloudfront HOT 3
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 nvcloth.