7 years agoReduced the value of EPSILON by a smaller amount. octtree-mesh octtree master
Karol Krizka [Thu, 06 Jan 2011 23:28:56 +0000]
Reduced the value of EPSILON by a smaller amount.

7 years agoA few more debugging information.
Karol Krizka [Thu, 06 Jan 2011 23:02:17 +0000]
A few more debugging information.

7 years agoUpdated the reference image for the doughnut test.
Karol Krizka [Thu, 06 Jan 2011 22:40:38 +0000]
Updated the reference image for the doughnut test.

7 years agoFIxed objects not being added to any oct-tree partition because they
Karol Krizka [Thu, 06 Jan 2011 22:38:40 +0000]
FIxed objects not being added to any oct-tree partition because they
lie exactly on the boundary.

7 years agoOctTreeNode how restricts the bounding boxes of its children.
Karol Krizka [Wed, 05 Jan 2011 23:41:27 +0000]
OctTreeNode how restricts the bounding boxes of its children.

7 years agoMesh now uses an oct-tree to store its triangles.
Karol Krizka [Wed, 05 Jan 2011 00:42:17 +0000]
Mesh now uses an oct-tree to store its triangles.

7 years agoTriangle now returns the maximum point for maxPoint() instead of the
Karol Krizka [Wed, 05 Jan 2011 00:41:01 +0000]
Triangle now returns the maximum point for maxPoint() instead of the
minimum point.

7 years agoBeginning of using ObjectList and OctTreeNode in storing a mesh's
Karol Krizka [Tue, 04 Jan 2011 07:26:18 +0000]
Beginning of using ObjectList and OctTreeNode in storing a mesh's
triangles.

7 years agoConverted all PNG images into RGB format so the unit test script does
Karol Krizka [Thu, 06 Jan 2011 19:31:07 +0000]
Converted all PNG images into RGB format so the unit test script does
not crash.

7 years agoAdded some missing showcase files
Karol Krizka [Wed, 05 Jan 2011 23:42:52 +0000]
Added some missing showcase files

7 years agoFixed a roundoff error in Triangle's contains algorithm.
Karol Krizka [Wed, 05 Jan 2011 05:53:38 +0000]
Fixed a roundoff error in Triangle's contains algorithm.

7 years agoAdded support for unit tests.
Karol Krizka [Wed, 05 Jan 2011 04:53:01 +0000]
Added support for unit tests.

7 years agoMore stuff to .gitignore .
Karol Krizka [Wed, 05 Jan 2011 04:52:30 +0000]
More stuff to .gitignore .

7 years agoAdded .gitignore to suppress scene images from polluting the output of
Karol Krizka [Wed, 05 Jan 2011 04:51:29 +0000]
Added .gitignore to suppress scene images from polluting the output of
'git status'.

7 years agoQuiet some of the output from runtest.sh
Karol Krizka [Wed, 05 Jan 2011 04:48:40 +0000]
Quiet some of the output from runtest.sh

7 years agoPPMFile saves the output in binary format.
Karol Krizka [Wed, 05 Jan 2011 04:35:38 +0000]
PPMFile saves the output in binary format.

7 years agoProper FPS to render script.
Karol Krizka [Wed, 05 Jan 2011 00:56:38 +0000]
Proper FPS to render script.

7 years agoA few aesthetic changes.
Karol Krizka [Tue, 04 Jan 2011 06:01:17 +0000]
A few aesthetic changes.

7 years agoMake a few more functions const.
Karol Krizka [Tue, 04 Jan 2011 05:58:16 +0000]
Make a few more functions const.

7 years agoCleaned up the OctTreeNode intersection code by moving it into its own functions.
Karol Krizka [Tue, 04 Jan 2011 05:24:05 +0000]
Cleaned up the OctTreeNode intersection code by moving it into its own functions.

7 years agoInitial work on oct tree optimization for large scenes with a lot of
Karol Krizka [Mon, 03 Jan 2011 18:24:34 +0000]
Initial work on oct tree optimization for large scenes with a lot of
items.

7 years agoAdded a few more samples.
Karol Krizka [Mon, 03 Jan 2011 02:03:14 +0000]
Added a few more samples.

7 years agoFixed occulsion bug with poing-like light sources.
Karol Krizka [Mon, 03 Jan 2011 01:35:56 +0000]
Fixed occulsion bug with poing-like light sources.

7 years agoIntersectionInformation now fills itself.
Karol Krizka [Sun, 02 Jan 2011 21:38:28 +0000]
IntersectionInformation now fills itself.

7 years agoMore const statements.
Karol Krizka [Sun, 02 Jan 2011 21:25:18 +0000]
More const statements.

