Skip to content

Bezier and Chaikin curves, Coons surface generation, Mesh subdivision algorithms. C++, OpenGL.

Notifications You must be signed in to change notification settings

ArthurJacquin/Bezier_Coons_Subdivision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bezier_Coons_Subdivision

Visualizer of mathematics algorithms in C++ and OpenGL

Features

Parametric curves

Bezier curves

Implementation of Bezier curve algorithm with step parameters.

  • translation of any control points and regeneration of Bézier curve in realtime
  • translation of Bezier curve in realtime

* Bezier curve extrusion in Z axis : compute a 3D mesh

* Bezier curve revolution : compute a 3D mesh

Chaikin curve

Implementation of Chaikin curve algorithm with u, v and iteration parameters.

  • translation of any control points and regeneration of Chaikin curve in realtime

Coons surface

Implementation of coons surface from 4 chaikin curves. Can't translate nor change control points.

Mesh subdivision

Implementation of 3 meshes subdivisions algorithms iterations by iterations. All screenshots are the third iteration.

Catmull Clark

Loop

Kobelt

Controls

  • right click => select a curve's point
  • Alt + right click => move a curve's control point
  • Ctlr + right click => select a curve
  • Backspace => delete all meshes
  • V key => enable 3D viewport. Press V again to disable
  • Arrows key => move in 3D viewport
  • W key => display wireframe
  • N key => display normales

About

Bezier and Chaikin curves, Coons surface generation, Mesh subdivision algorithms. C++, OpenGL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •