项目作者: JoseFilipeFerreira

项目描述 :
Optimization of Multiple Light Sources in Scenes (VI2 assignment)
高级语言: C++
项目地址: git://github.com/JoseFilipeFerreira/multiple-lights.git
创建时间: 2021-05-06T08:19:22Z
项目社区:https://github.com/JoseFilipeFerreira/multiple-lights

开源协议:MIT License

下载


multiple-lights

Exploring different approaches to optimize the rendering of scenes with multiple lights
with the objective of improving rendering time while minimizing noise. (VI2 assignment)

The explored methods were:

  • pooling all lights from the scene
  • use a uniform distribution to fetch one random light per point
  • choose a random light based on how close it is to the point being calculated

Projects Dependencies

Linux and MacOs dependencies build

There is a local-thrparty folder with a buildeps script. The builddeps script will download, configure, compile and install into local-thrparty folder.

It will also generate a enviroment variable script that will setup the build environment.

  1. source local-thrparty/install/bin/setenv

Building the project Linux/MacOs

Make sure the enviroment variables defined in “setenv” point to the proper install paths. On windows, make sure they are defined on the proper place.

  1. mkdir build
  2. cd build
  3. cmake ..

Builing the project

  1. make

Runing the exemple

  1. ./CGViewer2021 -m models/cornell/CornellBox-Water.obj

Authors

License

This project is licensed under the MIT License - see the LICENSE file
for details