项目作者: sayakbiswas
项目描述 :
Bezier curves in OpenGL
高级语言: C++
项目地址: git://github.com/sayakbiswas/OpenGL-BezierCurves.git
OpenGL-BezierCurves
Building
mkdir build
cd build
cmake ..
make
Instructions
- Execute from project directory
- Press LMB: Pick vertex
- Hold LMB and Drag: Drag vertex
- Press 1: Show Bezier curves using subdivision
- Press 2: Show Bezier curves using DeCasteljau’s algorightm
- Press 3: Show Bezier curves using Tessellation shaders
- Press 4: Split view x-y plane and y-z plane
- Press Shift: Dragging vertex horizontally causes Z-translation
- Press 5: Show Normal, Tangent and Binormal