Giter Club home page Giter Club logo

raymini's Introduction

RayMini ENHANCED

Authors

Compiling

Required library: GCC >v4, OpenGL, QT >v4.4, libQGLViewer and GLEW (for GPU extensions) Edit the file raymini.pro to adapt it to your configuration (has been tested under Linux Ubuntu).

On linux:

  • qmake raymini.pro
  • make -j9
  • ./raymini

Available scenes:

  • room: simple room
  • rs: room with sphere
  • rsm: room with mirror sphere
  • rsglas: room with glass sphere
  • rsglos: room with glossy sphere
  • lights: severals light and a ram
  • meshs: severals meshes and a light (moving ram)
  • outdoor: rhino in front of a mirror + sky box
  • pool : pool table
  • mg : mirror and glass
  • sphere : 3 spheres and grey ground (PT)
  • mesh <mesh_path>

Features

  • Basic ray tracing with material-specific BRDF
  • KDTrees are used to optimize intersection tests
  • Anti aliasing
  • Hard and soft shadows
  • Ambient occlusion
  • Mirror materials
  • Prism materials
  • Path tracing and Point-Based Global Illumination
  • Motion blur
  • Focal effect
  • Texture and normal mapping
  • Multi threaded real-time on CPU
  • Mesh transformation (rotation, scale)
  • User friendly GUI using MVC design pattern

raymini's People

Contributors

b-c avatar rekamux avatar samux avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

raymini's Issues

Better GUI

  • Handle mouse events for any setting
  • Change tool panel size

Real Time

Implémenter une version progressive du path tracing, afin de pouvoir naviguer dans la scène en ayant le rendu qui se raffine lorsque on arrête de bouger la caméra. Vous pouvez vous inspirer de la web-app mentionnée plus haut, ainsi que de la version 2.62 de blender (mode de rendu « cycle »).
Plusieurs approches sont possibles ici, notamment le calcul multi-cœur avec OpenMP ou le calcul GPU :

  • soit à l’aide de shaders
  • soit en CUDA ou OpenCL).

Il est recommandé de tester en mono-thread CPU et à faible résolution (256x256) dans un premier temps.

new BRDF

use brdf branch, need only cleaning and coeff calibration

Magic bug attribute

Add a new variable (not two!) in Raytracer config and focus equal true...

Better soft shadow

évaluation de l'équation du rendu pour chaque échantillon (physiquement plus juste).

Focus

  • Use new focus parameters introduced by Samuel
  • Restore FPS
  • Animated openGL :-)

Better mirror

ie not perfect mirror

  • glossy surface (mirrorish surface)

Tool box too big

(I think)

Height > 768
so weird on my laptop screen, ok on my tv (fullscreen move apps to TV)

Don't stop rendering

When not in rt mode, don't stop rendering if screen is clicked (or stuff like that)

Path tracing

float intensity = intensityPathTracing / pow(1+d,3)*nbRayPathTracing);

remove nbRayPathTracing

MVC

  • Implement observable/observer classes
  • GLViewer and Window will be observer -> overload update functions
  • RayTracer and Scene will be observable -> use notify
  • Move all slots from Window to a Controller abstract class ?

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.