Skip to content

jlebas01/Interpolation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interpolation 3D

Description

Student project of Geometric Algebra, using OpenGL3 and C3ga.

The goal of the project is to make interpolation between two spheres.

Dependencies

OpenGL3
GLEW 
Eigen3
C3GA

Build

Needs dependencies to work. In the root project :

cd cmake-build-debug
cmake ..
make

How to run it

In cmake-build-debug

./interpolation

Notes

Currently, there is only a run as default.
purple sphere is the initial sphere
yellow sphere is the goal sphere
red sphere is the interpolation sphere
If you want change parameter, you could update Main.cpp at these lines :

/* Set the sphere 1 */
glm::vec<3, GLfloat> center1 = sphere.getCenter();
sphere.translator(center1.x - 0.8, center1.y - 0.7, center1.z);
sphere2.dilator(1.0);

/* Set the sphere 2 */
glm::vec<3, GLfloat> center2 = sphere2.getCenter();
sphere2.translator(center2.x + 0.5, center2.y + 0.6, center2.z + 0.5);
sphere2.dilator(1.5);

Author

  • Jérémie LE BASTARD

Bibliography

About

Student project of Geometric Algebra, using OpenGL 3 and C3ga

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors