Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,11 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
set_target_properties(${CMAKE_PROJECT_NAME} PROPERTIES CUDA_ARCHITECTURES native)

target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE "$<$<AND:$<CONFIG:Debug,RelWithDebInfo>,$<COMPILE_LANGUAGE:CUDA>>:-G;-src-in-ptx>")
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE "$<$<AND:$<CONFIG:Release>,$<COMPILE_LANGUAGE:CUDA>>:-lineinfo;-src-in-ptx>")
#target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE "$<$<AND:$<CONFIG:Debug,RelWithDebInfo>,$<COMPILE_LANGUAGE:CUDA>>:-G;-src-in-ptx>")
#target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE "$<$<AND:$<CONFIG:Release>,$<COMPILE_LANGUAGE:CUDA>>:-lineinfo;-src-in-ptx>")

target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE "$<$<AND:$<CONFIG:Debug,RelWithDebInfo>,$<COMPILE_LANGUAGE:CUDA>>:-G>")
target_compile_options(${CMAKE_PROJECT_NAME} PRIVATE "$<$<AND:$<CONFIG:Release>,$<COMPILE_LANGUAGE:CUDA>>:-lineinfo>")

set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${CMAKE_PROJECT_NAME})

322 changes: 317 additions & 5 deletions README.md

Large diffs are not rendered by default.

