Comments (4)
Hi xiangdonglai,
The current version does not support this. However, it only requires very few changes. I posted a version of the simulation code here, where it is used to generate synthetic data in my other project. The major difference will be in arcsim/src/obstacle.cpp, where I changed the obtacle I/O to support per-frame obstacle. There are also other minor engineering changes such as flags/config params, etc.
I think these changes can be directly applied to the differentiable code, as long as the obstacles are not used for gradient computation.
from differentiablecloth.
Thank you for your quick response. I am wondering what you mean exactly by "the obstacles are not used for gradient computation". For example, is it okay if we do not require the gradients with respect to the obstacles, but the obstacles still influence the cloth during simulation?
from differentiablecloth.
Oh, what I said was actually not correct. On the one hand, since the obstacles affect the cloth motion, their values are indeed in the computation graph (what I wanted to say is that they are basically constants). On the other hand, if you want to optimize the position of the obstacles, it is also possible by setting it as a variable, although you may have to save the mesh to the hard drive for each iteration, which is only a matter of implementation. Sorry for the confusion!
from differentiablecloth.
I see, thank you.
from differentiablecloth.
Related Issues (13)
- Compile Error
- Compile error HOT 3
- compile failure HOT 2
- Possibilty of controling cloth by external force? HOT 1
- Material estimation experiment HOT 4
- Compile Problem HOT 12
- compile problem HOT 3
- Compilation failure HOT 11
- GPU/CPU parallelization HOT 2
- /usr/bin/ld: final link failed: bad value HOT 6
- Compile Problem HOT 1
- compile failure HOT 4
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 differentiablecloth.