7 years agoFraction-of-a-second improvements by declaring specific functions as const.
Karol Krizka [Sun, 02 Jan 2011 21:18:51 +0000]
Fraction-of-a-second improvements by declaring specific functions as const.

7 years agoParallal/SpotLight now works with the new intersection code.
Karol Krizka [Sun, 02 Jan 2011 21:05:07 +0000]
Parallal/SpotLight now works with the new intersection code.

7 years agoPointLight now works with the new shadown algorithm.
Karol Krizka [Sun, 02 Jan 2011 20:58:59 +0000]
PointLight now works with the new shadown algorithm.

7 years agoBeginning of work on improved intersection code.
Karol Krizka [Sun, 02 Jan 2011 20:30:08 +0000]
Beginning of work on improved intersection code.

7 years agoDetermining the closest object that a ray intersects with is now taken
Karol Krizka [Sun, 02 Jan 2011 20:06:52 +0000]
Determining the closest object that a ray intersects with is now taken
care of by ObjectList class. This allows to share optimizations in
different parts of the code.

7 years agoSplit scene reading and scene rendering code into two parts.
Karol Krizka [Sun, 02 Jan 2011 17:43:33 +0000]
Split scene reading and scene rendering code into two parts.

7 years agoAxisAlignedBox's intersection method now checks that the intersection is
Karol Krizka [Sun, 02 Jan 2011 08:46:31 +0000]
AxisAlignedBox's intersection method now checks that the intersection is
not behind the ray's start point.

7 years agoAdded a bounding box to the entire scene, which speeds up sparse renders
Karol Krizka [Sun, 02 Jan 2011 07:31:12 +0000]
Added a bounding box to the entire scene, which speeds up sparse renders
with many objects.

7 years agoSplit calculating intersection and the rest of information into separate
Karol Krizka [Sun, 02 Jan 2011 06:03:26 +0000]
Split calculating intersection and the rest of information into separate
functions. This way extra stuff does not have to be calculated when ray
does not intersect as the closest object.

7 years agoGive traceDepth a default value of 0.
Karol Krizka [Sun, 02 Jan 2011 03:41:37 +0000]
Give traceDepth a default value of 0.

7 years agoImproved showcase animation. generate-scenes.py does not delete
Karol Krizka [Mon, 27 Dec 2010 05:49:43 +0000]
Improved showcase animation. generate-scenes.py does not delete
unchanged scenes. generate-spotlight-path now creates the spotlight
KEYFRAMES for all of the 3 spot_lights at the same time.

7 years agoBounding box test for meshes.
Karol Krizka [Mon, 27 Dec 2010 00:13:30 +0000]
Bounding box test for meshes.

7 years agoAdded an axis aligned box object and self occlusion for complex objects.
Karol Krizka [Sun, 26 Dec 2010 23:16:39 +0000]
Added an axis aligned box object and self occlusion for complex objects.

7 years agoAdded a few more complicated meshes and made sure to ignore meshes with 0 area.
Karol Krizka [Fri, 24 Dec 2010 22:38:02 +0000]
Added a few more complicated meshes and made sure to ignore meshes with 0 area.

7 years agoQuads are now supposed by turning them into triangles.
Karol Krizka [Fri, 24 Dec 2010 08:26:27 +0000]
Quads are now supposed by turning them into triangles.

7 years agoRemoved some obsolete functions from Triangle and Mesh classes.
Karol Krizka [Wed, 22 Dec 2010 08:10:08 +0000]
Removed some obsolete functions from Triangle and Mesh classes.

7 years agoRenamed to raytracer.
Karol Krizka [Wed, 22 Dec 2010 07:19:23 +0000]
Renamed to raytracer.

7 years agoFixed normals in intersection info.
Karol Krizka [Tue, 21 Dec 2010 01:12:44 +0000]
Fixed normals in intersection info.

7 years agoAdd calculations of tangents to IntersectionInformation.
Karol Krizka [Sat, 18 Dec 2010 08:42:03 +0000]
Add calculations of tangents to IntersectionInformation.

7 years agoNormal vectors are now stored in IntersectionInformation.
Karol Krizka [Sat, 11 Dec 2010 06:05:13 +0000]
Normal vectors are now stored in IntersectionInformation.

7 years agoStart on intersection information being calculated only once per ray
Karol Krizka [Sat, 11 Dec 2010 02:05:03 +0000]
Start on intersection information being calculated only once per ray
test. Distance to interesction implemented so far.

7 years agoAdded speed test script.
Karol Krizka [Sat, 11 Dec 2010 00:26:12 +0000]
Added speed test script.

7 years agoMerge /home/kkrizka/Desktop/kka34-lab4
Karol Krizka [Fri, 10 Dec 2010 20:02:21 +0000]
Merge /home/kkrizka/Desktop/kka34-lab4

