Skip to content

Instantly share code, notes, and snippets.

@davidgyu
davidgyu / displayOsdFVarCoord.cpp
Created February 5, 2013 20:48
OpenSubdiv Example: Uniform Subdivision with Face-varying Data
//
// This is a simple example that uses face-varying u,v data
// with uniform catmull-clark subdivision using OpenSubdiv
//
// c++ -o displayOsdFVarCoord displayOsdFVarCoord.cpp -I$OPENSUBDIV/include -L$OPENSUBDIV/lib -losdCPU -lglut -lGL
//
#if defined(__APPLE__)
#include <GLUT/glut.h>
#else