Commit Graph

259 Commits (405c7114fedfe91c367e7cff1a8bddfd93f4c5e5)

Author SHA1 Message Date
Wenzel Jakob 8bca25f504 merge 2011-08-19 13:52:00 -04:00
Wenzel Jakob 139d0d5073 documentation & python binding improvements 2011-08-19 03:13:18 -04:00
Wenzel Jakob 7f918fd1a1 boost::python and documentation updates 2011-08-19 00:16:57 -04:00
Wenzel Jakob faefb39147 python-related cleanups 2011-08-18 19:57:11 -04:00
Wenzel Jakob e7225da4ca python layer improvements 2011-08-17 05:10:16 -04:00
Wenzel Jakob 8019a53716 renamed some old function prefixes 2011-08-16 20:37:47 -04:00
Wenzel Jakob 6afff558ef OSX build improvements 2011-08-16 02:18:38 -04:00
Wenzel Jakob 5ebb8a76c2 OSX build improvements 2011-08-16 00:36:44 -04:00
Wenzel Jakob 46c7299ddf OSX compilation fix 2011-08-15 21:20:24 -04:00
Wenzel Jakob 38a275e988 merge 2011-08-15 18:04:33 -04:00
Wenzel Jakob 42c882d43f nicer implementation of the Properties class based on boost::variant; added various python-related improvements 2011-08-15 14:38:01 -04:00
Wenzel Jakob 26fc39bac0 OSX build system improvements: switched from @executable_path to @loader_path 2011-08-14 19:30:06 -04:00
Wenzel Jakob 9bd5619750 linux compilation fixes for GCC 4.5 2011-08-13 20:41:19 -04:00
Wenzel Jakob a0b73a71e9 Python: vector and framework initialization support 2011-08-13 15:46:49 -04:00
Wenzel Jakob cd69e50a73 sssbrdf-related bugfixes/improvements 2011-08-13 01:07:31 -04:00
Wenzel Jakob ba8b62dd74 Dipole BRDF by Marios Papas 2011-08-11 00:23:20 -07:00
Wenzel Jakob 73dc3f897a started working on chkms.cpp 2011-08-07 02:54:37 -04:00
Wenzel Jakob 5b735f362d sunsky meta-plugin 2011-07-28 03:18:17 +02:00
Wenzel Jakob bd3291fad0 reverting back to Boost::Filesystem v2, since not all platforms provide v3 yet 2011-07-27 17:11:57 +02:00
Wenzel Jakob eae8cc74f7 fixed boost::filesystem v3 port, further tweaks on the sunsky model 2011-07-26 23:44:53 +02:00
Wenzel Jakob 1141eb87e3 port to boost::fileystem v3, some adjustments to the sky luminaire 2011-07-26 21:05:43 +02:00
Wenzel Jakob b657152081 cleanup of the medium & dipole data input interface 2011-07-22 01:30:14 +02:00
Wenzel Jakob 4ed86ec392 fixed a stupid bug that could mess up medium rendering with analytic shapes 2011-07-21 19:10:37 +02:00
Wenzel Jakob 33a6fd58c0 sky luminaire by Tom Kazimiers, composite light sources, rayleigh scattering in media 2011-07-21 17:42:44 +02:00
Wenzel Jakob a4acf8b379 two-sided coating 2011-07-20 00:39:29 +02:00
Wenzel Jakob 1b7b8a6d74 nice modulo function, rearranged BSDF interface 2011-07-19 20:01:48 +02:00
Wenzel Jakob 42ce9799f6 typo 2011-07-19 18:53:15 +02:00
Wenzel Jakob dbfca082b3 added box-muller sampling; applied Marios' HK serialization bugfix 2011-07-19 18:47:55 +02:00
Wenzel Jakob a5d3024a39 various cleanups 2011-07-17 15:20:55 +02:00
Wenzel Jakob ef2c813b10 Added an XSLT-based scene 'upgrade' tool to handle content from old versions of Mitsuba.
Some of the documentation was improved, and there are now example bump map
renderings.
2011-07-17 00:28:28 +02:00
Wenzel Jakob 42b92dac8f various cleanups, started working on the smooth dielectric coating 2011-07-13 01:56:00 +02:00
Wenzel Jakob 4871d6793a various shader-related improvements 2011-07-12 01:24:58 +02:00
Wenzel Jakob 1debcf3c0b partially working implementation of the rough diffuse model, added a class for representing cubic splines 2011-07-11 14:17:40 +02:00
Wenzel Jakob 873fe06277 finished the roughdiffuse model, fixed a handedness switch in Transform::lookAt 2011-07-11 01:34:17 +02:00
Wenzel Jakob d2f1d31aeb cleanups, yet another bugfix for the A-S model 2011-07-08 00:36:02 +02:00
Wenzel Jakob a13583db34 done with the smooth conductor, started working on the rough dielectric 2011-07-07 03:07:32 +02:00
Wenzel Jakob bd4301bd1e removed the 'schema' directory, added IOR data from luxpop 2011-07-06 23:40:13 +02:00
Wenzel Jakob 5c8201d764 further spectrum-related cleanups 2011-07-06 17:52:02 +02:00
Wenzel Jakob c552a79902 did a pass over the spectral rendering support; ported some RGB->Spectrum conversion code from PBRT 2011-07-06 12:50:38 +02:00
Wenzel Jakob 1dc0193f68 spectral rendering improvements, added back further documentation chapters 2011-07-05 18:50:17 +02:00
Wenzel Jakob 4a6d69df32 documentation updates, the chi-square test now also handles delta components, addes support for loading interpolated color spectra from disk 2011-07-05 13:24:22 +02:00
Wenzel Jakob 626794b94a major redesign of the BSDF API 2011-07-04 20:13:36 +02:00
Wenzel Jakob 7c5f924fad significant rehaul of the dielectric.cpp implementation. Fixed some OpenGL errors on MacOS X 2011-07-01 18:54:46 +02:00
Wenzel Jakob d40de22c32 chi-square test cleanups 2011-06-25 00:33:30 +02:00
Wenzel Jakob 35d68c19ba fixed the rough glass model sampling code 2011-06-23 23:04:21 +02:00
Wenzel Jakob d0ffa69c9e various cosmetic changes involving dielectric materials, still debugging roughglass.. 2011-06-23 19:41:29 +02:00
Wenzel Jakob ebd8a80f74 Bug in squareToDiskConcentric() pointed out by Milos 2011-06-23 17:57:13 +02:00
Wenzel Jakob 9d9a6dd5e4 Contribution from Marios: multiple distributions for roughglass.cpp; improved chi-square test 2011-06-23 17:37:31 +02:00
Wenzel Jakob 44a928f1e5 chi-square test robustness improvements 2011-06-23 04:23:07 +02:00
Wenzel Jakob a5364d02f1 improved per-component BSDF chi-square test 2011-06-23 01:43:39 +02:00
Wenzel Jakob 5a40118a44 added a chi-square test for validating BSDF models 2011-06-23 01:08:23 +02:00
Wenzel Jakob 483d6aa942 fixed a MemoryStream issue that broke JPEG unserialization 2011-06-17 14:39:39 +02:00
Wenzel Jakob aa1e4c5247 win32 compilation fix 2011-06-01 23:13:58 +02:00
Wenzel Jakob ad3ccd68e9 typo 2011-06-01 13:50:02 -07:00
Wenzel Jakob 3f43c634a8 bugfix 2011-06-01 22:48:29 +02:00
Wenzel Jakob 686c161f45 more verbose 2011-06-01 22:29:05 +02:00
Wenzel Jakob ec945e145e be more verbose 2011-06-01 22:26:22 +02:00
Wenzel Jakob 740b5b5651 MS projects have moved 2011-06-01 02:20:53 +02:00
Wenzel Jakob 56429cc130 minor win32 warning removed 2011-04-30 14:12:00 -07:00
Wenzel Jakob b203e2079b removed many win64 compilation warnings 2011-04-30 12:54:56 -07:00
Wenzel Jakob e73d458c32 fixed a few warnings on win32 2011-04-29 14:46:20 +02:00
Wenzel Jakob 9cefc6ea97 support for custom float/spectrum parameters 2011-04-28 01:48:43 +02:00
Wenzel Jakob 24976234b5 direction interpolation tweaks, cleaned up the gridvolume step size determination 2011-04-26 19:14:54 +02:00
Wenzel Jakob 1eabd9ce9a use a 3x3 eigendecomposition in gridvolume::lookupVector() 2011-04-26 16:48:24 +02:00
Wenzel Jakob 2d193b8b4f support for writing JPEG files, small volumetric path tracer tweaks 2011-04-24 12:44:18 +02:00
Wenzel Jakob c511567250 partial merge with the -ctrewrite branch 2011-04-21 01:12:08 +02:00
Wenzel Jakob f83eeeb411 osx fixes 2011-04-20 13:29:02 +02:00
Wenzel Jakob 10fad3b341 header changes 2011-04-14 15:15:59 +02:00
Wenzel Jakob d3ad21f0da chi-square test on the sphere, improved microflake code 2011-04-14 02:46:01 +02:00
Wenzel Jakob 9aa5c13daa cleaned up brent solver 2011-04-13 02:21:21 +02:00
Wenzel Jakob 9baca24e5e microflake sigma-t function 2011-04-12 21:38:44 +02:00
Wenzel Jakob a0d288758b integrated cubature code into Mitsuba 2011-04-12 10:48:34 +02:00
Wenzel Jakob 5a0529c389 OSX build fixes 2011-04-11 11:04:33 +02:00
Wenzel Jakob f807062c8f cleanups 2011-04-11 07:12:14 +02:00
Wenzel Jakob d612e23971 minor improvements 2011-04-10 22:07:08 +02:00
Wenzel Jakob 271a610c4b a few more bugfixes 2011-04-04 12:11:17 +02:00
Wenzel Jakob cd8f6b3dcb ported the heterogeneous volume to the new system 2011-04-04 12:01:14 +02:00
Wenzel Jakob 7baf7ff613 mtsutil crash bugfix 2011-04-04 07:15:02 +02:00
Wenzel Jakob 8933987ebf volumetric path tracer fixed, started working on the heterogeneous medium 2011-04-03 23:41:51 +02:00
Wenzel Jakob a646132c45 cleanups to the grid data source 2011-04-03 14:42:10 +02:00
Wenzel Jakob 3a03e46153 crash bugfix reported by Milos; a few unrelated cleanups 2011-04-03 14:41:21 +02:00
Wenzel Jakob 77bcff3550 better medium integration + a two-sided BRDF adapter 2011-03-29 23:47:20 +02:00
Wenzel Jakob d08a351a6c better OpenMP integration 2011-03-21 14:32:05 +01:00
Wenzel Jakob 7405a77078 various bugfixes 2011-03-15 17:11:49 +01:00
Wenzel Jakob 62cb0f64b1 medium-related changes 2011-03-09 19:06:01 +01:00
Wenzel Jakob d2a0d96f95 OpenMP initialization code 2011-03-04 00:17:43 +01:00
Wenzel Jakob 787548d36c fix mmap warning on win32 2011-03-01 15:21:14 +01:00
Wenzel Jakob 956d26a6ba a bunch of cleanups 2011-02-23 20:45:49 +01:00
Wenzel Jakob df553745c4 A few missing matrix methods 2011-02-03 15:14:43 +01:00
Wenzel Jakob 48ae1f3eae A batch of changes that have piled up:
- Cleaner build system organization (1 SConscript file per directory instead
  of a single huge file)