Conflicts:
Material.cpp
Material.h
Object.cpp
Scene.cpp
Scene.h
Triangle.cpp
tests/bumpmaptest.txt
tests/objects/plane.obj

7 years agoDome!
Karol Krizka [Fri, 10 Dec 2010 19:58:21 +0000]
Dome!

7 years agoAdded an animated sample5.
Karol Krizka [Mon, 29 Nov 2010 08:10:23 +0000]
Added an animated sample5.

7 years agoA working animations script.
Karol Krizka [Mon, 29 Nov 2010 07:53:44 +0000]
A working animations script.

7 years agoAdded script to run all tests at the same time and fixed mirror test.
Karol Krizka [Mon, 29 Nov 2010 06:13:05 +0000]
Added script to run all tests at the same time and fixed mirror test.

7 years agoSubpixel anti-aliasing is working very well.
Karol Krizka [Mon, 29 Nov 2010 05:52:59 +0000]
Subpixel anti-aliasing is working very well.

7 years agoAdded a few samples.
Karol Krizka [Mon, 29 Nov 2010 05:26:03 +0000]
Added a few samples.

7 years agoRefraction works now...
Karol Krizka [Mon, 29 Nov 2010 05:25:10 +0000]
Refraction works now...

7 years agoBasic transparency works now.
Karol Krizka [Mon, 29 Nov 2010 02:59:45 +0000]
Basic transparency works now.

7 years agoAdded tests/spotlightsample1.txt
Karol Krizka [Mon, 29 Nov 2010 01:32:37 +0000]
Added tests/spotlightsample1.txt

7 years agoWorking spotlight source.
Karol Krizka [Mon, 29 Nov 2010 00:53:15 +0000]
Working spotlight source.

7 years agoAdded support for parallel lights.
Karol Krizka [Sun, 28 Nov 2010 23:07:46 +0000]
Added support for parallel lights.

7 years agoAdded a test for point light sources.
Karol Krizka [Sun, 28 Nov 2010 20:25:39 +0000]
Added a test for point light sources.

7 years agoAdded a quick test with multiple light sources.
Karol Krizka [Sun, 28 Nov 2010 19:39:48 +0000]
Added a quick test with multiple light sources.

7 years agoWorking bumpmap for triangles/meshes.
Karol Krizka [Sun, 28 Nov 2010 19:22:44 +0000]
Working bumpmap for triangles/meshes.

7 years agoAdded a triangleAt method to Mesh to quickly get triangles at a point.
Karol Krizka [Sun, 28 Nov 2010 18:23:23 +0000]
Added a triangleAt method to Mesh to quickly get triangles at a point.

7 years agoChanged the API such that one uses a point instead of UVW to get tangents.
Karol Krizka [Sun, 28 Nov 2010 18:18:59 +0000]
Changed the API such that one uses a point instead of UVW to get tangents.

7 years agoMerge branch 'bumpmap-xyztangents' into bumpmap
Karol Krizka [Sat, 27 Nov 2010 21:54:04 +0000]
Merge branch 'bumpmap-xyztangents' into bumpmap

7 years agoForgot to add PGMFile class.
Karol Krizka [Sat, 27 Nov 2010 19:34:27 +0000]
Forgot to add PGMFile class.

7 years agoWorking prototype with Ovu from coordinates.
Karol Krizka [Sat, 27 Nov 2010 19:33:25 +0000]
Working prototype with Ovu from coordinates.

7 years agoBump mapping now works with spheres.
Karol Krizka [Sat, 27 Nov 2010 19:09:50 +0000]
Bump mapping now works with spheres.

7 years agoFixed Scene.cpp compilation pointer.
Karol Krizka [Sat, 27 Nov 2010 07:57:42 +0000]
Fixed Scene.cpp compilation pointer.

7 years agoBumpmaps are now part of the textures.
Karol Krizka [Sat, 27 Nov 2010 07:47:49 +0000]
Bumpmaps are now part of the textures.

7 years ago- Added support for reading PGM files
Karol Krizka [Sat, 27 Nov 2010 07:32:27 +0000]
- Added support for reading PGM files
- Added a test case for bumpmaps
- runtest.sh exists if make fails

7 years agoMaterial is now passed around as a pointer.
Karol Krizka [Sat, 27 Nov 2010 07:56:02 +0000]
Material is now passed around as a pointer.

7 years agoReverted some testing changes in sample5 test.
Karol Krizka [Sat, 27 Nov 2010 07:55:35 +0000]
Reverted some testing changes in sample5 test.

7 years agoProper cleanup for textures+objects when deleting a Scene file.
Karol Krizka [Fri, 26 Nov 2010 20:24:11 +0000]
Proper cleanup for textures+objects when deleting a Scene file.

