Giter VIP home page Giter VIP logo

Comments (8)

mtamis-NV avatar mtamis-NV commented on July 19, 2024

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.

rkysky avatar rkysky commented on July 19, 2024

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.

mtamis-NV avatar mtamis-NV commented on July 19, 2024

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.

rkysky avatar rkysky commented on July 19, 2024

I just want to study the code and how NV to design the API for collision detect.

from nvcloth.

mtamis-NV avatar mtamis-NV commented on July 19, 2024

Do you want to add a feature to NvCloth? Or do you want to use this information for a different library?

from nvcloth.

rkysky avatar rkysky commented on July 19, 2024

Yeah,I have to do a interface for some codes about cloth's collision detect.
So i want to get some experiences.

from nvcloth.

mtamis-NV avatar mtamis-NV commented on July 19, 2024

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.

mtamis-NV avatar mtamis-NV commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.