Skip to content

📷 ↗️ Simple example "How to create ray tracing in OpenGL"

License

Notifications You must be signed in to change notification settings

KorolevSoftware/OpenGLRayCastingCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL Ray Casting Core

This is my old project for ray tracing in GPU. For more compatibility, I used OpenGL. Origin project use Python and OpenGL 4.4, but I redid the project to C++ and OpenGL 3.3( If you remove the VAO it works at 3.0 or 2.X). This is simple example, how to create simple BVH tree for triangle mesh, and travel BVH in GPU with program stack. I try create API look like OptiX.

Sceen shots

Using ray casting for visualization object with normal: Test Image 1 Test Image 2

Use libs:

FPS camera control

wasdqe - for move

  • w - front
  • s - back
  • a - left
  • d - right
  • q - up
  • e - down

About

📷 ↗️ Simple example "How to create ray tracing in OpenGL"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published