Florian Torres
Geometric Algebra 2D Raytracer using c2ga (from Garamon) and OpenGL.
git clone https://github.com/torresf/ga-raytracer
cd ga-raytracer
mkdir build
cd build
cmake ..
make -j
src/ga-raytracer
Maintenir clic gauche et déplacer sa souris | Déplacer la lumière dans la scène |
---|---|
+ | Augmenter la taille (rayon) de la lumière |
- | Diminuer la taille (rayon) de la lumière |
⬆ (Flèche du haut) | Augmenter l’intensité de la lumière |
⬇ (Flèche du bas) | Diminuer l’intensité de la lumière |
S | Basculer entre différents modes d’ombres : Aucune ombre Ombres basiques Ombres avancées |
- glTexImage2D
- Randomize array of pixel to draw
- Draw only range by range of pixels
- In fragment shader, fill the blanks based on neighbours pixels color.
- Create point
- Create point pair
- Create line
- Create circle
- Intersect lines
- Intersect circles
- Project point on line
- Project point on circle
- Display the two points from a point pair
- IsPointInCircle
- Fix mirror bug in intersection with circle
- Check for memory leak