项目作者: sayakbiswas

项目描述 :
Bezier curves in OpenGL
高级语言: C++
项目地址: git://github.com/sayakbiswas/OpenGL-BezierCurves.git
创建时间: 2016-09-30T04:49:55Z
项目社区:https://github.com/sayakbiswas/OpenGL-BezierCurves

开源协议:MIT License

下载


OpenGL-BezierCurves

Building

  1. mkdir build
  2. cd build
  3. cmake ..
  4. 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