├── .clang-format ├── .gitignore ├── CMakeLists.txt ├── README.md ├── lib ├── imgui │ ├── imconfig.h │ ├── imgui.cpp │ ├── imgui.h │ ├── imgui_demo.cpp │ ├── imgui_draw.cpp │ ├── imgui_impl_sdl2.cpp │ ├── imgui_impl_sdl2.h │ ├── imgui_impl_sdlrenderer2.cpp │ ├── imgui_impl_sdlrenderer2.h │ ├── imgui_internal.h │ ├── imgui_tables.cpp │ ├── imgui_widgets.cpp │ ├── imstb_rectpack.h │ ├── imstb_textedit.h │ └── imstb_truetype.h └── stb │ └── stb_image.h ├── res ├── cube.obj ├── cube.png ├── drone.obj └── drone.png ├── run.sh ├── screenshot.png └── src ├── AK.h ├── Camera.cpp ├── Camera.h ├── Color.cpp ├── Color.h ├── Engine.cpp ├── Engine.h ├── Framebuffer.cpp ├── Framebuffer.h ├── Light.h ├── Matrix.cpp ├── Matrix.h ├── Mesh.cpp ├── Mesh.h ├── Scene.h ├── Texture.cpp ├── Texture.h ├── Triangle.cpp ├── Triangle.h ├── UI.cpp ├── UI.h ├── Vector.cpp ├── Vector.h ├── Vertex.h ├── Window.cpp ├── Window.h └── main.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /.cache/ 3 | /res/ 4 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/README.md -------------------------------------------------------------------------------- /lib/imgui/imconfig.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imconfig.h -------------------------------------------------------------------------------- /lib/imgui/imgui.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui.cpp -------------------------------------------------------------------------------- /lib/imgui/imgui.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui.h -------------------------------------------------------------------------------- /lib/imgui/imgui_demo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_demo.cpp -------------------------------------------------------------------------------- /lib/imgui/imgui_draw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_draw.cpp -------------------------------------------------------------------------------- /lib/imgui/imgui_impl_sdl2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_impl_sdl2.cpp -------------------------------------------------------------------------------- /lib/imgui/imgui_impl_sdl2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_impl_sdl2.h -------------------------------------------------------------------------------- /lib/imgui/imgui_impl_sdlrenderer2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_impl_sdlrenderer2.cpp -------------------------------------------------------------------------------- /lib/imgui/imgui_impl_sdlrenderer2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_impl_sdlrenderer2.h -------------------------------------------------------------------------------- /lib/imgui/imgui_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_internal.h -------------------------------------------------------------------------------- /lib/imgui/imgui_tables.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_tables.cpp -------------------------------------------------------------------------------- /lib/imgui/imgui_widgets.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imgui_widgets.cpp -------------------------------------------------------------------------------- /lib/imgui/imstb_rectpack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imstb_rectpack.h -------------------------------------------------------------------------------- /lib/imgui/imstb_textedit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imstb_textedit.h -------------------------------------------------------------------------------- /lib/imgui/imstb_truetype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/imgui/imstb_truetype.h -------------------------------------------------------------------------------- /lib/stb/stb_image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/lib/stb/stb_image.h -------------------------------------------------------------------------------- /res/cube.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/res/cube.obj -------------------------------------------------------------------------------- /res/cube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/res/cube.png -------------------------------------------------------------------------------- /res/drone.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/res/drone.obj -------------------------------------------------------------------------------- /res/drone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/res/drone.png -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/run.sh -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/screenshot.png -------------------------------------------------------------------------------- /src/AK.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/AK.h -------------------------------------------------------------------------------- /src/Camera.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Camera.cpp -------------------------------------------------------------------------------- /src/Camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Camera.h -------------------------------------------------------------------------------- /src/Color.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Color.cpp -------------------------------------------------------------------------------- /src/Color.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Color.h -------------------------------------------------------------------------------- /src/Engine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Engine.cpp -------------------------------------------------------------------------------- /src/Engine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Engine.h -------------------------------------------------------------------------------- /src/Framebuffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Framebuffer.cpp -------------------------------------------------------------------------------- /src/Framebuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Framebuffer.h -------------------------------------------------------------------------------- /src/Light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Light.h -------------------------------------------------------------------------------- /src/Matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Matrix.cpp -------------------------------------------------------------------------------- /src/Matrix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Matrix.h -------------------------------------------------------------------------------- /src/Mesh.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Mesh.cpp -------------------------------------------------------------------------------- /src/Mesh.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Mesh.h -------------------------------------------------------------------------------- /src/Scene.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Scene.h -------------------------------------------------------------------------------- /src/Texture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Texture.cpp -------------------------------------------------------------------------------- /src/Texture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Texture.h -------------------------------------------------------------------------------- /src/Triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Triangle.cpp -------------------------------------------------------------------------------- /src/Triangle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Triangle.h -------------------------------------------------------------------------------- /src/UI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/UI.cpp -------------------------------------------------------------------------------- /src/UI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/UI.h -------------------------------------------------------------------------------- /src/Vector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Vector.cpp -------------------------------------------------------------------------------- /src/Vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Vector.h -------------------------------------------------------------------------------- /src/Vertex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Vertex.h -------------------------------------------------------------------------------- /src/Window.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Window.cpp -------------------------------------------------------------------------------- /src/Window.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/Window.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adamrt/renderer/HEAD/src/main.cpp --------------------------------------------------------------------------------