This website requires JavaScript.
83bb409ef9
added Shape::IntersectList for returning a list of intersection points instead of intersections distances; build currently broken; need to update Scene to take into effect this change
Josh Holtrop
2009-01-27 18:48:04 +00:00
47cf177a15
removed svn:executable for some files
Josh Holtrop
2009-01-27 18:28:38 +00:00
5213df1af3
added shapes/Shape.cc
Josh Holtrop
2009-01-27 18:15:06 +00:00
f4781e2889
updated getRayHits(), fixed bug in Scene::ShapeDistance(Shape *, double)
Josh Holtrop
2009-01-27 01:34:00 +00:00
ecace9f5e8
added Scene::ShapeDistance construct
Josh Holtrop
2009-01-27 00:47:21 +00:00
e8fd42f81f
broke traceRay() out into getRayHits()
Josh Holtrop
2009-01-27 00:11:14 +00:00
38b2304641
added Color m_color instance variable to Light base class
Josh Holtrop
2009-01-26 20:59:46 +00:00
e0d545a6b7
added util/Color module, updated Light and PointLight
Josh Holtrop
2009-01-26 20:08:42 +00:00
072bf75c04
added main/{Light,PointLight} modules
Josh Holtrop
2009-01-26 16:05:23 +00:00
7d7ec130e0
added operators +, - to Vector, added inverse transform instance variable to shapes/Shape, changed Sphere to use its inverse transform when calculating intersections and normals, removed simplistic lighting from main/Scene
Josh Holtrop
2009-01-26 14:02:15 +00:00
dad8497bf4
multisampling working
Josh Holtrop
2009-01-25 23:01:46 +00:00
d88f1ab5fd
fixed bug in QuadraticSolver, cheap lighting working
Josh Holtrop
2009-01-23 23:56:39 +00:00
761925220b
added getNormalAt() to Shape & Sphere, trying to get basic lighting
Josh Holtrop
2009-01-23 18:09:27 +00:00
801f61f48c
Ray-Sphere intersections are working, no lighting/shading/materials/reflectance
Josh Holtrop
2009-01-23 17:20:23 +00:00
bd12e9798f
Transform::rotate() using radians instead of degrees in sin(), cos() calls
Josh Holtrop
2009-01-23 16:47:08 +00:00
20eafaf9f4
fixed view plane distance calculation to use tan() and convert degrees to radians
Josh Holtrop
2009-01-23 16:44:39 +00:00
a1c81e5adc
sphere drawing, but stretched horizontally... have to figure that out yet
Josh Holtrop
2009-01-23 16:00:43 +00:00
97b9fa9eab
added getInverse() to util/Transform, fixed transform_*() functions
Josh Holtrop
2009-01-23 15:28:53 +00:00
7d461477b3
added operator<<(ostream, Ray) to util/Ray, main/Scene now calculating rays
Josh Holtrop
2009-01-23 15:15:35 +00:00
f03b19a022
added messages to main/Scene, util/Matrix constructor sets matrix to identity
Josh Holtrop
2009-01-23 14:57:47 +00:00
c32e826ee3
added --field-of-view and m_vfov to Scene
Josh Holtrop
2009-01-23 14:43:49 +00:00
73cdd1a5a1
improving Ray, Sphere, Solver, Scene a bit
Josh Holtrop
2009-01-23 14:37:18 +00:00
bdb648b84f
added transform_normal() to util/Transform
Josh Holtrop
2009-01-23 04:15:25 +00:00
af0afe1631
added CXXFLAGS with -O3 to main Makefile
Josh Holtrop
2009-01-23 02:14:45 +00:00
63d56c5e43
renamed transformation operations in util/Transform for clarity
Josh Holtrop
2009-01-23 02:13:17 +00:00
277252ef77
added transformation operations to util/Transform
Josh Holtrop
2009-01-23 00:27:29 +00:00
2deee25004
added operator%() to util/Matrix
Josh Holtrop
2009-01-23 00:14:22 +00:00
0044dbb544
added Vector(double,double,double) constructor, filled in rotate() in Transform
Josh Holtrop
2009-01-22 21:30:35 +00:00
cd9530d21b
filled in scale() transformation in util/Transform
Josh Holtrop
2009-01-22 20:36:05 +00:00
13d7d90b87
added operator*=() to util/Matrix
Josh Holtrop
2009-01-22 20:31:13 +00:00
1454fe8c2e
added --help option, updated util/Transform
Josh Holtrop
2009-01-22 03:28:51 +00:00
5692558733
main/Scene applying command-line options after loading input file
Josh Holtrop
2009-01-22 03:07:14 +00:00
b6008116cf
Scene now writing blank BMP file, accepting settings parameters
Josh Holtrop
2009-01-22 02:51:43 +00:00
959219ffb8
updated main/Scene to accept std::map of parameters
Josh Holtrop
2009-01-22 02:26:32 +00:00
5c9857e9a1
added a few scene options to the scene_options map for Scene to deal with
Josh Holtrop
2009-01-22 01:29:35 +00:00
f143245c53
updated main/Scene module a tad
Josh Holtrop
2009-01-20 22:35:44 +00:00
a52733c996
updated main/fart.cc a tad
Josh Holtrop
2009-01-20 21:51:03 +00:00
c06255abff
added main/Scene module; updated main/fart.cc to use getopt_long()
Josh Holtrop
2009-01-20 21:39:44 +00:00
0c8597f31b
slight format changes to util/Matrix
Josh Holtrop
2009-01-20 14:22:22 +00:00
6283577b42
updated main Makefile
Josh Holtrop
2009-01-20 04:31:42 +00:00
2adb782b24
updated Makefile, tests.cc, util/Matrix
Josh Holtrop
2009-01-20 04:02:10 +00:00
746b17227c
added operator<<(std::ostream, Matrix) to util/Matrix
Josh Holtrop
2009-01-20 03:46:11 +00:00
160d6998d6
filled out operator==(Matrix, Matrix) using FP_EQ()
Josh Holtrop
2009-01-20 03:37:17 +00:00
151a8895a8
updated
Josh Holtrop
2009-01-20 01:42:05 +00:00
739f1f4fac
updated Makefile
Josh Holtrop
2009-01-20 01:37:04 +00:00
f2e9f5293a
added calculateInverse() to util/Matrix module
Josh Holtrop
2009-01-20 01:29:18 +00:00
aec4a17e45
added determinant() to util/Matrix module
Josh Holtrop
2009-01-20 00:12:06 +00:00
f63a1b8c3c
updated
Josh Holtrop
2009-01-18 17:52:39 +00:00
ba59e83d39
added main/BMP module from gvsu/cs677/pa3
Josh Holtrop
2009-01-18 17:15:19 +00:00
997a8f12d1
updated Matrix, Transform, main Makefile
Josh Holtrop
2009-01-18 16:51:51 +00:00
838c1b644a
added svn:ignore to subdirectories for *.dep, updated Matrix & Transform
Josh Holtrop
2009-01-18 04:09:59 +00:00
0e93e2c76d
updated Makefile, main/fart.cc, util/Vector.h
Josh Holtrop
2009-01-18 02:10:23 +00:00
973c07d2a9
created main/Makefile
Josh Holtrop
2009-01-18 01:55:15 +00:00
3ccda0dbe7
added main directory
Josh Holtrop
2009-01-18 01:54:46 +00:00
206ede3304
initial import from /gvsu/cs658 repository
Josh Holtrop
2009-01-18 01:44:28 +00:00
a00c525abe
added trunk, tags, branches
Josh Holtrop
2009-01-18 01:43:10 +00:00