mattamert / mvw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mvw

mvw is a simple model viewer for .obj files. It largely serves as a basis for my experiments with D3D12 and Windows programming.

Usage: d3d12_renderer.exe <obj_file>

Build instructions:

This project uses:

  • gn & ninja for the build system
  • clang for the compiler
  • MSVC/Visual Studio for the system libraries.

To Build:

  1. Download/Install: gn, ninja, clang, and visual studio.
  2. Clone the repo with --recurse-submodules
  3. cd into the repo and run: "gn gen out/x64_Debug" (only x64 is supported right now)
  4. Build it with either of the following ways:
    • Open the solution file with Visual Studio & run it.
    • Run the vcvars64.bat included in your Visual Studio installation (an example of where to find it can be found in build/myvcvars19.bat). Then, cd into the out/x64_Debug directory and run "ninja all".

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 52.9%Language:C 44.1%Language:HLSL 3.0%