mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 22:00:06 +00:00
Re-enabled fractional tessellation in viewers
This commit is contained in:
parent
b0d612f837
commit
dcc4b61bf7
@ -1403,8 +1403,8 @@ initHUD() {
|
||||
450, 10, callbackCheckBox, HUD_CB_ANIMATE_VERTICES, 'm');
|
||||
g_hud->AddCheckBox("Screen space LOD (V)", g_screenSpaceTess,
|
||||
450, 30, callbackCheckBox, HUD_CB_VIEW_LOD, 'v');
|
||||
//g_hud->AddCheckBox("Fractional spacing (T)", g_fractionalSpacing,
|
||||
// 450, 50, callbackCheckBox, HUD_CB_FRACTIONAL_SPACING, 't');
|
||||
g_hud->AddCheckBox("Fractional spacing (T)", g_fractionalSpacing,
|
||||
450, 50, callbackCheckBox, HUD_CB_FRACTIONAL_SPACING, 't');
|
||||
g_hud->AddCheckBox("Frustum Patch Culling (B)", g_patchCull,
|
||||
450, 70, callbackCheckBox, HUD_CB_PATCH_CULL, 'b');
|
||||
g_hud->AddCheckBox("Freeze (spc)", g_freeze,
|
||||
|
@ -1213,9 +1213,9 @@ initHUD() {
|
||||
g_hud->AddCheckBox("Screen space LOD (V)", g_screenSpaceTess != 0,
|
||||
10, y, callbackCheckBox, kHUD_CB_VIEW_LOD, 'V');
|
||||
y += 20;
|
||||
//g_hud->AddCheckBox("Fractional spacing (T)", g_fractionalSpacing != 0,
|
||||
// 10, y, callbackCheckBox, kHUD_CB_FRACTIONAL_SPACING, 'T');
|
||||
//y += 20;
|
||||
g_hud->AddCheckBox("Fractional spacing (T)", g_fractionalSpacing != 0,
|
||||
10, y, callbackCheckBox, kHUD_CB_FRACTIONAL_SPACING, 'T');
|
||||
y += 20;
|
||||
g_hud->AddCheckBox("Frustum Patch Culling (B)", g_patchCull != 0,
|
||||
10, y, callbackCheckBox, kHUD_CB_PATCH_CULL, 'B');
|
||||
y += 20;
|
||||
|
@ -1879,8 +1879,8 @@ int main(int argc, char ** argv) {
|
||||
10, 30, callbackCheckBox, HUD_CB_ANIMATE_VERTICES, 'm');
|
||||
g_hud.AddCheckBox("Screen space LOD (V)", g_screenSpaceTess,
|
||||
10, 50, callbackCheckBox, HUD_CB_VIEW_LOD, 'v');
|
||||
//g_hud.AddCheckBox("Fractional spacing (T)", g_fractionalSpacing,
|
||||
// 10, 70, callbackCheckBox, HUD_CB_FRACTIONAL_SPACING, 't');
|
||||
g_hud.AddCheckBox("Fractional spacing (T)", g_fractionalSpacing,
|
||||
10, 70, callbackCheckBox, HUD_CB_FRACTIONAL_SPACING, 't');
|
||||
g_hud.AddCheckBox("Frustum Patch Culling (B)", g_patchCull,
|
||||
10, 90, callbackCheckBox, HUD_CB_PATCH_CULL, 'b');
|
||||
g_hud.AddCheckBox("Bloom (Y)", g_bloom,
|
||||
|
@ -1461,9 +1461,9 @@ initHUD() {
|
||||
g_hud.AddCheckBox("Screen space LOD (V)", g_screenSpaceTess != 0,
|
||||
10, y, callbackCheckBox, kHUD_CB_VIEW_LOD, 'v');
|
||||
y += 20;
|
||||
//g_hud.AddCheckBox("Fractional spacing (T)", g_fractionalSpacing != 0,
|
||||
// 10, y, callbackCheckBox, kHUD_CB_FRACTIONAL_SPACING, 't');
|
||||
//y += 20;
|
||||
g_hud.AddCheckBox("Fractional spacing (T)", g_fractionalSpacing != 0,
|
||||
10, y, callbackCheckBox, kHUD_CB_FRACTIONAL_SPACING, 't');
|
||||
y += 20;
|
||||
g_hud.AddCheckBox("Frustum Patch Culling (B)", g_patchCull != 0,
|
||||
10, y, callbackCheckBox, kHUD_CB_PATCH_CULL, 'b');
|
||||
y += 20;
|
||||
|
Loading…
Reference in New Issue
Block a user