GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - favreau/Sol-R: Open-Source CUDA/OpenCL Speed Of Light Ray-tracer

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

365 Commits
365 Commits

Folders and files

NameName
Last commit message
Last commit date
apps
apps
 
 
cmake
cmake
 
 
devices
devices
 
 
doc/images
doc/images
 
 
medias
medias
 
 
solr
solr
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
AUTHORS.txt
AUTHORS.txt
 
 
CMakeLists.txt
CMakeLists.txt
 
 
DOCKER.md
DOCKER.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
debug_tsdviewer.sh
debug_tsdviewer.sh
 
 
run_tsdviewer.sh
run_tsdviewer.sh
 
 

Repository files navigation

Build Status

Welcome to Sol-R, the Speed Of Light Ray-tracer

Big news: Sol-R goes Quantum!

Sol-R becomes Quantum of Sol-R, thanks to the use of a Quantum Physics based random generation device. Unfortunately, the API to access the random number generator is not open-source but if you buy the ID Quantique QRng device, you will simply need to modify the _getFloats implementation of the RandomGenerator class, and I can tell you that it's pretty straight forward! You will also need to add set the SOLR_RANDOM_DEVICE_ENABLED cmake option to ON before configuring the project.

Sol-R_001

Note about the Blue Brain BioExplorer, a Sol-R sequel

If you like Sol-R, but you think it's now getting a bit old, you will love my new open-source, the Blue Brain BioExplorer. Check-it out and star the GitHub Repository to support the project.

Introduction

Sol-R is a CUDA/OpenCL-based realtime ray-tracer compatible with Oculus Rift DK1, Kinect, Razor Hydra and Leap Motion devices. Sol-R was used by the Interactive Molecular Visualizer project (http://www.molecular-visualization.com)

A number of videos can be found on my Youtube channel.

Sol-R was written as a hobby project in order to understand and learn more about CUDA and OpenCL. Most of the code was written at night and during week-ends, meaning that it's probably not the best quality ever ;-)

The idea was to produce a Ray-Tracer that has its own "personality". Most of the code does not rely on any literature about ray-tracing, but more on a naive approach of what rays could be used for. A simple engine that could produce cool images interactively.

Take it for what it is! Sol-R is a lot of fun to play with if you like coding computer generated images.

May the fun continue with your contributions! :)

usage: solrViewer

Sol-R_002

Prerequeries

Mandatory

  • CMake 3.5
  • Glew 2.x
  • Glut 3.7
  • Cuda 8.0 or OpenCL 1.2

Optional

  • Kinect SDK 1.8
  • Oculus Rift DK1 SDK 0.2.5
  • Sixense SDK
  • Leap SDK 3.2.0

Build from source

mkdir Build
cd Build
cmake .. -DCMAKE_PREFIX_PATH=<installation-folder>
make install

Note that the installation process with deploy extra files that are needed by the Sol-R viewer. Typically, textures, environment maps and OpenCL kernels. Therefore, it is required to run the solrViewer application from the installation folder.

Run

<installation-folder>/bin/solrViewer

Selecting CUDA or OpenCL

By default, the OpenCL engine is selected but this can be changed by modifying the SOLR_ENGINE option, using either ccmake or the following cmake option:

cmake .. -DSOLR_ENGINE:STRING=CUDA

Optional dependencies can be activated using the following cmake options:

cmake .. -DSOLR_KINECT_ENABLED=ON -DSOLR_OCULUS_ENABLED=ON -DSOLR_SIXENSE_ENABLED -DSOLR_LEAPMOTION_ENABLED=ON

Supported platforms

Sol-R has currently been tested on:

  • Windows 7 with Visual Studio 2015 Community edition
  • Mac OS X Sierra 10.12.15
  • Ubuntu 20.04

About

Open-Source CUDA/OpenCL Speed Of Light Ray-tracer

cudaopencl.blogspot.com/

Topics

3d3d-graphics-enginecudagpgpugpu-accelerationgpu-computinggraphics-engineinteractiveopenclpath-tracingpathtracingray-tracingraytracerraytracingraytracing-enginerealtime-renderingrenderingsciencevirtual-realityvr

Resources

Readme
GPL-2.0 license
Activity

Stars

306 stars

Watchers

18 watching

Forks

12 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.