Giter Site home page Giter Site logo

dreamrender's Introduction

DreamRender

相对于stage-1,加入了体渲染路径追踪,删除了点光源,平行光,注释了这个有偏的去除噪点的方法image

scene文件太大,移动到网盘了,链接: https://pan.quark.cn/s/0d9c27f7f02f

这是我写的第一个离线渲染器,起源于raytracing三部曲,但已经被我改了看不出来了😄,未来会更新更多的渲染算法(参考了github上的大量开源项目)。 直接构建即可运行,构建速度很快,移除了vcpkg,将embree和tbb换成了和oidn一样的提前编译好的库。

  • 构建项目
mkdir build
cmake -B ./build -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release
cd bin/Release
powershell: ./DreamRender scene/sub.json
cmd: DreamRender scene/sub.json
  • 渲染算法

    • 路径追踪(PathTracing)
    • 体渲染路径追踪(VolumetricPathTracing)
  • 几何

    • TriangleMesh
    • Sphere
    • Quad
  • 加速结构

    • 使用embree3进行光线求交
  • 降噪

    • 可选择是否开启oidn降噪
  • 材质

    • Disney BSDF
    • 粗糙材质(GGX Microfacet BSDF,包括金属,电介质,塑料,以及kulla-conty方法,采样VNDF)
    • Lambertian
    • Oren-Nayer
    • 平滑材质(包括金属,电介质,塑料)
    • 薄的电介质(ThinDielectric)
    • 金属工作流(MetalWorkflow,即Cook-Torrance BRDF)
    • ClearcoatedConductor(在粗糙金属表面涂一层清漆)
  • 相函数

    • IsotropicPhaseFunction
    • HenyeyGreensteinPhaseFunction
  • 参与介质

    • HomogeneousMedium
  • 相机

    • PinholeCamera
    • ThinlensCamera
  • 采样器

    • Independent
    • SimpleSobol
  • 滤波器

    • GaussianFilter
    • BoxFilter
    • TriangleFilter
    • TentFilter
  • 光源

    • 面光源(Quad,Sphere)
    • HDR环境光
  • 场景描述

    • json场景解析
  • 截图 vol3 vol 241098159-cda01ee4-c6dd-4a0b-8c03-5fc7725063f8 241333870-d9781eb6-ff2a-4fba-bef3-a218d73d51e9 241109680-47a5acd6-dfe9-4734-80a5-7b8cf9847caf

dreamrender's People

Contributors

graphicsenthusiast 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.