Giter VIP home page Giter VIP logo

ray-tracer's Introduction

ray-tracer

The Ray Tracer Challenge

Ambiguous cylinder Thanks to TJ Wei for his video
Triangle optimizations
Scene Standard Vector3 Inline AVX 256
Dragons 22 s 17 s 7 s 3 s
Christmas 11 s 9 s 4 s 3 s
Bonus chapter: Bounding Volume hierarchy
Reference:
BVH #Tri. Inters. # Box Inters. Time (1 thread)
No 7512 M 2.6 M 325 s
Yes 347 M 14.3 M 15 s
Ratio x 22 / 5.5 x 22
Iso surface marching cubes / Metaballs



Thanks to Scrawk for his code.
Christmas
Reference:
Orthographic camera Penrose triangle
Perlin noise / pattern
Spot lights
Bonus Chapter: soft shadows

Reference:

Chapter xx: demos
Chapter xx: basic UI
Chapter xx: more triangles
Chapter 16: Constructive Solid Geometry (CSG)
Chapter 15: triangles

Smooth triangles

Chapter 14: groups
Chapter 13: cylinders
Chapter 12: cubes
Pov-ray ?
Chapter 11: Reflection and Refraction

Thanks to Javan Makhmali I wanted to check my ray tracer was correct so I got the same scene as him to compare results.

Chapter 10: patterns
Chapter 9: planes
Chapter 8: shadows
Chapter 8: Shadows with "acne" issue
Chapter 7: making a scene
Chapter 6: lighting and shading

ray-tracer's People

Contributors

fremag avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.