Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submission: SANCHIT GARG #15

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9e77392
kernTracePath in pathtrace.cu not working
sanchitgarg Sep 19, 2015
ff96574
Sphere test passed
sanchitgarg Sep 19, 2015
3df4ee5
Basic Path tracer with Direct Illumination working using sampling cod…
sanchitgarg Sep 20, 2015
96de37f
DOF and DI working
sanchitgarg Sep 23, 2015
02d70a4
specular + diffused kind of working
sanchitgarg Sep 23, 2015
11ef049
fresnels reflection added
sanchitgarg Sep 24, 2015
01707e6
Attempted SSS but didn't work. Looking for a different approach.
sanchitgarg Sep 25, 2015
131e3c8
work efficient shared memory stream compaction working with int
sanchitgarg Sep 29, 2015
fe0d80b
stream compaction for rays to be implemented
sanchitgarg Sep 29, 2015
829acf4
stream compaction working for power of 2 in the path tracer, crashing…
sanchitgarg Sep 29, 2015
c684125
Stream compaction working with path tracer :)
sanchitgarg Sep 29, 2015
9b66dd3
Writing read, start with sss next
sanchitgarg Sep 29, 2015
ec04cb7
readme updated
sanchitgarg Sep 29, 2015
114d20b
renders added to FinalRenders folder
sanchitgarg Sep 29, 2015
216d9d1
adding images to readme
sanchitgarg Sep 29, 2015
fd90400
image resize in readme
sanchitgarg Sep 29, 2015
6e2dfd5
added all images
sanchitgarg Sep 29, 2015
9a01769
image resize
sanchitgarg Sep 29, 2015
faa0c74
resized all images
sanchitgarg Sep 29, 2015
9473370
images resized
sanchitgarg Sep 29, 2015
89c0514
Sub surface scattering finally working, :D
sanchitgarg Sep 30, 2015
e1c3e8f
readme updated for SSS
sanchitgarg Sep 30, 2015
6169782
image size updated in readme
sanchitgarg Sep 30, 2015
d7200ee
analysis added
sanchitgarg Sep 30, 2015
b1a07ff
update readme
sanchitgarg Sep 30, 2015
7cf5cf8
update readme
sanchitgarg Sep 30, 2015
4df0518
glow shader added
sanchitgarg Oct 2, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 44 additions & 7 deletions .cproject
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?>

