Giter Club home page Giter Club logo

jyt94 / fermat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nvlabs/fermat

0.0 0.0 0.0 196.36 MB

Fermat is a high performance research oriented physically based rendering system, trying to produce beautiful pictures following the mathematician’s principle of least time

CMake 1.69% Tcl 0.02% C 8.60% C++ 80.57% Objective-C 0.40% Makefile 0.09% M4 0.11% Python 3.44% Shell 0.11% HTML 1.23% Inno Setup 0.05% Batchfile 0.05% Pascal 0.08% D 1.03% Java 1.84% Rich Text Format 0.50% Objective-C++ 0.17% HLSL 0.01% Ruby 0.03% Smarty 0.01%

fermat's Introduction

#Fermat

Fermat 2.0 is a CUDA physically based research renderer designed and developed by Jacopo Pantaleoni at NVIDIA. Its purpose is mostly educational: it is primarily intended to teach how to write rendering algorithms, ranging from simple forward path tracing, to bidirectional path tracing, to Metropolis light transport with many of its variants, and do so on massively parallel hardware.

The choice of CUDA C++ has been made for various reasons: the first was to allow the highest level of expression and flexibility in terms of programmability (for example, with template based meta-programming); the second was perhaps historical: when Fermat's development was started, other ray tracing platforms like Microsoft DXR did not yet exist. The ray tracing core employed by Fermat is OptiX 6.0 - though future versions might also add a DXR or VKRT backend.

Fermat is built on top of another library co-developed for this project: CUGAR - CUDA Graphics AcceleratoR. This is a template library of low-level graphics tools, including algorithms for BVH, Kd-tree and octree construction, sphericals harmonics, sampling, and so on and so on. While packaged together, CUGAR can be thought of a separate educational project by itself. More information can be found in the relevant Doxygen documentation.

The official project page can be found here: https://nvlabs.github.io/fermat/

DEPENDENCIES:

Fermat has the following dependencies:

  • cub : contained in the package
  • freeglut : contained in the package
  • Assimp : contained in the package
  • CUDA 10.0 : not contained - it should be separately downloaded and installed on the system
  • OptiX 6.0 : not contained - it should be separately downloaded and copied in the folder contrib/OptiX

Its distribution also contains a set of adapted models originally taken from Benedikt Bitterli's rendering resources: https://benedikt-bitterli.me/resources.

COMPILATION:

Once all dependencies are sorted out, the Visual Studio 2015 solution file vs/fermat/fermat.sln can be opened and the project can be compiled.

USE:

After compilation, you can launch Fermat's path tracer with the following command line: fermat.exe -view -pt -r 1600 900 -i ../../models/bathroom2/bathroom.fa

fermat's People

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.