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