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

Project Submission #20

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
4e69ca4
Updated project to 2012 and added debug arguments.
cboots Oct 23, 2013
9ea55ff
Flushed out primitive assembly
cboots Oct 28, 2013
92d315a
Added perspective division.
cboots Oct 29, 2013
6c3c79c
I can see triangles from here!!
cboots Oct 29, 2013
1226f25
Changed camera angle and flipped y axis in pixel buffer.
cboots Oct 29, 2013
826cedf
Fixed bug in depth buffer (looking at wrong coord).
cboots Oct 29, 2013
0c6115d
Implemented normal visualization.
cboots Oct 29, 2013
bffcb05
Added model view.
cboots Oct 30, 2013
ba9057f
Tested out cow model.
cboots Oct 30, 2013
7ae4ff3
Added easy way to switch rendering modes.
cboots Oct 30, 2013
e760f14
Added option for flat shading color.
cboots Oct 30, 2013
8a4c50c
Implemented blinn-phong shading. Severely bugged right now.
cboots Oct 30, 2013
bd3cec1
Lighting looks right now, but normals are screwed up.
cboots Oct 30, 2013
8e86761
Rasterizer making progress, but seems unstable.
cboots Oct 30, 2013
78ec891
Fixed memory leaks. Oops
cboots Oct 30, 2013
538e913
Fixed return code for profiling purposes.
cboots Oct 30, 2013
48e9900
Adjusted lighting params.
cboots Oct 30, 2013
0a49151
Added a faster depth buffer clear routine that doesn't use as much me…
cboots Oct 30, 2013
12dfd89
Added a smoothed version of the cow.
cboots Oct 30, 2013
45aa594
Improved depth buffer with more reliable CAS operation.
cboots Oct 30, 2013
c0d22c6
Implemented keyboard camera interaction.
cboots Oct 30, 2013
ae67ac5
Implemented zoom.
cboots Oct 30, 2013
767add4
Implemented simple mouse manipulation.
cboots Oct 30, 2013
5253eaf
Improved camera control. Removed mouse zoom. Too sensitive.
cboots Oct 30, 2013
2e87e3e
Changed depth buffer implementation in vain attempt to fix bug.
cboots Oct 31, 2013
e6a5f22
Implemented backface culling.
cboots Oct 31, 2013
c9a9173
Implemented total primitive clipping. Very minimal savings since per …
cboots Oct 31, 2013
17b0ad7
Implemented bin rasterizer. Added some performance logs from nsight
cboots Nov 1, 2013
281f22f
Fixed resource allocation problem with bin rasterizer.
cboots Nov 1, 2013
3f5c49a
Coarse rasterizer is crashing, but outline is implemented.
cboots Nov 1, 2013
ee9ccb6
Lots of indexing bugs. Fixed crashes.
cboots Nov 1, 2013
fa407e6
Depth test is wrong, but bin rasterizer is rendering correctly now.
cboots Nov 1, 2013
9e84e0d
I forgot bounds checking on the triangle. Oops.
cboots Nov 1, 2013
8710acb
Added performance metrics.
cboots Nov 1, 2013
9b0ed9e
Added performance plots.
cboots Nov 1, 2013
e74645d
Added more pretty charts and things.
cboots Nov 2, 2013
7fd0032
Update README.md
cboots Nov 2, 2013
6c6c4e0
Added a bunch of screenshots for readme
cboots Nov 2, 2013
062fddb
Merge branch 'master' of https://github.com/cboots/Project4-Rasterizer
cboots Nov 2, 2013
35d5e50
Update README.md
cboots Nov 2, 2013
223e1ba
Update README.md
cboots Nov 2, 2013
e38fbde
Update README.md
cboots Nov 2, 2013
1b3adf3
Added video
cboots Nov 2, 2013
02310a8
Update README.md
cboots Nov 2, 2013
c9b15ca
Update README.md
cboots Nov 2, 2013
b791144
Merge branch 'master' of https://github.com/cboots/Project4-Rasterizer
cboots Nov 2, 2013
a34d08c
Update README.md
cboots Nov 6, 2013
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
5 changes: 5 additions & 0 deletions PROJ4_WIN/565Rasterizer/565Rasterizer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<ClInclude Include="..\..\src\ObjCore\obj.h" />
<ClInclude Include="..\..\src\ObjCore\objloader.h" />
<ClInclude Include="..\..\src\rasterizeKernels.h" />
<ClInclude Include="..\..\src\rasterizeStructs.h" />
<ClInclude Include="..\..\src\rasterizeTools.h" />
<ClInclude Include="..\..\src\utilities.h" />
</ItemGroup>
Expand All @@ -41,12 +42,14 @@
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
Expand Down Expand Up @@ -84,6 +87,7 @@
<CudaCompile>
<CompileOut>$(ProjectDir)$(Platform)/$(Configuration)/%(Filename)%(Extension).obj</CompileOut>
<Include>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include;C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.5\common\inc;../shared/glew/include;../shared/freeglut/include;%(AdditionalIncludeDirectories)</Include>
<CodeGeneration>compute_20,sm_20</CodeGeneration>
</CudaCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -109,6 +113,7 @@
<CudaCompile>
<CompileOut>$(ProjectDir)$(Platform)/$(Configuration)/%(Filename)%(Extension).obj</CompileOut>
<Include>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include;C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.5\common\inc;../shared/glew/include;../shared/freeglut/include;%(AdditionalIncludeDirectories)</Include>
<CodeGeneration>compute_20,sm_20</CodeGeneration>
</CudaCompile>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down
3 changes: 3 additions & 0 deletions PROJ4_WIN/565Rasterizer/565Rasterizer.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
<ClInclude Include="..\..\src\utilities.h">
<Filter>headers</Filter>
</ClInclude>
<ClInclude Include="..\..\src\rasterizeStructs.h">
<Filter>headers</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\ObjCore\obj.cpp">
Expand Down
826 changes: 513 additions & 313 deletions PROJ4_WIN/src/rasterizeKernels.cu.deps

Large diffs are not rendered by default.

206 changes: 73 additions & 133 deletions README.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions objs/cow.obj
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# This file uses centimeters as units for non-parametric coordinates.

mtllib cow.mtl
g default
v 0.206954 -0.092156 -0.080097
v 0.212812 -0.080935 -0.081915
v 0.223758 -0.072223 -0.078081
Expand Down
Loading