omegaiota / DiffCloth

Code repository for our paper DiffCloth: Differentiable Cloth Simulation with Dry Frictional Contact
https://people.csail.mit.edu/liyifei/publication/diffcloth/
MIT License
339 stars 31 forks source link

Code released: physics engine or optimizers! #2

Closed alelordelo closed 1 year ago

alelordelo commented 1 year ago

Hello team, thanks for sharing this amazing paper!

Will you guys release the optimizer or a complete physics engine?

thanks!

omegaiota commented 1 year ago

Hi, sorry for the long wait.

I've just released the code. Feel free to contact me through email or creating a new issue if you have any questions regarding setting up the code base, running examples or setting up new example.

alelordelo commented 1 year ago

Hi @omegaiota I am getting this build error bellow on MacBook Air M1 MacOS Ventura.

Any idea how to fix it would be hugely appreciated! : )

build % cmake .. -- set env var -- Using Cocoa for window creation CMake Error at /Applications/CMake.app/Contents/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /Applications/CMake.app/Contents/share/cmake-3.24/Modules/FindOpenMP.cmake:545 (find_package_handle_standard_args) CMakeLists.txt:70 (find_package)

-- Configuring incomplete, errors occurred!

alelordelo commented 1 year ago

Update...

I fount this SO, but looks like you guys already included the code on the file...

Screenshot 2022-11-01 at 14 27 23
omegaiota commented 1 year ago

Can you double check if you've installed OpenMP?

alelordelo commented 1 year ago

Sorry for the late reply, was out last week... I re installed all Packages and now it works! Thanks a lot for looking into this @omegaiota!

omegaiota commented 1 year ago

👍🏻