forked from NVIDIA/Q2RTX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[email protected]: Removed blue_noise_textures/*] (cherry-picked from commit 75edde726232a1c1db9fde2ea0c7f65b00afd85e)
- Loading branch information
Showing
132 changed files
with
109,961 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,9 @@ | |
q2pro | ||
q2proded | ||
game*.so | ||
*.swp | ||
build/ | ||
/baseq2 | ||
shader_vkpt | ||
./vkpt | ||
./vkptded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
cmake_minimum_required (VERSION 3.8) | ||
|
||
include("cmake/HunterGate.cmake") | ||
# ---------- Startup hunter ------------------------- | ||
HunterGate( | ||
URL "https://github.com/ruslo/hunter/archive/v0.20.7.tar.gz" | ||
SHA1 "a376088a679fbfbe3a2c330746801f1d47e51a37" | ||
) | ||
|
||
PROJECT(quake2-pt) | ||
|
||
OPTION(CONFIG_GL_RENDERER "Enable GL renderer") | ||
OPTION(CONFIG_VKPT_RENDERER "Enable VKPT renderer" ON) | ||
OPTION(CONFIG_USE_OPTIX "Use optix for tracing rays") | ||
SET(CONFIG_OPTIX_DIR "" CACHE PATH "Optix SDK directory") | ||
|
||
# ---------- Setup output Directories ------------------------- | ||
SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY | ||
${PROJECT_BINARY_DIR}/Bin | ||
CACHE PATH | ||
"Single Directory for all Libraries" | ||
) | ||
|
||
# --------- Setup the Executable output Directory ------------- | ||
SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY | ||
${PROJECT_BINARY_DIR}/Bin | ||
CACHE PATH | ||
"Single Directory for all Executables." | ||
) | ||
|
||
# --------- Dependencies ------------------------------------- | ||
if (CMAKE_SIZEOF_VOID_P EQUAL 8) | ||
set( IS_64_BIT 1 ) | ||
else () | ||
endif () | ||
|
||
# --------- Dependencies ------------------------------------- | ||
hunter_add_package(zlib) | ||
hunter_add_package(png) | ||
hunter_add_package(jpeg) | ||
hunter_add_package(sdl2) | ||
#hunter_add_package(curl) | ||
|
||
find_package(ZLIB CONFIG REQUIRED) | ||
find_package(PNG CONFIG REQUIRED) | ||
find_package(JPEG CONFIG REQUIRED) | ||
find_package(SDL2 CONFIG REQUIRED) | ||
#find_package(Vulkan) | ||
#find_library(Vulkan_LIBRARY NAMES vulkan-1 vulkan PATHS "C:/VulkanSDK/1.1.85.0") | ||
|
||
link_directories(.) | ||
|
||
# Compatibility mode | ||
find_package(ZLIB REQUIRED) | ||
string(COMPARE EQUAL "${ZLIB_INCLUDE_DIRS}" "" is_empty) | ||
if(is_empty) | ||
message(FATAL_ERROR "Expected non-empty") | ||
endif() | ||
|
||
|
||
SET(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/install) | ||
|
||
|
||
ADD_SUBDIRECTORY(src) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
Welcome to Q2PRO, an enhanced, multiplayer oriented Quake 2 client and server. | ||
Welcome to Q2VKPT, a Quake II engine with real-time path tracing. This client | ||
implements fully dynamic illumination without precomputation supporting area | ||
light sources, reflections, soft shadows, and indirect illumination. This | ||
client is a port of our real-time path tracer vkpt and is based on the Quake II | ||
engine Q2PRO. | ||
|
||
For building Q2PRO, please consult the INSTALL file. | ||
This client requires a high-end GPU supporting the Vulkan extension | ||
VK_NV_ray_tracing. | ||
|
||
For information on using and configuring Q2PRO, please refer to client and | ||
server manuals available in doc/ subdirectory. | ||
Please refer to our project page for more details. | ||
|
||
Project homepage: http://brechpunkt.de/q2vkpt | ||
|
||
Project homepage: http://skuller.net/q2pro/ |
Oops, something went wrong.