From e97baf7818382fe377e4133ec6029e2f32135ca1 Mon Sep 17 00:00:00 2001 From: Vanessa Karolek <vaka1997@uni-koblenz.de> Date: Mon, 20 Sep 2021 15:46:42 +0200 Subject: [PATCH] [#92] remove unnecessary includes, include license for referenced code --- projects/rtx_ambient_occlusion/LICENSE | 13 +++++++++++++ projects/rtx_ambient_occlusion/src/main.cpp | 8 ++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 projects/rtx_ambient_occlusion/LICENSE diff --git a/projects/rtx_ambient_occlusion/LICENSE b/projects/rtx_ambient_occlusion/LICENSE new file mode 100644 index 00000000..bf55b8c6 --- /dev/null +++ b/projects/rtx_ambient_occlusion/LICENSE @@ -0,0 +1,13 @@ +Copyright 2021 NVIDIA Corporation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use the files in this directory except in compliance with the License. + + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/projects/rtx_ambient_occlusion/src/main.cpp b/projects/rtx_ambient_occlusion/src/main.cpp index 5d6ede05..50786b61 100644 --- a/projects/rtx_ambient_occlusion/src/main.cpp +++ b/projects/rtx_ambient_occlusion/src/main.cpp @@ -1,15 +1,15 @@ -#include <iostream> #include <vkcv/Core.hpp> -#include <GLFW/glfw3.h> #include <vkcv/camera/CameraManager.hpp> #include <chrono> -#include <vkcv/asset/asset_loader.hpp> #include <vkcv/shader/GLSLCompiler.hpp> -#include <vkcv/scene/Scene.hpp> #include "RTX/RTX.hpp" #include "RTX/RTXExtensions.hpp" #include "teapot.hpp" +/** + * Note: This project is based on the following tutorial https://github.com/Apress/Ray-Tracing-Gems-II/tree/main/Chapter_16. + * Some code was taken from the tutorial, some code was adjusted to our framework. This includes the shader files as well. + */ int main(int argc, const char** argv) { const char* applicationName = "RTX Ambient Occlusion"; -- GitLab