Binary file added bloopers/cornell.2025-10-05_00-01-11z.21samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bloopers/cornell.2025-10-05_02-54-09z.94samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bloopers/cornell.2025-10-06_01-01-46z.93samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bloopers/galaxy.2025-10-06_01-43-33z.137samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-04_02-50-11z.2samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-04_02-50-11z.6samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-04_03-36-55z.1303samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-04_03-36-55z.48samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-04_22-19-18z.65samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-04_22-19-18z.81samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-04_22-34-39z.5000samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_00-01-11z.21samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_01-17-34z.142samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_01-17-34z.156samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_02-10-53z.39samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_02-54-09z.94samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_03-28-02z.441samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_03-28-02z.502samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-05_03-40-06z.242samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-06_00-02-00z.1922samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-06_00-04-06z.242samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-06_00-04-06z.5000samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-06_00-19-54z.284samp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cornell.2025-10-06_00-25-30z.2402samp.png
Binary file added img/cornell.2025-10-06_00-25-30z.2672samp.png
Binary file added img/cornell.2025-10-06_00-26-37z.699samp.png
Binary file added img/cornell.2025-10-06_00-52-34z.48samp.png
Binary file added img/cornell.2025-10-06_00-52-34z.54samp.png
Binary file added img/cornell.2025-10-06_00-53-33z.46samp.png
Binary file added img/cornell.2025-10-06_01-01-46z.139samp.png
Binary file added img/cornell.2025-10-06_01-01-46z.93samp.png
Binary file added img/cornell.2025-10-06_01-11-02z.1579samp.png
Binary file added img/cornell.2025-10-06_01-11-02z.1833samp.png
Binary file added img/cornell.2025-10-06_01-39-09z.5000samp.png
Binary file added img/cornell.2025-10-06_02-06-58z.5000samp.png
Binary file added img/cornell.2025-10-06_02-52-10z.5000samp.png
Binary file added img/cornell.2025-10-06_03-31-51z.5000samp.png
Binary file added img/cornell.2025-10-06_03-40-12z.5000samp.png
Binary file added img/cornell.2025-10-06_05-05-11z.5000samp.png
Binary file added img/cornell.2025-10-07_02-46-50z.5000samp.png
Binary file added img/cornell.2025-10-07_02-49-18z.5000samp.png
Binary file added img/cornell.2025-10-07_03-00-17z.5000samp.png
Binary file added img/cornell.2025-10-07_03-04-24z.5000samp.png
Binary file added img/cornell.2025-10-07_03-13-27z.5000samp.png
Binary file added img/cornell.2025-10-07_03-17-38z.5000samp.png
Binary file added img/cornell.2025-10-07_03-36-39z.5000samp.png
Binary file added img/cornell.2025-10-07_03-39-11z.5000samp.png
Binary file added img/cornell.2025-10-07_04-01-38z.1469samp.png
Binary file added img/cornell.2025-10-07_04-01-38z.90samp.png
Binary file added img/cornell.2025-10-07_04-03-10z.15samp.png
Binary file added img/cornell.2025-10-07_04-37-59z.5000samp.png
Binary file added img/cornell.2025-10-07_06-01-06z.5000samp.png
Binary file added img/cornell.2025-10-07_17-39-18z.5000samp.png
Binary file added img/cornell.ckpt
Binary file not shown.
Binary file added img/galaxy.2025-10-06_01-43-33z.137samp.png
Binary file added img/spaceship.2025-10-07_05-08-18z.3000samp.png
Binary file added img/spaceship.2025-10-07_05-24-57z.3000samp.png
Binary file added img/sphere.2025-10-04_02-47-42z.30samp.png
Binary file added img/sphere.2025-10-04_02-47-42z.5000samp.png
Binary file added img/sphere.2025-10-04_02-47-42z.91samp.png
Binary file added img/sphere.2025-10-04_22-20-50z.5000samp.png
Binary file added readme/9_balls_color.png
Binary file added readme/Base component.png
Binary file added readme/Direct_lighting.png
Binary file added readme/FOV_30.png
Binary file added readme/FOV_75.png
Binary file added readme/Final_rendering.png
Binary file added readme/Minecastle.png
Binary file added readme/No_Direct_lighting.png
Binary file added readme/Shadow.png
Binary file added readme/Solar_system_final.png
Binary file added readme/blured_img.png
Binary file added readme/blured_img_2.png
Binary file added readme/core_features.png
Binary file added readme/depth_of_field_1.png
Binary file added readme/depth_of_field_32.png
Binary file added readme/eiffel_tower.png
Binary file added readme/emissive.png
Binary file added readme/glass_vs_mirror.png
Binary file added readme/initial.png
Binary file added readme/refractive_glass_IOR_0.png
Binary file added readme/refractive_glass_IOR_1.5.png
Binary file added readme/solar_system_1.png
Binary file added readme/solar_system_2.png
Binary file added readme/solar_system_3.png
Binary file added readme/two_lights.png
91 changes: 14 additions & 77 deletions scenes/cornell.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,11 @@
{
"Materials":
{
"light":
{
"TYPE":"Emitting",
"RGB":[1.0, 1.0, 1.0],
"EMITTANCE":5.0
},
"diffuse_white":
{
"TYPE":"Diffuse",
"RGB":[0.98, 0.98, 0.98]
},
"diffuse_red":
{
"TYPE":"Diffuse",
"RGB":[0.85, 0.35, 0.35]
},
"diffuse_green":
{
"TYPE":"Diffuse",
"RGB":[0.35, 0.85, 0.35]
},
"specular_white":
{
"TYPE":"Specular",
"RGB":[0.98, 0.98, 0.98],
"ROUGHNESS":0.0
}
"light": { "TYPE":"Emitting", "RGB":[1.0, 1.0, 1.0], "EMITTANCE": 1.5 },
"diffuse_white": { "TYPE":"Diffuse", "RGB":[0.98, 0.98, 0.98] },
"diffuse_red": { "TYPE":"Diffuse", "RGB":[0.85, 0.35, 0.35] },
"diffuse_green": { "TYPE":"Diffuse", "RGB":[0.35, 0.85, 0.35] },
"specular_white":{ "TYPE":"Specular", "RGB":[0.98, 0.98, 0.98], "ROUGHNESS":0.0 }
},
"Camera":
{
Expand All @@ -42,54 +20,13 @@
},
"Objects":
[
{
"TYPE":"cube",
"MATERIAL":"light",
"TRANS":[0.0,10.0,0.0],
"ROTAT":[0.0,0.0,0.0],
"SCALE":[3.0,0.3,3.0]
},
{
"TYPE":"cube",
"MATERIAL":"diffuse_white",
"TRANS":[0.0,0.0,0.0],
"ROTAT":[0.0,0.0,0.0],
"SCALE":[10.0,0.01,10.0]
},
{
"TYPE":"cube",
"MATERIAL":"diffuse_white",
"TRANS":[0.0,10.0,0.0],
"ROTAT":[0.0,0.0,90.0],
"SCALE":[0.01,10.0,10.0]
},
{
"TYPE":"cube",
"MATERIAL":"diffuse_white",
"TRANS":[0.0,5.0,-5.0],
"ROTAT":[0.0,90.0,0.0],
"SCALE":[0.01,10.0,10.0]
},
{
"TYPE":"cube",
"MATERIAL":"diffuse_red",
"TRANS":[-5.0,5.0,0.0],
"ROTAT":[0.0,0.0,0.0],
"SCALE":[0.01,10.0,10.0]
},
{
"TYPE":"cube",
"MATERIAL":"diffuse_green",
"TRANS":[5.0,5.0,0.0],
"ROTAT":[0.0,0.0,0.0],
"SCALE":[0.01,10.0,10.0]
},
{
"TYPE":"sphere",
"MATERIAL":"specular_white",
"TRANS":[-1.0,4.0,-1.0],
"ROTAT":[0.0,0.0,0.0],
"SCALE":[3.0,3.0,3.0]
}
{ "TYPE":"cube", "MATERIAL":"light", "TRANS":[0.0,10.0,0.0], "ROTAT":[0.0,0.0,0.0], "SCALE":[3.0,0.3,3.0] },
{ "TYPE":"cube", "MATERIAL":"diffuse_white", "TRANS":[0.0,0.0,0.0], "ROTAT":[0.0,0.0,0.0], "SCALE":[10.0,0.01,10.0] },
{ "TYPE":"cube", "MATERIAL":"diffuse_white", "TRANS":[0.0,10.0,0.0], "ROTAT":[0.0,0.0,90.0], "SCALE":[0.01,10.0,10.0] },
{ "TYPE":"cube", "MATERIAL":"diffuse_white", "TRANS":[0.0,5.0,-5.0], "ROTAT":[0.0,90.0,0.0], "SCALE":[0.01,10.0,10.0] },
{ "TYPE":"cube", "MATERIAL":"diffuse_red", "TRANS":[-5.0,5.0,0.0], "ROTAT":[0.0,0.0,0.0], "SCALE":[0.01,10.0,10.0] },
{ "TYPE":"cube", "MATERIAL":"diffuse_green", "TRANS":[5.0,5.0,0.0], "ROTAT":[0.0,0.0,0.0], "SCALE":[0.01,10.0,10.0] },
{ "TYPE":"sphere", "MATERIAL":"specular_white", "TRANS":[-1.0,4.0,-1.0], "ROTAT":[0.0,0.0,0.0], "SCALE":[3.0,3.0,3.0] },
{ "TYPE":"sphere", "MATERIAL":"glass", "TRANS":[2.0,3.0,1.0], "ROTAT":[0.0,0.0,0.0], "SCALE":[2.5,2.5,2.5] }
]
}
}
Loading