<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="com.nvidia.cuda.ide.toolchain.base.1022870347">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.nvidia.cuda.ide.toolchain.base.1022870347" moduleId="org.eclipse.cdt.core.settings" name="Debug">
Expand All @@ -26,11 +24,20 @@
<builder id="com.nvidia.cuda.ide.builder.1852863291" incrementalBuildTarget="${ConfigName}" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="CUDA Toolkit 7.0 Builder" superClass="com.nvidia.cuda.ide.builder"/>
<tool id="nvcc.compiler.base.979724176" name="NVCC Compiler" superClass="nvcc.compiler.base">
<option id="nvcc.compiler.pic.1539379077" name="Position Independent Code (-fPIC)" superClass="nvcc.compiler.pic"/>
<option id="nvcc.compiler.include.paths.1653358879" superClass="nvcc.compiler.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="/Users/sanchitgarg/Desktop/cggt/Fall_2015/GPU/project3/external/assimp-3.1.1/include"/>
</option>
<inputType id="nvcc.compiler.input.cu.457588649" superClass="nvcc.compiler.input.cu"/>
<inputType id="nvcc.compiler.input.cpp.393980518" superClass="nvcc.compiler.input.cpp"/>
<inputType id="nvcc.compiler.input.c.983084362" superClass="nvcc.compiler.input.c"/>
</tool>
<tool id="nvcc.linker.base.977974995" name="NVCC Linker" superClass="nvcc.linker.base">
<option id="nvcc.linker.option.libs.843739494" superClass="nvcc.linker.option.libs" valueType="libs">
<listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="/Users/sanchitgarg/Desktop/cggt/Fall_2015/GPU/project3/external/assimp-3.1.1/lib/libassimp.a"/>
</option>
<option id="nvcc.linker.option.paths.1601721645" superClass="nvcc.linker.option.paths" valueType="libPaths">
<listOptionValue builtIn="false" value="/Users/sanchitgarg/Desktop/cggt/Fall_2015/GPU/project3/external/assimp-3.1.1/lib"/>
</option>
<inputType id="nvcc.linker.input.347028153" superClass="nvcc.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
Expand Down Expand Up @@ -63,18 +70,27 @@
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration buildProperties="" description="" id="com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359" name="Release" parent="org.eclipse.cdt.build.core.emptycfg">
<configuration artifactName="Project3-CUDA-Path-Tracer" buildProperties="" description="" id="com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359" name="Release" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359." name="/" resourcePath="">
<toolChain id="com.nvidia.cuda.ide.toolchain.base.1694579368" name="com.nvidia.cuda.ide.toolchain.base" superClass="com.nvidia.cuda.ide.toolchain.base">
<targetPlatform archList="all" binaryParser="com.nvidia.cuda.ide.elf;com.nvidia.cuda.ide.macho;com.nvidia.cuda.ide.cubin" id="com.nvidia.cuda.ide.targetPlatform.22615485" isAbstract="false" name="Debug Platform" osList="linux,macosx" superClass="com.nvidia.cuda.ide.targetPlatform"/>
<builder id="com.nvidia.cuda.ide.builder.1747060888" incrementalBuildTarget="${ConfigName}" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="CUDA Toolkit 7.0 Builder" superClass="com.nvidia.cuda.ide.builder"/>
<tool id="nvcc.compiler.base.1290464001" name="NVCC Compiler" superClass="nvcc.compiler.base">
<option id="nvcc.compiler.pic.413885544" name="Position Independent Code (-fPIC)" superClass="nvcc.compiler.pic"/>
<option id="nvcc.compiler.include.paths.615117403" name="Include paths (-I)" superClass="nvcc.compiler.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="/Users/sanchitgarg/Desktop/cggt/Fall_2015/GPU/project3/external/assimp-3.1.1/include"/>
</option>
<inputType id="nvcc.compiler.input.cu.450798328" superClass="nvcc.compiler.input.cu"/>
<inputType id="nvcc.compiler.input.cpp.120202231" superClass="nvcc.compiler.input.cpp"/>
<inputType id="nvcc.compiler.input.c.1383011677" superClass="nvcc.compiler.input.c"/>
</tool>
<tool id="nvcc.linker.base.1379005264" name="NVCC Linker" superClass="nvcc.linker.base">
<option id="nvcc.linker.option.libs.2061219118" name="Libraries (-l)" superClass="nvcc.linker.option.libs" valueType="libs">
<listOptionValue builtIn="false" srcPrefixMapping="" srcRootPath="" value="/Users/sanchitgarg/Desktop/cggt/Fall_2015/GPU/project3/external/assimp-3.1.1/lib/libassimp.a"/>
</option>
<option id="nvcc.linker.option.paths.511205570" name="Library search path (-L)" superClass="nvcc.linker.option.paths" valueType="libPaths">
<listOptionValue builtIn="false" value="/Users/sanchitgarg/Desktop/cggt/Fall_2015/GPU/project3/external/assimp-3.1.1/lib"/>
</option>
<inputType id="nvcc.linker.input.826958740" superClass="nvcc.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
Expand Down Expand Up @@ -183,16 +199,37 @@
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="Project3-CUDA-Path-Tracer.null.511728241" name="Project3-CUDA-Path-Tracer"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="RelWithDebugInfo"/>
<configuration configurationName="MinSizeRel"/>
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/Project3-CUDA-Path-Tracer"/>
</configuration>
<configuration configurationName="Debug">
<resource resourceType="PROJECT" workspacePath="/Project3-CUDA-Path-Tracer"/>
</configuration>
<configuration configurationName="Release"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359;com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359.;nvcc.compiler.base.1290464001;nvcc.compiler.input.cu.450798328">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.nvidia.cuda.ide.build.NVCCPerProjectProfile"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359;com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359.;nvcc.compiler.base.1290464001;nvcc.compiler.input.cpp.120202231">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.nvidia.cuda.ide.build.NVCCPerProjectProfile"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.nvidia.cuda.ide.toolchain.base.1022870347;com.nvidia.cuda.ide.toolchain.base.1022870347.540900755;nvcc.compiler.base.979724176;nvcc.compiler.input.c.983084362">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.nvidia.cuda.ide.build.NVCCPerProjectProfile"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.nvidia.cuda.ide.toolchain.base.1022870347;com.nvidia.cuda.ide.toolchain.base.1022870347.540900755;nvcc.compiler.base.979724176;nvcc.compiler.input.cu.457588649">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.nvidia.cuda.ide.build.NVCCPerProjectProfile"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.nvidia.cuda.ide.toolchain.base.1022870347;com.nvidia.cuda.ide.toolchain.base.1022870347.540900755;nvcc.compiler.base.979724176;nvcc.compiler.input.cpp.393980518">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.nvidia.cuda.ide.build.NVCCPerProjectProfile"/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359;com.nvidia.cuda.ide.toolchain.base.1022870347.1473931359.;nvcc.compiler.base.1290464001;nvcc.compiler.input.c.1383011677">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.nvidia.cuda.ide.build.NVCCPerProjectProfile"/>
</scannerConfigBuildInfo>
</storageModule>
</cproject>
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CUDA_PROPAGATE_HOST_FLAGS OFF)
endif()

#add_subdirectory(stream_compaction) # TODO: uncomment if using your stream compaction
include_directories(.)
add_subdirectory(stream_compaction) # TODO: uncomment if using your stream compaction
add_subdirectory(src)

cuda_add_executable(${CMAKE_PROJECT_NAME}
Expand All @@ -77,8 +78,9 @@ cuda_add_executable(${CMAKE_PROJECT_NAME}

target_link_libraries(${CMAKE_PROJECT_NAME}
src
#stream_compaction # TODO: uncomment if using your stream compaction
stream_compaction # TODO: uncomment if using your stream compaction
${CORELIBS}
assimp
)

add_custom_command(
Expand Down
Binary file added FinalRenders/DI.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 FinalRenders/DOF.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 FinalRenders/aliased.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 FinalRenders/caustics.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 FinalRenders/coverPic.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 FinalRenders/noDI.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 FinalRenders/noFresnel.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 FinalRenders/reference.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 FinalRenders/sss1.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 FinalRenders/sss2.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.
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.
4 changes: 2 additions & 2 deletions Project3-CUDA-Path-Tracer.launch
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<stringAttribute key="org.eclipse.cdt.debug.mi.core.DEBUG_NAME" value="${cuda_bin}/cuda-gdb"/>
<stringAttribute key="org.eclipse.cdt.debug.mi.core.GDB_INIT" value=".cuda-gdbinit"/>
<stringAttribute key="org.eclipse.cdt.debug.mi.core.protocol" value="mi"/>
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="com.nvidia.cuda.ide.debug.cudagdb"/>
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="scenes/sphere.txt"/>
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="scenes/glowTest.txt"/>
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/cis565_path_tracer"/>
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="Project3-CUDA-Path-Tracer"/>
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
Expand Down
Loading