better icosphere

feature/softbody-runtime-control
Benjamin Kraft 3 months ago
parent b9a5690b0c
commit 3dde0fee20
  1. 2
      include/application.hpp
  2. 2024
      models/icosphere.ply
  3. 2021
      models/icosphere_medium.ply
  4. BIN
      models/vulkanscene.blend
  5. 2
      src/application.cpp

@ -46,7 +46,7 @@ public:
private: private:
void imGuiWindows(); void imGuiWindows();
struct PerformanceInformation { struct PerformanceInformation {
static const size_t saves = 144; static const size_t saves = 30;
FixedList recentTotalUpdateDurations = FixedList(saves); FixedList recentTotalUpdateDurations = FixedList(saves);
float updateDuration; float updateDuration;
FixedList recentFrameDurations = FixedList(saves); FixedList recentFrameDurations = FixedList(saves);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

@ -184,7 +184,7 @@ void Application::createSyncObjects() {
} }
void Application::createMeshBuffers() { void Application::createMeshBuffers() {
Mesh sphere("models/icosphere.ply"); Mesh sphere("models/icosphere_medium.ply");
Mesh bunny("models/bunny_medium.ply"); Mesh bunny("models/bunny_medium.ply");
auto body = std::make_unique<SoftBody>(&sphere, 1.f / 60); auto body = std::make_unique<SoftBody>(&sphere, 1.f / 60);

Loading…
Cancel
Save