支持osg的opengl样条曲线插值程序

时间:2012-08-20 09:55:37
【文件属性】:
文件名称:支持osg的opengl样条曲线插值程序
文件大小:41KB
文件格式:RAR
更新时间:2012-08-20 09:55:37
osg opengl 样条曲线 hermite bezier This sample teaches you how to create an OpenGL based Spline Drawing application using the MFC library. It shows how to setup 4 Control Points: 1. Start Point 2. End Point 3. Tangent Start Point 4. Tangent End Point User Interactions * Right click to load the on screen context menu. * Left click and drag to move the selected control point around and see its effect on the spline. * From the Spline menu, you can select the Type of Spline: Hermite, Cardinal or Bezier. * In the same menu you can change the Tension of the control points effect on the spline. * You can also select different control points between: Start/End points and Start/End Tangent points.
【文件预览】:
mfcsoline
----MFCSplineView.cpp(30KB)
----MFCSpline.clw(4KB)
----StdAfx.cpp(211B)
----resource.h(2KB)
----MFCSplineView.h(8KB)
----MFCSpline.rc(18KB)
----MFCSpline.reg(705B)
----MFCSpline.h(1KB)
----MainFrm.h(1KB)
----MFCSpline.dsp(5KB)
----MFCSpline.plg(758B)
----ReadMe.txt(5KB)
----StdAfx.h(1KB)
----MFCSplineDoc.h(1KB)
----MainFrm.cpp(3KB)
----Release()
--------MFCSpline.exe(44KB)
----MFCSpline.dsw(543B)
----res()
--------MFCSpline.ico(1KB)
--------MFCSplineDoc.ico(1KB)
--------MFCSpline.rc2(401B)
--------cursor_cross.cur(326B)
--------Toolbar.bmp(1KB)
----ChildFrm.cpp(2KB)
----ChildFrm.h(1KB)
----MFCSpline.cpp(4KB)
----MFCSplineDoc.cpp(2KB)

网友评论

  • 插值算法,值得参考一下~
  • 就是opengl写的曲线插值。和osg无关