ecd5f44207messing with scenes/dw.fart more
Josh Holtrop
2010-09-28 19:49:14 +00:00
e5e4f991fbadded optional block following shape references which can contain transforms or materials specific to the shape instance
Josh Holtrop
2010-09-28 19:31:26 +00:00
f67707e666messing with scenes/dw.fart
Josh Holtrop
2010-09-28 19:05:46 +00:00
ad6ef8f315moved some Matrix and Transform functionality into header files
Josh Holtrop
2010-09-28 18:18:42 +00:00
9fd9c5774eremoved a few emtpy Vector x; statements
Josh Holtrop
2010-09-28 17:53:31 +00:00
835a0c968fmoved a bunch of functionality from Ray.cc and Color.cc into Ray.h and Color.h
Josh Holtrop
2010-09-28 17:16:39 +00:00
3f0d6cd83emoved most Vector functionality into the header so it could be inlined
Josh Holtrop
2010-09-28 16:55:39 +00:00
9e4191fb61added AABB class, calculating AABB in Extrude objects, added Extrude intersect() optimization to throw out rays not hitting the AABB
Josh Holtrop
2010-09-28 16:37:27 +00:00
138c90c2c3optimized intersect() test for Subtract and Intersect boolean objects to not attempt intersecting with object B when object A had no intersections.... had about a 26% speed improvement for DW test scene
Josh Holtrop
2010-09-28 14:22:25 +00:00
f337831df6updated todo
Josh Holtrop
2010-09-28 02:30:32 +00:00
b0dfa2ee1fbool sub-objects using relative coordinates, shape definitions using relative coordinates, this allows transform blocks in each, and shape references to combine absolute transform with the relative transform
Josh Holtrop
2010-07-09 19:37:05 +00:00
b4a2c8ef8eallowing transform blocks inside boolean shapes, but using a shape reference to a boolean shape does not propagate transform properly
Josh Holtrop
2010-07-09 18:33:26 +00:00
fc2c62d5acadded shape vim keyword
Josh Holtrop
2010-07-09 17:18:07 +00:00
5308913bdbadded shape definitions into parser, not using them yet
Josh Holtrop
2010-07-09 16:35:16 +00:00
340742d27badded command-line options --ambient-occlusion and --preview, console displays max depth parameter
Josh Holtrop
2010-07-09 16:18:51 +00:00
17d69c54cePolygon objects now prune adjacent points that are the same -- no more fuzzies in extrudes with offsets of 0
Josh Holtrop
2010-07-09 14:29:17 +00:00
d2b37a1687updated extrudes scene, fixed Extrude objects to return backfaces so that boolean objects work properly
Josh Holtrop
2010-07-08 19:01:00 +00:00
53ebaeec3eend caps on extrudes working!
Josh Holtrop
2010-07-08 18:33:39 +00:00
da47ae6fd3fixed rendering of Extrude edges... caps still not working
Josh Holtrop
2010-07-08 17:09:51 +00:00
d0fe38566cadded mult() and div() to Vector
Josh Holtrop
2010-07-08 16:55:30 +00:00
9546c8dde4updated some Vector operations and made them member functions
Josh Holtrop
2010-07-08 16:39:34 +00:00
cb4c84ee66Extrude properly sorts returned intersections
Josh Holtrop
2010-07-08 15:36:22 +00:00
9bed134733sorting Extrude intersection results, still buggy intersect() though
Josh Holtrop
2010-07-02 18:38:11 +00:00
0b36fa79a0added some keywords to vim syntax file
Josh Holtrop
2010-07-02 18:37:50 +00:00
96f2b7d276added ambient_occlusion global scene option to parser and vim keywords; added ambient_occlusion scene file
Josh Holtrop
2010-06-29 19:37:53 +00:00
f5ac18d34fdoing many more samples for ambient occlusion looks better
Josh Holtrop
2010-06-29 18:13:19 +00:00
77e99ac5a5added initial ambient occlusion attempt... but don't like it
Josh Holtrop
2010-06-29 17:44:36 +00:00
c115dec69badded ambient parameter in global options{} for parser to set scene's global ambient color
Josh Holtrop
2010-06-29 15:39:35 +00:00
7fdb084aadsoft shadows working better after replacing M_2_PI with 2.0 * M_PI since M_2_PI is 2/pi, not 2*pi...
Josh Holtrop
2010-06-29 14:59:44 +00:00
57a4e6ed8atrying new jitter method for soft shadows, getting better
Josh Holtrop
2010-07-13 06:35:45 +00:00
eb14077ab7added jitter parameter to lights, currently uses random vectors, which i'm not happy with; added Vector::getPerpendicularVector() which will be used to replace random jitter for lights
Josh Holtrop
2010-06-25 18:12:00 +00:00
1af787b9abadded jitter and radius parameters to light objects; not using them yet
Josh Holtrop
2010-06-25 16:37:17 +00:00
bc27be0f85added Ray::randomRay() to generated a ray with origin at (0,0,0) and a random direction
Josh Holtrop
2010-06-25 16:16:08 +00:00
c731d598eaadded exposure to keywords in vim syntax
Josh Holtrop
2010-06-25 14:30:25 +00:00
ef003f6100added exposure equations to avoid saturation; default exposure 1.0; added "exposure" keyword to global scene options in parser
Josh Holtrop
2010-06-25 04:05:34 +00:00
8fb2492e0aadded double cast operator to Vector to return its length
Josh Holtrop
2010-06-18 01:53:54 +00:00
ca95190dbemoved fart.vim to syntax folder
Josh Holtrop
2010-05-12 17:25:23 +00:00
dc573ebdd5added vim syntax file for .fart scene description files
Josh Holtrop
2009-08-28 20:25:53 +00:00
054a5e8f0edistributed slave nodes forking for each core to take advantage of multicore architectures
Josh Holtrop
2009-04-15 02:44:05 +00:00
f6c6e8ec36added startChildren() in main/fart module, soon to be replaced with a straight fork() call
Josh Holtrop
2009-04-15 02:35:14 +00:00
a82110ab24no longer printing messages when connections established
Josh Holtrop
2009-04-15 01:55:25 +00:00
37c319a782moved distrib object to a top-level object in the function so it would not be destroyed before main() exits; added exit(0) call at end of main()
Josh Holtrop
2009-04-15 01:03:42 +00:00
d98c26da66rearranged the failure handling code
Josh Holtrop
2009-04-15 00:58:35 +00:00
f267a8fd86node failure now detected and recovered from in distrib::getTask()
Josh Holtrop
2009-04-15 00:02:21 +00:00
aaa38f6f2cadded TCP_NODELAY socket option to communication sockets for messages to be sent immediately
Josh Holtrop
2009-04-14 23:53:50 +00:00
6a9eded895updated .todo again
Josh Holtrop
2009-03-16 13:28:17 +00:00
584160265fupdated scenes/die.fart, moved where backface checking was occurring in main/Scene
Josh Holtrop
2009-03-15 22:07:06 +00:00
7d9eb65fdeworking on die scene, fixed bug in Scene-load for loading colors applied to lights
Josh Holtrop
2009-03-15 21:11:01 +00:00
5590c533ceFixed boolean objects to determine if rays start inside or outside the boolean; changed constructors to accept a list of shapes instead of just two shapes; changed parser to accept any number of top-level shapes inside of a boolean shape block; changed scenes/die.fart to reflect this change (a drastic simplification)
Josh Holtrop
2009-03-15 19:51:21 +00:00
f103b71ed6added SUBDIRS to top-level Makefile to make adding subdirectories easier
Josh Holtrop
2009-03-13 19:26:12 +00:00
195593cc9bupdated .todo, added scenes/die.fart which illustrates boolean object problem where continuation rays starting in the middle of a boolean object do not realize that fact
Josh Holtrop
2009-03-12 03:23:10 +00:00
91e490b65aadded shapes/shapes.h, shapes/BoolShape, made Intersect, Union, and Subtract derive from BoolShape, made BoolShape::setMaterial() call setMaterial() on sub-shapes so that materials applied to boolean objects will be applied to all sub-objects
Josh Holtrop
2009-03-12 02:59:35 +00:00
86888fa461changed Scene::calculateLightContribution() to return a Color instead of a double and take into account the color of any semi-transparent objects that are passed through en route to the light source... this leads to shadow colors tainted by the color of the objects through which the light is travelling
Josh Holtrop
2009-03-12 02:30:28 +00:00