Commit Graph

243 Commits (e77e1096deb5729d3d1c65cca099daa065824e99)

Author SHA1 Message Date
Wenzel Jakob e77e1096de sphere works again, initial support for coherent RT with non-tri shapes 2010-10-18 19:20:20 +02:00
Wenzel Jakob c42f31751d slimmed down the shape interface 2010-10-17 00:08:55 +02:00
Wenzel Jakob 1be325172e merged with Steve's miter hair changes 2010-10-16 16:06:23 +02:00
Wenzel Jakob 472eb9926a tolerate more messages/sec 2010-10-16 16:05:14 +02:00
Wenzel Jakob 2004d65444 serialization bugfix 2010-10-16 15:43:34 +02:00
Wenzel Jakob 917c142312 MIPMap: be more resilient to infinities 2010-10-16 15:24:47 +02:00
Wenzel Jakob df0600eccd prevent the user interface from freezing when lots of messages are generated 2010-10-16 14:51:12 +02:00
Wenzel Jakob 2db91b43f9 scale ray differentials to increase texture sharpness when rendering with multiple samples (idea from PBRTv2) 2010-10-16 12:46:36 +02:00
Wenzel Jakob b4f4bf55f7 be lenient when texturing objects without texture coordinates 2010-10-16 12:29:58 +02:00
Wenzel Jakob 781006c968 support face normals in the preview 2010-10-16 04:01:21 +02:00
Wenzel Jakob 4afd9afb25 more solid OBJ import 2010-10-16 02:15:35 +02:00
Wenzel Jakob d6e0638ceb bugfixes 2010-10-16 02:03:38 +02:00
Wenzel Jakob d788010885 committed a number of accumulated architectural changes (see body for details)
- primitive clipping is now more paranoid about roundoff errors
- significantly improved the kd-tree benchmark "kdbench"
- fixed a parallelization-related bug in the kd-tree builder
- fixed some remaining floating point issues in the min-max binning code
- completely moved TriMesh over to a more compact SoA representation
- the OpenGL renderer now sends smaller packets of geometry to the GPU, which
  helps keep the operating system more responsive (NVidia drivers didn't like
  the previous behavior much).
2010-10-16 00:33:32 +02:00
Wenzel Jakob 24385b655d nicer loading dialog 2010-10-14 02:53:20 +02:00
Wenzel Jakob a1b8d2266d copied over coherent RT code from the previous KDTree impl. 2010-10-14 01:00:42 +02:00
Wenzel Jakob 01aac828a9 preview bugfix 2010-10-14 00:15:58 +02:00
Wenzel Jakob b2679e8adc allow to disable the preview 2010-10-13 23:20:20 +02:00
Wenzel Jakob 6a173cb9fd cleanups 2010-10-13 20:56:13 +02:00
Wenzel Jakob 7f4d55bdbd some bugfixes, PBRT-style traversal routine 2010-10-13 19:19:30 +02:00
Wenzel Jakob d9225ae74f nicer statistics 2010-10-13 12:37:17 +02:00
Wenzel Jakob 30d7e45479 rendering using the new tree code now works 2010-10-13 12:28:09 +02:00
Wenzel Jakob 3fa45c6cb2 integration of the new kd-tree implementation (no coherent RT yet) 2010-10-13 05:15:52 +02:00
Wenzel Jakob c74924fb7a cleanups 2010-10-13 03:38:44 +02:00
Wenzel Jakob 57c329d646 preparations to support the TriAccel4 format 2010-10-13 00:28:06 +02:00
Wenzel Jakob 5feb7753d8 collect some more statistics, code for fitting SAH cost constants to empirical measurements 2010-10-12 23:47:15 +02:00
Wenzel Jakob 13878de3fb added a plain traversal routine, havran-style wins 2010-10-12 17:55:32 +02:00
Wenzel Jakob a5736bd8ba lots of bugfixes 2010-10-12 14:51:30 +02:00
Wenzel Jakob 5e7839b9b7 record SAH costs of the old implementation 2010-10-12 11:36:21 +02:00
Wenzel Jakob 82faa961a2 snapshot before searching for remaining traversal/building bug 2010-10-12 03:06:46 +02:00
Wenzel Jakob 76abaf1cb8 added a havran-style traversal routine 2010-10-12 02:36:05 +02:00
Wenzel Jakob 440656a875 initial generic ray intersection architecture 2010-10-12 01:10:28 +02:00
Wenzel Jakob baa41a195a cleanups 2010-10-11 21:04:05 +02:00
Wenzel Jakob 84cff419f8 build better trees 2010-10-11 14:20:20 -04:00
Wenzel Jakob e0a1720581 compilation fixes 2010-10-11 14:00:14 -04:00
Wenzel Jakob ac4fa10d5d nicer statistics 2010-10-11 19:48:52 +02:00
Wenzel Jakob d09655dbe6 a few more optimizations after profiling the builder 2010-10-11 19:40:40 +02:00
Wenzel Jakob db444cd87f parallelization is starting to work 2010-10-11 15:53:59 +02:00
Wenzel Jakob 2d5eff417c better statistics, global indirection table 2010-10-11 14:05:58 +02:00
Wenzel Jakob a1ca92bda2 do a better job at keeping track of statistics 2010-10-10 18:10:14 +02:00
Wenzel Jakob 83958d8f91 clipping now also works 2010-10-10 13:06:16 +02:00
Wenzel Jakob 0c010ec20f added partitioning code, bugs remain 2010-10-10 03:01:31 +02:00
Wenzel Jakob edadfe8096 better statistics, more work on parallelization 2010-10-10 01:09:18 +02:00
Wenzel Jakob 2b997ebf42 more informative import warning when a material is missing 2010-10-09 13:25:47 +02:00
Wenzel Jakob 7d588e32e9 more work on the binary representation, bugs remain 2010-10-08 15:03:49 +02:00
Wenzel Jakob b856ccc0c7 added a chunking memory allocator, min-max binning is starting to work 2010-10-08 02:46:47 +02:00
Wenzel Jakob 42a075135c extension to make the PLY loader handle some files extended by blender 2010-10-07 19:14:09 +02:00
Wenzel Jakob 05266a5033 merge with default branch 2010-10-07 18:57:44 +02:00
Wenzel Jakob 74fb4d009c more statistics 2010-10-07 18:57:37 +02:00
Wenzel Jakob effb3ebfb0 work on the min-max binning split method 2010-10-07 18:38:06 +02:00
Wenzel Jakob 2e3d9f1ab2 fix shadow mapping 2010-10-07 00:37:32 +02:00