- Robustness improvements to the KD-tree construction code (now does a better
  job at handling degenerate triangles)
- Switched to an epsilon-free KD-tree traversal loop using Havran's T_{AB}^rec
  algorithm
- Generalization of the KD-tree construction code (now supports plugging in
  arbitrary tree construction heuristics)
- Addition of some utility code (LRU cache, adaptive Gauss-Lobatto
  quadrature, etc.)
- Generic dense matrix class that supports arbitrary dimensions
- Pixel traversal within image blocks now uses a space-filling curve
  ordering
- Added support for several noise functions from PBRT
- Cleanups of various top-level interfaces (Luminaires, Phase functions,
  BSDFs, Participating media, etc.)
- Robustness improvements to the participating media code (faster + now
  does a better job at dielectric boundaries)
- Added a basic tonemapping utility (can be invoked via mtsutil)
2011-02-03 09:15:25 +01:00
Wenzel Jakob a87d3107da bigger scale in memString() 2011-01-12 04:44:47 +01:00
Wenzel Jakob 07bc3a23fe Scheduler: ability to return the number of local workers 2011-01-12 02:07:34 +01:00
Wenzel Jakob 8ec05fa002 clarification comment 2010-12-03 13:01:46 +01:00
Wenzel Jakob 6606e13c5c typo; don't set thread priorities on Linux (it uses dynamic priorities) 2010-12-02 20:44:35 +01:00
Wenzel Jakob 683c5e463d worker priority chooser UI 2010-12-01 22:14:28 +01:00
Wenzel Jakob 04d26f0dae backported a bunch of serious bugfixes from the bidirectional branch 2010-12-01 11:33:11 +01:00
Wenzel Jakob 20f3b7e0dc heterogeneous medium: don't require an orientation field 2010-12-01 01:27:33 +01:00
Wenzel Jakob c2d7903f54 much nicer FP exception system 2010-12-01 00:46:06 +01:00
Wenzel Jakob 7a581340ee win32 bugfixes 2010-11-22 18:24:25 +01:00
Wenzel Jakob df1a3fc3ba got it to compile 2010-11-16 17:20:24 +01:00
Wenzel Jakob 81982c8932 MtsBlend: refresh feature 2010-11-12 15:43:07 +01:00
Wenzel Jakob a5b07f06ab matrices and linear transformations are now stored on the stack 2010-11-12 15:09:37 +01:00
Wenzel Jakob bd69a0fb0b added a basic quaternion data structure 2010-11-12 14:16:47 +01:00
Wenzel Jakob fee7a12934 Make the AABB class more general 2010-11-09 14:45:12 +01:00
Wenzel Jakob f87a6a78a2 renamed isnan function 2010-11-04 23:04:40 +01:00
Wenzel Jakob 22a8a654ad collada importer bugfixes (substituting missing textures) 2010-11-04 02:10:30 +01:00
Wenzel Jakob 41efe48e01 with the fixed ray epsilon issue, sphere intersections can be switched back to single precision 2010-11-03 22:14:26 +01:00
Wenzel Jakob cce9775c0d one more size issue 2010-11-02 02:25:49 +01:00
Wenzel Jakob af27507674 switched object reference counting to atomics 2010-11-01 23:48:28 +01:00
Wenzel Jakob 10abd101f3 support GLUT-style viewer applications 2010-10-21 23:53:40 +02:00
Wenzel Jakob e8d6be6259 further win64 compilation fixes 2010-10-19 21:15:57 +02:00
Wenzel Jakob 36c341f1a7 fixed various win64 compilation problems 2010-10-19 21:04:47 +02:00
Wenzel Jakob d4d34dfd0f windows compilation fixes 2010-10-18 16:44:54 -07:00
Wenzel Jakob 8f86126a14 bring OSX preview-settings up-to-date, exceptions now trap to a debugger if running 2010-10-19 00:47:50 +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 5feb7753d8 collect some more statistics, code for fitting SAH cost constants to empirical measurements 2010-10-12 23:47:15 +02:00
Wenzel Jakob a5736bd8ba lots of bugfixes 2010-10-12 14:51:30 +02:00
Wenzel Jakob ac4fa10d5d nicer statistics 2010-10-11 19:48:52 +02:00
Wenzel Jakob 83958d8f91 clipping now also works 2010-10-10 13:06:16 +02:00
Wenzel Jakob edadfe8096 better statistics, more work on parallelization 2010-10-10 01:09:18 +02:00
Wenzel Jakob 05266a5033 merge with default branch 2010-10-07 18:57:44 +02:00
Wenzel Jakob effb3ebfb0 work on the min-max binning split method 2010-10-07 18:38:06 +02:00
Wenzel Jakob 729ef3d054 fixed a crash caused by the FileResolver initialization on OSX 2010-10-06 14:36:09 +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 d5ab25c289 compilation fixes for libpng 1.4.x 2010-10-05 10:46:12 +00:00
Wenzel Jakob 98b98ddcf0 nicer default path setup 2010-09-30 15:19:20 +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 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 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 9ac6d2c145 Nicer hgignore, forgotten fresolver.cpp file 2010-09-12 11:48:34 +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 4d8cc8d764 nicer snprintf() behavior 2010-09-07 22:24:48 +02:00
Wenzel Jakob 211f17aa98 fix some memory management-related issues 2010-09-05 21:31:49 +02:00
Wenzel Jakob 8486931b30 Nicer testcase framework, eigendecomposition support 2010-09-05 21:17:35 +02:00
Wenzel Jakob d4ae5660cf BMP loading support, material parameter naming more uniform 2010-09-03 15:26:18 +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 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 e2b860610c matrix support 2010-08-31 03:35:45 +02:00
Wenzel Jakob a00438551f collada import of SketchUp scenes improved, still buggy 2010-08-31 02:36:12 +02:00
Wenzel Jakob 02c47237a7 vast collada importer improvements, incomplete bmp loading support 2010-08-31 00:23:34 +02:00
Wenzel Jakob 715a854199 merged with main branch 2010-08-30 21:41:35 +02:00
Wenzel Jakob 2650e9f5cb transparent compression support 2010-08-30 21:40:32 +02:00
Wenzel Jakob a6075d7439 trap when throwing exceptions while the program is being debugged 2010-08-30 11:09:40 +02:00
Wenzel Jakob 723e8d951f fixed obj serialization issues 2010-08-27 15:33:22 +02:00