7 years agoFixed type checking in runtest.sh
Karol Krizka [Fri, 26 Nov 2010 05:23:57 +0000]
Fixed type checking in runtest.sh

7 years agoMerge branch 'antialiasing'
Karol Krizka [Fri, 26 Nov 2010 05:23:23 +0000]
Merge branch 'antialiasing'

7 years agoFixed mirroring when index was greater than size of image.
Karol Krizka [Fri, 26 Nov 2010 05:23:05 +0000]
Fixed mirroring when index was greater than size of image.

7 years agoMerge branch 'antialiasing'
Karol Krizka [Fri, 26 Nov 2010 05:03:31 +0000]
Merge branch 'antialiasing'

7 years agoAdded a config file containing some global defines.
Karol Krizka [Fri, 26 Nov 2010 05:03:08 +0000]
Added a config file containing some global defines.

7 years agoMerge branch 'antialiasing'
Karol Krizka [Fri, 26 Nov 2010 05:02:05 +0000]
Merge branch 'antialiasing'

7 years agoAdded automatic checking for eog/gwenview.
Karol Krizka [Fri, 26 Nov 2010 05:01:53 +0000]
Added automatic checking for eog/gwenview.

7 years agoAdded color mirrors to antialiased pixels near the edge of the texture.
Karol Krizka [Fri, 26 Nov 2010 01:27:35 +0000]
Added color mirrors to antialiased pixels near the edge of the texture.

7 years agoThe anti aliasing is now configured through the scene txt file.
Karol Krizka [Fri, 26 Nov 2010 01:04:24 +0000]
The anti aliasing is now configured through the scene txt file.

7 years agoProper permissions to runtest.sh
Karol Krizka [Fri, 26 Nov 2010 00:25:28 +0000]
Proper permissions to runtest.sh

7 years agoMerge branch 'antialiasing' of /home/kkrizka/Dropbox/Transfer/Lab 4 into antialiasing
Karol Krizka [Fri, 26 Nov 2010 00:23:20 +0000]
Merge branch 'antialiasing' of /home/kkrizka/Dropbox/Transfer/Lab 4 into antialiasing

7 years agoMerge branch 'master' into texture
Karol Krizka [Fri, 26 Nov 2010 00:22:58 +0000]
Merge branch 'master' into texture

7 years agoMerge branch 'master' of /home/kkrizka/Dropbox/Transfer/Lab 4
Karol Krizka [Fri, 26 Nov 2010 00:22:36 +0000]
Merge branch 'master' of /home/kkrizka/Dropbox/Transfer/Lab 4

7 years agoShouldn't have added this.
Karol Krizka [Fri, 26 Nov 2010 00:22:08 +0000]
Shouldn't have added this.

7 years agoSwitched computers.
Karol Krizka [Fri, 26 Nov 2010 00:21:35 +0000]
Switched computers.

7 years agoInitial work on antialiasing.
Karol Krizka [Thu, 25 Nov 2010 21:50:44 +0000]
Initial work on antialiasing.

7 years agoMerge branch 'master' into texture
Karol Krizka [Thu, 25 Nov 2010 20:56:27 +0000]
Merge branch 'master' into texture

7 years agoRemoved writing of sample test.ppm file.
Karol Krizka [Thu, 25 Nov 2010 20:55:47 +0000]
Removed writing of sample test.ppm file.

7 years agoSwitched computers.
Karol Krizka [Thu, 25 Nov 2010 20:54:01 +0000]
Switched computers.

7 years agoMerge branch 'texture' of ../../../Transfer/Lab 4 into texture
Karol Krizka [Mon, 22 Nov 2010 07:17:13 +0000]
Merge branch 'texture' of ../../../Transfer/Lab 4 into texture

Conflicts:
Sphere.cpp
tests/tspheretest.txt

7 years agoMore changes.
Karol Krizka [Mon, 22 Nov 2010 07:15:16 +0000]
More changes.

7 years agoSome changes.
Karol Krizka [Mon, 22 Nov 2010 07:14:54 +0000]
Some changes.

7 years agoPPMFile now saves using the old formatting.
TINY [Sun, 21 Nov 2010 22:53:13 +0000]
PPMFile now saves using the old formatting.

7 years agoAdded texture mappings to the spheres.
TINY [Sun, 21 Nov 2010 22:51:32 +0000]
Added texture mappings to the spheres.

7 years agoMoved all tests into tests/ folder for clarity.
Karol Krizka [Sat, 20 Nov 2010 18:56:13 +0000]
Moved all tests into tests/ folder for clarity.

7 years agoALl textures work now.
Karol Krizka [Sat, 20 Nov 2010 18:51:57 +0000]
ALl textures work now.