GithubHelp home page GithubHelp logo

infiniteway / ray-tracer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from friduric/ray-tracer

0.0 1.0 0.0 3.2 MB

A CPU-based Monte Carlo ray tracer using photon mapping. Implemented in C++.

License: GNU General Public License v2.0

CMake 0.07% C++ 99.93%

ray-tracer's Introduction

Description

A Monte Carlo ray tracer implementation using photon mapping.

Currently supports:

  • Intransparent materials using Oren-Nayar and Lambertian BRDFs.
  • Transparent and reflective materials.
  • Shadow, indirect and direct photons.
  • Parallelized/multi-threaded rendering using OMP.
  • Caustic photons.

TODO:

  • Optimized ray casting using an octree and AABBs.

A few troubleshooting tips

  • IMPORTANT: Use the 32-bit binaries (build using x86!). Otherwise GLM might bug out.

  • OPTIONAL: Linker -> Command Line -> Add "/NODEFAULTLIB:MSVCRT /NODEFAULTLIB:LIBCMT"

  • OPTIONAL: Remove warning LNK4099:

    • Change C/C++ -> Output Files -> Program Database File to: "$(TargetDir)$(TargetName).pdb"

    • Change Linker -> Debugging -> Generate Program Database File to: "$(TargetDir)$(TargetName).pdb"

  • OPTIONAL: Adding /FORCE:MULTIPLE to the Linker command line helps remove errors LNK1169 and LNK2005.

Tags

TNCG15, Linköping University, Global Illumination, Advanced Rendering, Computer-Graphics, TSBK03, TSBK07

ray-tracer's People

Contributors

davidisak avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.