Skip to content

repository for self-made ray tracing with Monte Carlo model

Notifications You must be signed in to change notification settings

grayluck/rayTracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing

A highly OOP implementation of Monte-Carlo Ray Tracing rendering

Feature

  • Image display based on Windows GDI
  • Load and render .obj objects
  • Speed up ray-object collision check with oct-tree
  • Sphere, box and triangle supported
  • Soft shadow
  • Three types of surface
    • reflection
    • refraction
    • diffusion
  • Area light and volume light supported
  • Texture
  • Complex scene generator for video
  • Anti-aliasing
  • Field depth

Dependencies

This is an independent project without any third party libraries.

This project can be successfully built by Visual Studio 2012 and latter. It is not a cross-platform project for now.

Results

Anti-aliasing

Original
Anti-aliased

.obj rendering###

diffusing rabbit (281 iters)
diffusion rabbit (937 iters)

Glass rabbit(678 iters, depth of sub-lights: 10)

light spot and recursive mirror

Texture lightening

Field depth

Full video

See Full Video here.

References

Contact

A Chinese version of readme in detail is available.

You can contact monocofe@gmail.com for more information.

About

repository for self-made ray tracing with Monte Carlo model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published