From b36990ddd0ec109a12becda3e76dc12ea4ad3c49 Mon Sep 17 00:00:00 2001 From: Yuwei Xiao <xyw1105@126.com> Date: Thu, 20 Feb 2020 18:32:44 +0800 Subject: [PATCH] readme update promt update --- CMakeLists.txt | 9 +-------- README.md | 16 ++++++++++++++++ include/Gui.cpp | 20 ++++++++++---------- 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a50df1..1ec2487 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,11 +27,4 @@ if (NOT LIBIGL_FOUND) find_package(LIBIGL REQUIRED QUIET) endif() -add_subdirectory(0_dummy) -add_subdirectory(1-1_cannonball) -add_subdirectory(1-2_spring) -add_subdirectory(2-1_spinning) -add_subdirectory(2-2_gyro) -add_subdirectory(3_collision) -add_subdirectory(4_mss) -add_subdirectory(5_fluid) \ No newline at end of file +add_subdirectory(0_dummy) \ No newline at end of file diff --git a/README.md b/README.md index d55a920..5ca75d8 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,19 @@ zip NAME_ID_0_dummy.zip 0_dummy/* ``` Rename your compressed file following the rule *`NAME_ID_XXX`*. + + +## FAQ + +* Command `cmake ../` stuck at `Cloning into 'eigen'...` or other cloning. + + This may caused by problem of accessing github. Please first try use [SJTU VPN](!https://net.sjtu.edu.cn/wlfw/VPN.htm) and compile. + + Also, some repos are available on our own server, such as *Eigen*. The download info of libigl dependencies is located at file `libigl/cmake/LibiglDownloadExternal.cmake`. For example, you can change the link at line 70 to `http://dalab.se.sjtu.edu.cn/gitlab/xiaoyuwei/eigen.git` use eigen mirror repo at DALAB server. + + glfw (http://dalab.se.sjtu.edu.cn/gitlab/xiaoyuwei/glfw.git) and imgui (http://dalab.se.sjtu.edu.cn/gitlab/xiaoyuwei/imgui.git) are also available on our server. + + +---- + +The main part of this framework refers to physical-based simulation course at ETH Zurich. \ No newline at end of file diff --git a/include/Gui.cpp b/include/Gui.cpp index 8cb3863..7e22e59 100644 --- a/include/Gui.cpp +++ b/include/Gui.cpp @@ -15,16 +15,16 @@ void Gui::start() { // message: http://patorjk.com/software/taag/#p=display&v=0&f=Roman&t=PBS%2019 std::string usage( R"( - ooooooooo. oooooooooo. .oooooo..o - `888 `Y88. `888' `Y8b d8P' `Y8 - 888 .d88' 888 888 Y88bo. - 888ooo88P' 888oooo888' `"Y8888o. - 888 888 `88b `"Y88b - 888 888 .88P oo .d8P - o888o o888bood8P' 8""88888P' - - 252-0546-00L Physically-Based Simulation in Computer Graphics @ ETH Zurich - Course Exercise Framework +oooooooooo. .o. ooooo .o. oooooooooo. +`888' `Y8b .888. `888' .888. `888' `Y8b + 888 888 .8"888. 888 .8"888. 888 888 + 888 888 .8' `888. 888 .8' `888. 888oooo888' + 888 888 .88ooo8888. 888 .88ooo8888. 888 `88b + 888 d88' .8' `888. 888 o .8' `888. 888 .88P +o888bood8P' o88o o8888o o888ooooood8 o88o o8888o o888bood8P' + + Computer Animation + Course Exercise Framework Shortcuts: [drag] Rotate scene | [space] Start/pause simulation -- GitLab