mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-17 19:50:06 +00:00
Change patch color coding for single-crease transition patches
- add a small gradient to the patchColors tables so that single-crease transition patterns have slightly different colors
This commit is contained in:
parent
e637f7d1c8
commit
04c63537d1
@ -38,11 +38,11 @@ static float _colors[5][7][4] = {{{1.0f, 1.0f, 1.0f, 1.0f}, // regular
|
|||||||
{0.5f, 0.0f, 1.0f, 1.0f}, // regular pattern 3
|
{0.5f, 0.0f, 1.0f, 1.0f}, // regular pattern 3
|
||||||
{1.0f, 0.5f, 1.0f, 1.0f}}, // regular pattern 4
|
{1.0f, 0.5f, 1.0f, 1.0f}}, // regular pattern 4
|
||||||
|
|
||||||
{{1.0f, 0.7f, 0.6f, 1.0f}, // single crease pattern 0
|
{{1.0f, 0.70f, 0.6f, 1.0f}, // single crease pattern 0
|
||||||
{1.0f, 0.7f, 0.6f, 1.0f}, // single crease pattern 1
|
{1.0f, 0.65f, 0.6f, 1.0f}, // single crease pattern 1
|
||||||
{1.0f, 0.7f, 0.6f, 1.0f}, // single crease pattern 2
|
{1.0f, 0.60f, 0.6f, 1.0f}, // single crease pattern 2
|
||||||
{1.0f, 0.7f, 0.6f, 1.0f}, // single crease pattern 3
|
{1.0f, 0.55f, 0.6f, 1.0f}, // single crease pattern 3
|
||||||
{1.0f, 0.7f, 0.6f, 1.0f}}, // single crease pattern 4
|
{1.0f, 0.50f, 0.6f, 1.0f}}, // single crease pattern 4
|
||||||
|
|
||||||
{{0.0f, 0.0f, 0.75f, 1.0f}, // boundary pattern 0
|
{{0.0f, 0.0f, 0.75f, 1.0f}, // boundary pattern 0
|
||||||
{0.0f, 0.2f, 0.75f, 1.0f}, // boundary pattern 1
|
{0.0f, 0.2f, 0.75f, 1.0f}, // boundary pattern 1
|
||||||
|
Loading…
Reference in New Issue
Block a user