more data generation

This commit is contained in:
CDaut 2024-08-26 13:43:19 +02:00
parent 7a0f86c425
commit 7250fe1dd0
Signed by: clara
GPG key ID: 223391B52FAD4463
698 changed files with 248864 additions and 273 deletions

View file

@ -159,6 +159,7 @@ int main(int argc, char** argv)
helloVk.initGUI(0); // Using sub-pass 0
// Creation of the example
//FIXME: HERE WE CAN LOAD THE SCENE
helloVk.loadScene(nvh::findFile("media/scenes/grid.gltf", defaultSearchPaths, true));
// Setup camera
@ -180,6 +181,7 @@ int main(int argc, char** argv)
}
//set camera
CameraManip.setLookat(eye, center, up);
CameraManip.setFov(37.f);
helloVk.createOffscreenRender();
@ -228,7 +230,7 @@ int main(int argc, char** argv)
helloVk.resetFrame();
renderUI(helloVk, useRaytracer);
ImGui::Text("Application average %.3f ms/frame (%.1f FPS)", 1000.0f / ImGui::GetIO().Framerate, ImGui::GetIO().Framerate);
ImGuiH::Control::Info("", "", "(F10) Toggle Pane", ImGuiH::Control::Flags::Disabled);
ImGuiH::Control::Info("", "", "(F11) Toggle Pane", ImGuiH::Control::Flags::Disabled);
ImGuiH::Panel::End();
}