Commit Graph

502 Commits (4895aeef7b813734e441ee46cd61eaf248ba69e7)

Author SHA1 Message Date
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 efb75bbf7b typo 2010-10-12 17:56:27 +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 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 d36827be4e do a better job at keeping track of node statistics 2010-10-11 10:09:39 +02:00
Wenzel Jakob fa26a1a271 switched node allocator to a blocked vector 2010-10-11 09:00:14 +02:00
Wenzel Jakob 0df829eede cleanups 2010-10-10 22:38:40 +02:00
Wenzel Jakob bb83ad08cf fixed the transition from MinMax binning to exact evaluation 2010-10-10 18:18:14 +02:00
Wenzel Jakob a1ca92bda2 do a better job at keeping track of statistics 2010-10-10 18:10:14 +02:00
Wenzel Jakob 87b82cc5e1 added the empty space bonus 2010-10-10 13:23:04 +02:00
Wenzel Jakob 1058cfe7a7 cleanups 2010-10-10 13:06:42 +02:00
Wenzel Jakob 83958d8f91 clipping now also works 2010-10-10 13:06:16 +02:00
Wenzel Jakob 679cd18613 exact SAH-optimized kd-tree builder works for the first time (without primitive clipping) 2010-10-10 12:23:55 +02:00
Wenzel Jakob 577a732cd0 SAH costs seem more reasonable now 2010-10-10 12:05:32 +02:00
Wenzel Jakob 2144ce41bb accelerated the case without perfect splits 2010-10-10 04:04:13 +02:00
Wenzel Jakob ba8e333629 all pieces are now there -- time to track down allocator bugs 2010-10-10 03:33:45 +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 8102eb91d3 efficient storage for classification results 2010-10-09 22:54:06 +02:00
Wenzel Jakob fc01e4485e SAH minimization sweep 2010-10-08 20:25:48 +02:00
Wenzel Jakob 13ada869dd show statistics similar to [Wald and Havran] 2010-10-08 20:01:15 +02:00
Wenzel Jakob 66e9033d3b some statistics 2010-10-08 19:48:53 +02:00
Wenzel Jakob 075fec5496 about to replace the current binning code with something numerically better-behaved 2010-10-08 19:02:17 +02:00
Wenzel Jakob 6cd1062fe6 bad refines heuristic 2010-10-08 18:33:46 +02:00
Wenzel Jakob d900a92a86 still debugging... 2010-10-08 16:16:45 +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 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 8351aa5b02 extended the remaining medium classes to handle compound stencil geometry 2010-10-06 21:56:36 +02:00
Wenzel Jakob 76a501b291 faster builds 2010-10-06 20:46:16 +02:00
Wenzel Jakob 5da46517da the initial clustering step works 2010-10-06 02:27:20 +02:00
Wenzel Jakob d57d319048 min-max binning core implementation 2010-10-05 22:49:57 +02:00
Wenzel Jakob 88c0caad3d beginning work on a new KD-tree implementation 2010-10-05 11:02:05 +02:00
Wenzel Jakob 80e4b35c22 merged with main branch 2010-10-05 07:35:24 +02:00
Wenzel Jakob 082facab36 union cast 2010-10-05 07:34:55 +02:00
Wenzel Jakob 4bb5e8c3d6 vertex color and PLY loading support 2010-09-28 19:47:16 +02:00
Wenzel Jakob ef55697dd9 importance sampling support for environment maps 2010-09-21 02:45:25 +02:00
Wenzel Jakob b5b56bd20d gridtexture GLSL implementation for the material test ball scene 2010-09-21 00:03:10 +02:00
Wenzel Jakob e2dfe9a330 some OSX build fixes, missing virtual destructors 2010-09-20 22:19:41 +02:00
Wenzel Jakob 686030ef7e feature to track down use of unitialized values (initialize vectors etc. with NaNs if a compile-time flag is set) 2010-09-20 20:50:30 +02:00
Wenzel Jakob 0bba70a89d work on the documentation 2010-09-19 12:07:34 +02:00
Wenzel Jakob a295b0ecd8 fixed some inconsistencies in the HG phase function, clarified conventions in the documentation 2010-09-17 14:45:23 +02:00
Wenzel Jakob 46dcdc4100 work on sutherland-hodgman, allow to set log level to errors only 2010-09-16 02:30:47 +02:00
Wenzel Jakob 7a18e43123 more source-level documentation 2010-09-15 21:15:42 +02:00
Wenzel Jakob 768bacccdc windows compilation bugfixes, removed many warnings 2010-09-14 15:53:11 -07:00
Wenzel Jakob a49d5bf648 portable directory traversal 2010-09-14 15:23:23 +02:00
Wenzel Jakob 5253cb594c cleaned up some forward declarations 2010-09-14 14:28:25 +02:00
Wenzel Jakob 74f6e540e2 Support for canceling preprocess tasks -- fixes Bug #9 2010-09-14 01:45:24 +02:00
Wenzel Jakob 43baf60019 forgotten cout 2010-09-14 00:21:35 +02:00
Wenzel Jakob fe4b174e52 more cleanups 2010-09-14 00:13:27 +02:00
Wenzel Jakob 943aca4016 faster sutherland-hodgman iteration, added missing partial specialization for integer division involving vectors 2010-09-13 22:36:51 +02:00
Wenzel Jakob a5035b6b10 partial rewrite part 2, the project now fully compiles again 2010-09-13 21:19:04 +02:00
Wenzel Jakob 8e7fdb48dc Partial rewrite, part 1. Does not fully compile yet
- Switched vectors classes to templates
- Moved most path handling over to boost_filesystem
- Nicer include file structure
- Better documentation for libcore
- Doxygen support
- Vector/Point/etc. data structures are now unitialized by default!
2010-09-10 03:14:48 +02:00
Wenzel Jakob cde6d7d462 Version 0.1.3 2010-09-08 09:56:07 +02:00
Wenzel Jakob 3de850f4e2 fix point sources in the RTRT preview 2010-09-08 01:55:50 +02:00
Wenzel Jakob 92a627986f better path handling 2010-09-05 21:51:30 +02:00
Wenzel Jakob 8486931b30 Nicer testcase framework, eigendecomposition support 2010-09-05 21:17:35 +02:00
Wenzel Jakob 2b9b7f2b25 version switch -> 0.1.2 2010-09-03 17:00:08 +02:00
Wenzel Jakob 151ab2311a better to be on the safe side 2010-09-03 14:00:32 +02:00
Wenzel Jakob c26e577b65 windows build fixes 2010-09-03 13:20:46 +02:00
Wenzel Jakob 0f1158c678 added copyright headers to all relevant source files 2010-09-02 23:41:20 +02:00
Wenzel Jakob 995810faaf do sphere & cylinder intersections in double precision 2010-09-02 22:32:33 +02:00
Wenzel Jakob 9fcc46643b adaptive ray epsilon 2010-09-02 21:50:17 +02:00
Wenzel Jakob 1c60e7368d testcase support -- see 'test_samplers.cpp' for an example 2010-09-02 17:57:04 +02:00
Wenzel Jakob 2527bb0dec area light source bugfix, return to preview button 2010-08-31 21:17:15 +02:00
Wenzel Jakob 02c47237a7 vast collada importer improvements, incomplete bmp loading support 2010-08-31 00:23:34 +02:00
Wenzel Jakob 2650e9f5cb transparent compression support 2010-08-30 21:40:32 +02:00
Wenzel Jakob c296248190 preview: allow forcing diffuse sources/receivers -- the latter is not done yet 2010-08-28 22:10:05 +02:00
Wenzel Jakob 723e8d951f fixed obj serialization issues 2010-08-27 15:33:22 +02:00
Wenzel Jakob eaf8ba36cb allow making VPLs diffuse for faster preview convergence 2010-08-27 01:22:48 +02:00
Wenzel Jakob b49340d02a win32 importer bugfixes 2010-08-26 17:05:13 +02:00
Wenzel Jakob 378833cefd mtsimport crash bugfix 2010-08-24 11:19:13 +02:00
Wenzel Jakob 5645cdf360 debian build process update 2010-08-23 22:03:34 +00:00
Wenzel Jakob e3ea4e9a94 Bitmap: int->size_t 2010-08-23 12:14:31 +02:00
Wenzel Jakob bd9ff72f4d limited TGA loading support, better OBJ material import 2010-08-22 23:46:49 +02:00
Wenzel Jakob 76e6ac6322 mtsimport now works with OBJs 2010-08-20 00:45:52 +02:00
Wenzel Jakob 9fed7118bf better obj parsing & gui scene saving support
- do a better job at parsing OBJs with multiple objects
- correctly save XML scenes when there is no integrator or sampler
2010-08-18 17:28:27 +02:00
Wenzel Jakob b18761dfcc bugfixes to mtsutil, more parallelization documentation 2010-08-17 01:27:08 +02:00
Wenzel Jakob 93ff7c6f60 merged with main branch 2010-08-16 17:53:43 +02:00
Wenzel Jakob b8d898b8a5 merged with main branch 2010-08-16 17:48:29 +02:00
Wenzel Jakob 094a0226b6 mtsutil feature is done 2010-08-16 17:16:13 +02:00
Wenzel Jakob 1867232a89 added a scene argument to the subsurface integrator 2010-08-16 16:34:43 +02:00
Wenzel Jakob 29e713acf4 removed unused Li feature from Subsurface 2010-08-16 16:06:42 +02:00
Wenzel Jakob 1442571546 mtsutil changeset 2 2010-08-16 15:31:39 +02:00
Wenzel Jakob ab2e6b4ca7 Phong now takes a separate color and reflectance argument
This change will soon be implemented with the remaining materials
2010-08-15 15:24:30 +02:00
Wenzel Jakob be13518cc4 new composite material, which represents a linear blend of BSDFs 2010-08-15 12:29:18 +02:00
Wenzel Jakob fa1789be6d portal luminaire, support for adjustments when importing from COLLADA, bugfixes 2010-08-13 14:53:52 +02:00
Wenzel Jakob be412e8313 Accumulated changes since the v.0.1.1. release
* constant.cpp, src/libhw/vpl.cpp: Support for image environment
        sources and spot lights in the real-time preview.

	* mitsuba.cpp: Ability to run the 'mitsuba' execubable in arbitrary
        locations on OSX while ensuring that it still finds all plugins etc.

	* mtsimport: COLLADA importer support for ambient lights and 'polylist' meshes.

    * scene.cpp: Create a default camera when none is specified in the XML file.

    * constant.cpp, src/libhw/vpl.cpp: Support for rendering constant environment
        sources in the real-time preview.

    * glwidget.cpp, mainwindow.cpp: Support for Drag & Drop

    * glwidget.cpp, mainwindow.cpp: The Mitsuba user interface now also
        doubles as an EXR viewer / tonemapper. Drag an EXR file onto the
        UI or open it using the File menu, and the image opens in a new
        tab. Afterwards, it is possible to export the image as a tonemapped
        8-bit PNG image.
2010-08-10 02:34:58 +02:00
Wenzel Jakob 08b1861c4d Initial import of Mitsuba version 0.1.1
Unfortunately, no history for the existing files could be imported from
the previous SVN repository (it is mixed with as-of-yet unpublished research).
2010-08-09 19:38:37 +02:00