bunny files with uv

feature/softbody-runtime-control
Benjamin Kraft 3 months ago
parent 4ccad6fe71
commit fc85eca7a7
  1. 78192
      models/bunny_high.ply
  2. 4529
      models/bunny_low.ply
  3. 14862
      models/bunny_medium.ply
  4. 2
      models/environment.obj
  5. BIN
      models/scene.blend
  6. BIN
      models/vulkanscene.blend
  7. 4
      src/application.cpp

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,4 +1,4 @@
# Blender v3.0.1 OBJ File: 'scene.blend' # Blender v3.0.1 OBJ File: 'vulkanscene.blend'
# www.blender.org # www.blender.org
v 11.999999 -1.000000 -20.000000 v 11.999999 -1.000000 -20.000000
v 8.328395 1.000000 -12.492590 v 8.328395 1.000000 -12.492590

Binary file not shown.

Binary file not shown.

@ -176,11 +176,11 @@ void Application::createSyncObjects() {
void Application::createMeshBuffers() { void Application::createMeshBuffers() {
Mesh sphere("models/icosphere.ply"); Mesh sphere("models/icosphere.ply");
Mesh bunny("models/bunny_medium.ply"); Mesh bunny("models/bunny_high.ply");
auto body = std::make_unique<SoftBody>(&sphere, 1.f / 100); auto body = std::make_unique<SoftBody>(&sphere, 1.f / 100);
for (size_t i = 0; i < 2; i++){ for (size_t i = 0; i < 0; i++){
auto copy = std::make_unique<SoftBody>(*body.get()); auto copy = std::make_unique<SoftBody>(*body.get());
copy->applyVertexOffset({i * 2, 0, 0}); copy->applyVertexOffset({i * 2, 0, 0});
softBodies.push_back(std::move(copy)); softBodies.push_back(std::move(copy));

Loading…
Cancel
Save