Skip to content

Commit

Permalink
Added the cameras, sky clusters and prefetch files.
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed Aug 12, 2021
1 parent e62a228 commit 9a95476
Show file tree
Hide file tree
Showing 4 changed files with 346 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -42,4 +42,5 @@ music/
q2config.cfg
save
*/docs
baseq2/**/*.txt
baseq2/**/*.txt
!baseq2/*.txt
36 changes: 36 additions & 0 deletions baseq2/cameras.txt
@@ -0,0 +1,36 @@
base3
(-347.3, -278.2, -90.1) (-0.489, -0.685, -0.540)
(1171.9, -1010.7, -369.2) (-0.764, 0.588, -0.266)
(1004.4, 1200.4, -694.4) (-0.713, -0.619, -0.329)

jail1
(-1049.7, -121.4, 115.1) (0.590, -0.539, -0.601)
(-2167.2, -573.2, 305.4) (-0.224, 0.900, -0.374)
(-1550.7, -875.6, 8.4) (-0.835, -0.441, -0.329)

jail2
(-1095.1, -793.7, -102.4) (0.738, 0.557, -0.380)
(-424.1, 296.2, 355.7) (0.898, 0.115, -0.424)
(-1342.3, 321.9, 280.1) (-0.700, -0.004, -0.714)
(1102.8, 173.4, 226.9) (0.626, 0.642, -0.442)

jail3
(-603.2, -514.6, 951.3) (0.288, 0.930, -0.228)
(691.6, -887.2, 895.8) (-0.694, 0.484, -0.533)
(1404.9, -1161.3, 513.6) (0.538, 0.843, 0.005)
(-618.4, 911.7, 352.7) (0.600, 0.656, -0.458)

jail5
(94.6, 128.2, 325.2) (-0.002, -0.733, -0.681)
(207.4, 1169.9, 308.3) (-0.615, -0.392, -0.684)

lab
# the only monitor in this map has two connected faces - can only have one camera here
(-2008.9, 678.2, 206.1) (0.001, -0.810, -0.586)

fact2
(1302.4, -2342.9, -70.1) (-0.672, 0.635, -0.381)
(139.6, -1240.8, 262.9) (-0.532, -0.722, -0.442)
(-529.9, -1038.6, 201.4) (-0.565, 0.653, -0.504)
(-913.2, 215.9, 230.7) (-0.814, -0.457, -0.358)
(618.1, -2516.6, -11.7) (-0.692, -0.575, -0.436)
21 changes: 21 additions & 0 deletions baseq2/prefetch.txt
@@ -0,0 +1,21 @@
models/weapons/v_blast/skin_hands.pcx
models/weapons/v_blast/skin.pcx
models/weapons/v_shotg/skin_hands.pcx
models/weapons/v_shotg/skin.pcx
models/weapons/v_shotg2/skin_hands.pcx
models/weapons/v_shotg2/skin.pcx
models/weapons/v_machn/skin_hands.pcx
models/weapons/v_machn/skin.pcx
models/weapons/v_machn/mf.pcx
models/weapons/v_chain/skin.pcx
models/weapons/v_launch/skin_hands.pcx
models/weapons/v_launch/skin.pcx
models/weapons/v_rocket/skin_hands.pcx
models/weapons/v_rocket/skin.pcx
models/weapons/v_hyperb/skin_hands.pcx
models/weapons/v_hyperb/skin.pcx
models/weapons/v_rail/skin_hands.pcx
models/weapons/v_rail/skin.pcx
models/weapons/v_bfg/skin_hands.pcx
models/weapons/v_bfg/skin.pcx
models/weapons/v_flareg/skin.pcx
287 changes: 287 additions & 0 deletions baseq2/sky_clusters.txt
@@ -0,0 +1,287 @@
# This file is part of the Q2RTX lighting system.
# For every map, it lists BSP clusters with skybox and lava polygons
# that have to be converted to analytic area lights.
# For more information, see comments in the `path_tracer.h` file
# in Q2RTX source code.

base1
613 616 618 619 632 642 643 645 # entrance opening
1357 1377 1395 1420 1421 # cave next to the entrance
537 654 655 651 1326 1330 1337 # more cave
535 536 520 524 # extra cave sky that affects the "crouch here" space near the level entrance
179 # fan shaft in crawl space
807 818 821 # some windows in the final hall
992 994 991 989
3 11 670
794
166 181
673

base2
443 # fan shaft
784 # windows in the bridge area
238 239 240 279

base3
1480 1582 1206 1207 1387 # skylight in a hallway
1785 1793 1762 1668 # windows next to the key room
# 1578 1579 1581 1577 1479 1580 # key room skylight
519 590

bunk1
890 891
752
346 347 334 335 338 339
1204 1208 1210 1222 915 954

ware1
122
658
527 528
710 711 712

ware2
# 128 988 989 990 991 992 # ceiling opening in the big hall
992
875 879
754 1057 829

jail1
1134 1135
852 855 1630
183 258 391 395 398
1053
736
519 495 497

jail2
46 50 54 58 60
334 975 1064
1399
458 450 461 183 173 176
502 503 509 185

jail3
856 1332
343 353 365
1930 1932 1933 2036
226 292
1274 1730
782
2107 2119 2125 2126

jail4
330 421
1690 1695 1698 1697 # lava by the entrance
363 489 490 388 389 827
1552 1560
1342 1361 1363
305 453 447

jail5
642 1010 646 1021
575 581 619 604 605 753
770 772 773 774 776 777 786 787
142 144 136 165 166 28 29 30 31 # sky in the area around the mini-boss that affects the cave next to it
1155 736
15

security
# nothing here - only skyboxes

city1
764 756 1240
942 908 921 956
302 327 350 355 # some part of the sky in the first area to keep caves illuminated at low/med GI
1412 1476 1555
1411 1475 1554 1556
!all_lava

city2
285 568 684

city3
697 699

command
1791 1792

cool1
1268 1277
0 16 17 18 101 133 134 135
984 462
653 682 685 671 672 637

fact1
# 855
693 627 629
725
# 514 613 615 501 607 609 499 599 132 123 9 15 498 597 134
60 61 62 68 69 70
120 139 140 141 142
1016 1018 # lava
901

fact2

fact3
97 238 189 11 191 9 10 190

hangar1
6 316 333 560 561 569 570 1036 1037 1050
1559 1568
510 521 384
1317 1496 1518 1526

hangar2
0
832 833 834 835 837 838 839 840 958 959 960 961 965
493 494 495 496
758 760 633 618 759 634 630 602 612 624 628 632 603 609 621 631 593 598 600 614 599 601 605
761 1247
186 184 352 491
140 145 343 394

mintro
# some lava outdoors, skyboxes
349 301 307
428 471 909
560 564 641
752 754 761
1457 1547 1551

mine1
1346 1396
390 601 537 168 # subset of the skybox visible from a shaft below
734 736 732 727 729 719 722 724 814 816 817 819 821 824 827 829 831 721 803 805 807 809 811 748 746 744 742 740
268
322 334
25 34 38 40 42 44 125 127 131 136 144 460 118 446 465 470 472
1387 1473

mine2
783
1591 1586 1606 1608 1611 1613 1615 1616 # lava
781 782 784 786 788 # fan shaft

mine3
# nothing here - underground

mine4
425 432 434 380 383 409 412 385 347 343 378 339 335 361 331 333 307 309 372 359 356 374 341 354 345 420 440 407 414 388 436 311 416
182 212 196 216 144 145 146 159 191 82 68 79 83 80 47 27 26 82 35 119 143 210 157 70 78 46 49 107 115 36 38 105 218 183 126 110
1018 1016 1020 1065 1038 1044
1034 1041 1068 1027 1069
1559 1565 1568 1499 1563 1560 1503 1506 1385 1386 1404 1499 1371 1379 1386 1391 1509 1510 1501 1376 1399


lab
# nothing here - underground

power1
1003 1006 1246 964 969 971 1242 1241 1243
872 866 873 868
0 19 528

power2
55 79
507 141
1360 1361 1362 1363 1510
1564 1568 1566 1572 1774 1775
877 1228 1229
692
1628

space
# space - environment is dim

strike
937 949 904 1237 905 904 802 906
1254 1245 1272 1280 736
758 821 823
1405 1423
1353 1356 1357 1230 1231 1232
891 898
289 294 295 296

train
# nothing here - underground

waste1
# nothing here - only skyboxes

waste3
744 749
410

biggun
362 367 283 284 286 287 288 289 285 280 261
# 263 275
544 328

boss1
# 0 110
180 203 25 39
32 229

boss2
# space - environment is dim

q2dm1
104 361 362
96 98
415 430
528

q2dm2
129 299 354 265
126 301
78 128
127 264
51 46 28 24

q2dm3
698 699

q2dm4
256 257
972 973 1022
253
1 3
1715
801
479 507 145
683 1097 1387 828
1560 1547 1459 1472

q2dm5
313 321 322
687 446 389 651 652
649 650

q2dm6
!all_lava
519 520 521 522 523 524
527 529 530 533 725 728 729
724 1190 723 518 517 895
944 949 948 947 950
731 733 752 754 753 751
500 503 498 505 473 474
209 211 215 202 570 571
200 535 937 857 904 898 536 534 866 210
4 5 38
963 884 883
1088 1183
954 953 952 951
498 499 500 503 505 508
882
1228 1229 1230 1231

q2dm7
# nothing here - underground

q2dm8
# the skylight window is too distant and makes too much noise

rmine1
!all_lava

0 comments on commit 9a95476

Please sign in to comment.