Giter VIP home page Giter VIP logo

raytracing-rust's People

Contributors

nonl4331 avatar

Stargazers

 avatar

Watchers

 avatar

raytracing-rust's Issues

Documentation

Currently, there is no documentation for either rt-core, implementations, or frontend.

  • Code documentation with cargo doc (100% coverage)
  • README.md with examples and project overview
  • External articles on nonl.knao.net on the theory and design

sky_sampling test converges incorrectly with large amount of samples.

The sky sampling test checks if the numerically integrated solution from the generated PDF matches the sampled solution. With large amounts of samples (> 10^6) it becomes evident that while they are very close there are slight differences that cannot be attributed to noise.

The test fails in this case as expected. While the test does fail the image produced should still be unbiased since the sampled pdf does appear to integrate to 1. Furthermore, since the sampled result is similar to the numerically integrated solution this should have a negligible impact on performance.

It is likely that this issue is due to floating-point errors. It is unclear from which bit of the code the error is coming from.

Implement importance sampling for NoHit

Description
Currently, only Primitives are able to be importance sampled. Also being able to sample NoHit which often is a source of lighting would help scenes converge faster.

Tasks

  • Discrete 1D and 2D PDF sampling
  • Tests for 1D and 2D Sampling
  • Generate 2D (UV) PDF from Texture
  • Implementation for Sky
  • Tests for NoHit sampling (for Sky)
  • MIS code

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.