Skip to content

vedangnaik/3DModelViewer

Repository files navigation

3DModelViewer

Modular Sci-Fi Wall Test 2, rendered and lit by 3DModelViewer

A simple 3D model viewer I made to test my knowledge of graphics programming in OpenGL (shoutout to https://learnopengl.com/ 😊)

Features

This viewer can simluate lighting from upto 16 point lights, 16 spotlights and 1 directional light upon one model. The physically-based rendering model with metallic workflow is utilized. Albdeo, normal, metallic, roughness and AO maps are currently supported. All textures and lighting parameters (color, position, etc.) can be changed through a GUI at any point; the results will be seen in the next frame.

Build

Use Visual Studio to build the .sln file in the root of the project directory. msbuild can also be used if a full Visual Studio installation is not desired. Copy the built executable into the project directory before running. Otherwise, you may get an error saying that assimp-vc140-mt.dll is missing.

Dependencies

This viewer is built for Windows. OpenGL 4.6 has been used, but any version above 3.3 should be fine. All of the following dependencies are already present in this repository.

Planned features

  • Support for more map types, such as heightmaps, emission maps, etc
  • Support for cubemaps and image-based lighting (IBL)
  • Ability to open more than one model
  • Support for shadows
  • Option to use deferred rendering
  • Allow unlimited number of lights of each type
  • Ability to select lights from the screen instead of the GUI

About

A simple 3D model viewer I made to test my knowledge of graphics programming in OpenGL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages