Skip to content

sdevkota007/Ray-Tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracing with WebGL and compute shaders

This repository shows samples of Ray Tracing with WebGL and WebGL-ComputeShader. To enable WebGL compute shader on a browser, refer to this github repo: https://github.com/9ballsyndrome/WebGL_Compute_shader

A-1 Molecule Rendering

This repo shows basic ray tracing with WebGL. It implements ray-sphere intersection to render molecule data. html dark

A-2 Molecule Rendering with light

This repo adds lighting computation using Blinn Phong model to A-1 html dark

A-3 Compute Shader - MandelBrot Set

This repo shows an example of using WebGL compute shader. html dark

A-4 Compute Shader - Ray Tracing

This repo shows an example of using compute shader for RayTracing. html dark

A-5 Compute Shader - Ray Tracing - Molecule Rendering - Light

This repo renders molecule data with ray tracing and lighting computation using Blinn Phong model html dark

A-6 Compute Shader - Ray Tracing - Molecule Rendering - Light - Reflection

This repo adds reflection to A-5. It also adds ray-AABB intersection as an acceleration technique. html dark

A-7 Compute Shader - Ray Tracing- Triangle Mesh - Light

This repo loads polygon mesh from a file and implements ray-triangle intersection in Ray Tracing. html dark

Note: Repos A-3, A-4, A-5, A-6 and A-7 require WebGL enabled web-browsers

Releases

No releases published

Packages

No packages published

Languages