more data generation
This commit is contained in:
parent
7a0f86c425
commit
7250fe1dd0
698 changed files with 248864 additions and 273 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue