mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-12 03:50:09 +00:00
24f9dc154b
PatchTablesFactory fills 20 indices topology into patchtable, and use it for eval and draw. note: currently screen-space adaptive tessellation of gregory basis patches is broken and cracks appear around them.
22 lines
657 B
C++
22 lines
657 B
C++
static const std::string catmark_gregory_test0 = std::string(
|
|
"# This file uses centimeters as units for non-parametric coordinates.\n"
|
|
"v -0.500000 0.204097 -0.500000\n"
|
|
"v 0.000000 0.117710 -0.500000\n"
|
|
"v -0.500000 0.142210 -0.000000\n"
|
|
"v 0.000000 0.000000 0.000000\n"
|
|
"v -0.500000 0.204097 0.500000\n"
|
|
"v 0.000000 0.117710 0.500000\n"
|
|
"v 0.500000 0.348563 -0.003642\n"
|
|
"vt -0.500000 -0.500000\n"
|
|
"vt 0.000000 -0.500000\n"
|
|
"vt -0.500000 -0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt -0.500000 0.500000\n"
|
|
"vt 0.000000 0.500000\n"
|
|
"vt 0.500000 -0.003642\n"
|
|
"s 1\n"
|
|
"f 1/1/1 2/2/2 4/4/4 3/3/3\n"
|
|
"f 3/3/3 4/4/4 6/6/6 5/5/5\n"
|
|
"f 2/2/2 7/7/7 6/6/6 4/4/4\n"
|
|
);
|