From: rambetter Date: Sat, 26 Feb 2011 00:41:18 +0000 (+0000) Subject: Adding patch_seam q3map2 regression test. Probably not fixable, but good to X-Git-Tag: xonotic-v0.7.0~16^2~11^2~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=caadbd4cfc7aad3ac87651d06f954829de12d94a;p=xonotic%2Fnetradiant.git Adding patch_seam q3map2 regression test. Probably not fixable, but good to note. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@478 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/regression_tests/q3map2/patch_seam/README.txt b/regression_tests/q3map2/patch_seam/README.txt new file mode 100644 index 00000000..b40bb602 --- /dev/null +++ b/regression_tests/q3map2/patch_seam/README.txt @@ -0,0 +1,8 @@ +DESCRIPTION OF PROBLEM: +======================= + +The seam where the two patches meet has holes. This is because the +triangulations of the two patch meshes don't match. + +It may or may not be possible to adjust the process of compiling patch mesh +to make good seams more probable. Investigate. diff --git a/regression_tests/q3map2/patch_seam/maps/patch_seam.map b/regression_tests/q3map2/patch_seam/maps/patch_seam.map new file mode 100644 index 00000000..a6d0eb25 --- /dev/null +++ b/regression_tests/q3map2/patch_seam/maps/patch_seam.map @@ -0,0 +1,96 @@ +// entity 0 +{ +"classname" "worldspawn" +// brush 0 +{ +patchDef2 +{ +radiant_regression_tests/green +( 3 3 0 0 0 ) +( +( ( -512 2368 -1088 -16 -74 ) ( -512 1984 -1088 -16 -62 ) ( -512 1856 -1056 -16 -58 ) ) +( ( -592 2368 -1088 -18.500000 -74 ) ( -592 1984 -1088 -18.500000 -62 ) ( -592 1856 -1064 -18.500000 -58 ) ) +( ( -704 2368 -1088 -22 -74 ) ( -704 1984 -1088 -22 -62 ) ( -704 1856 -1064 -22 -58 ) ) +) +} +} +// brush 1 +{ +patchDef2 +{ +radiant_regression_tests/green +( 3 3 0 0 0 ) +( +( ( -704 1792 -1020 -22 -56 ) ( -704 1824 -1058 -22 -57 ) ( -704 1856 -1064 -22 -58 ) ) +( ( -616 1792 -1020 -19.250000 -56 ) ( -616 1824 -1058 -19.250000 -57 ) ( -592 1856 -1064 -18.500000 -58 ) ) +( ( -512 1792 -1008 -16 -56 ) ( -512 1824 -1048 -16 -57 ) ( -512 1856 -1056 -16 -58 ) ) +) +} +} +// brush 2 +{ +( -448 2496 -1160 ) ( -768 2496 -1160 ) ( -768 1984 -1160 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 1856 -1152 ) ( -768 2368 -1152 ) ( -448 2368 -1152 ) radiant_regression_tests/tile 0 0 0 0.500000 0.500000 0 0 0 +( -768 1728 -1152 ) ( -448 1728 -1152 ) ( -448 1728 -1168 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 1856 -1152 ) ( -448 2368 -1152 ) ( -448 2368 -1168 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 2496 -1152 ) ( -768 2496 -1152 ) ( -768 2496 -1168 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 2368 -1152 ) ( -768 1856 -1152 ) ( -768 1856 -1168 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +} +// brush 3 +{ +( -768 2496 -1152 ) ( -824 2496 -1152 ) ( -824 1728 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -824 1728 -768 ) ( -824 2496 -768 ) ( -768 2496 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -824 1728 -768 ) ( -768 1728 -768 ) ( -768 1728 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 1728 -768 ) ( -768 2496 -768 ) ( -768 2496 -1152 ) radiant_regression_tests/tile 0 0 0 0.500000 0.500000 0 0 0 +( -768 2496 -768 ) ( -824 2496 -768 ) ( -824 2496 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -776 2496 -768 ) ( -776 1728 -768 ) ( -776 1728 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +} +// brush 4 +{ +( -320 2496 -1152 ) ( -448 2496 -1152 ) ( -448 1728 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 1728 -768 ) ( -448 2496 -768 ) ( -320 2496 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 1728 -768 ) ( -320 1728 -768 ) ( -320 1728 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -440 1728 -752 ) ( -440 2496 -752 ) ( -440 2496 -1136 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -320 2496 -768 ) ( -448 2496 -768 ) ( -448 2496 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 2496 -768 ) ( -448 1728 -768 ) ( -448 1728 -1152 ) radiant_regression_tests/tile 0 0 0 0.500000 0.500000 0 0 0 +} +// brush 5 +{ +( -448 2496 -768 ) ( -768 2496 -768 ) ( -768 1728 -768 ) radiant_regression_tests/tile 0 0 0 0.500000 0.500000 0 0 0 +( -752 1728 -760 ) ( -752 2496 -760 ) ( -432 2496 -760 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 1728 -704 ) ( -448 1728 -704 ) ( -448 1728 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 1728 -704 ) ( -448 2496 -704 ) ( -448 2496 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 2496 -704 ) ( -768 2496 -704 ) ( -768 2496 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 2496 -704 ) ( -768 1728 -704 ) ( -768 1728 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +} +// brush 6 +{ +( -448 2552 -1152 ) ( -768 2552 -1152 ) ( -768 2496 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 2496 -768 ) ( -768 2552 -768 ) ( -448 2552 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 2496 -768 ) ( -448 2496 -768 ) ( -448 2496 -1160 ) radiant_regression_tests/tile 0 0 0 0.500000 0.500000 0 0 0 +( -448 2496 -768 ) ( -448 2552 -768 ) ( -448 2552 -1160 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 2504 -760 ) ( -768 2504 -760 ) ( -768 2504 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 2552 -768 ) ( -768 2496 -768 ) ( -768 2496 -1160 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +} +// brush 7 +{ +( -448 1728 -1152 ) ( -768 1728 -1152 ) ( -768 1656 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 1656 -768 ) ( -768 1728 -768 ) ( -448 1728 -768 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -768 1720 -752 ) ( -448 1720 -752 ) ( -448 1720 -1136 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 1656 -768 ) ( -448 1728 -768 ) ( -448 1728 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +( -448 1728 -768 ) ( -768 1728 -768 ) ( -768 1728 -1152 ) radiant_regression_tests/tile 0 0 0 0.500000 0.500000 0 0 0 +( -768 1728 -768 ) ( -768 1656 -768 ) ( -768 1656 -1152 ) common/caulk 0 0 0 0.500000 0.500000 0 4 0 +} +} +// entity 1 +{ +"angle" "270" +"origin" "-608 2048 -976" +"classname" "info_player_deathmatch" +} +// entity 2 +{ +"light" "1000" +"origin" "-608 1944 -872" +"classname" "light" +} diff --git a/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/green.tga b/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/green.tga new file mode 100644 index 00000000..8f6d3a49 Binary files /dev/null and b/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/green.tga differ diff --git a/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/tile.tga b/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/tile.tga new file mode 100644 index 00000000..2154015f Binary files /dev/null and b/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/tile.tga differ