Re-enabled fractional tessellation in viewers

This commit is contained in:
David G. Yu 2015-10-23 15:26:46 -07:00
parent b0d612f837
commit dcc4b61bf7
4 changed files with 10 additions and 10 deletions

View File

@ -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,

View File

@ -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;

View File

@ -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,

View File

@ -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;