Commit Graph

259 Commits (405c7114fedfe91c367e7cff1a8bddfd93f4c5e5)

Author SHA1 Message Date
Wenzel Jakob 72bd7a04c2 merge (didn't end up needing strncasecmp after all -- sorry Edgar) 2013-01-28 21:47:24 -05:00
Wenzel Jakob a5bbad3ace made annotations more consistent 2013-01-28 21:45:41 -05:00
Edgar Velazquez-Armendariz 443983a28c Fix a warning found by gcc 4.7.2 in Fedora 17 2013-01-28 21:00:24 -05:00
Edgar Velazquez-Armendariz dac7cf679a Removed unused header core/stl.h 2013-01-28 20:50:51 -05:00
Wenzel Jakob 568baf1c89 windows compilation fixes 2013-01-28 17:24:33 -08:00
Wenzel Jakob 511568c846 decided to rename 'atransform' back to 'transform'. added renderings by Geoffrey Irving to demonstrate the instance plugin (with permission) 2013-01-28 19:56:45 -05:00
Wenzel Jakob ddde0f655c finished track.cpp move 2013-01-28 19:25:56 -05:00
Wenzel Jakob 3fb80bc0ce moved animation track class to libcore 2013-01-28 19:24:59 -05:00
Wenzel Jakob 3f638065cf fixed osx typo 2013-01-28 18:50:43 -05:00
Wenzel Jakob 874a392336 merged motion blur branch, updated version 2013-01-28 17:44:47 -05:00
Wenzel Jakob aaa16f129c added OSX support 2013-01-28 16:48:23 -05:00
Wenzel Jakob b36db49600 enhanced customizable rendering statistics 2013-01-28 16:07:25 -05:00
Edgar Velazquez-Armendariz d49e89fb94 Merge with upstream 2013-01-28 01:57:58 -05:00
Edgar Velazquez-Armendariz c52c076364 Also allow TLS to access the dying thread during Thread::staticShutdown 2013-01-28 01:53:40 -05:00
Wenzel Jakob 5fc2db6387 better error messages for Transform::lookAt() 2013-01-27 20:21:52 -05:00
Wenzel Jakob 87183a7534 replaced some std::log/exp calls by the math::fastlog/exp equivalent 2013-01-27 19:50:49 -05:00
Wenzel Jakob 58c61d2959 put back some comments 2013-01-27 18:02:22 -05:00
Edgar Velazquez-Armendariz de7eb79521 Fix warnings detected by MSVC in libcore/bitmap.cpp 2013-01-26 23:35:02 -05:00
Edgar Velazquez-Armendariz 50d596ece7 Merge with upstream 2013-01-26 23:12:34 -05:00
Edgar Velazquez-Armendariz 4f9315ae1a Fix to the TLS fix - deletes the local TLS data in the reverse order of creation
The previous fix also had a conceptual error: it allowed the per-thread map to
be modified concurrently, as the behavior of map::find/map::operator[] is to
insert a new element with that key if it is not found.

Also this new fix uses a recursive mutex (also available in C++11) as the same
thread will aquire the lock during conditions such as destruction, e.g. a TLS
entry querying the current thread for logging as part of its destructor.
2013-01-26 23:08:11 -05:00
Wenzel Jakob 4d75c69d4a proper metadata support for the Bitmap class (mainly for OpenEXR I/O) 2013-01-25 21:12:04 -05:00
Edgar Velazquez-Armendariz 8e372a61b7 Fix a deadlock and improve query performance in TLS.
While cleaning up TLS resources, some destructors might still query for the
thread which is currently being shut down; logging is a very common case.
This patch causes the TLS implementation to use the lock only when the data
has not been created yet, improving performance and fixing that deadlock.
2013-01-24 14:31:55 -05:00
Wenzel Jakob 351890a5cf convenience code for applying color matrices to bitmaps 2013-01-16 01:11:20 -05:00
Wenzel Jakob c0fa27beff bugfix for the previous commit 2013-01-04 13:28:58 -05:00
Wenzel Jakob 4b55f25d5f support for render-time annotations 2013-01-04 13:07:25 -05:00
Wenzel Jakob ab9324c10b merge 2012-12-09 00:28:12 -05:00
Wenzel Jakob 4506e9daf7 more accurate Fresnel reflectance computations involving conductors 2012-12-04 01:09:29 -05:00
Wenzel Jakob b90faa309b minor 2012-11-27 20:21:05 -05:00
Wenzel Jakob d77192ef53 added Warp::intervalToNonuniformTent() sampling function 2012-11-27 18:17:01 -05:00
Wenzel Jakob ebe9d0eafc merge with ev-cmake 2012-11-27 17:40:48 -05:00
Wenzel Jakob eb4a823ead fully switched over to new spline code 2012-11-27 11:47:25 -05:00
Edgar Velazquez-Armendariz f96c87b5ce Add the new spline sources to the CMake build system. 2012-11-27 11:41:30 -05:00
Wenzel Jakob 9708dbb3d6 nicer Catmull-Rom spline evaluation/integration/sampling utility functions -- these will fully replace their predecessors in a future commit 2012-11-27 03:39:09 -05:00
Wenzel Jakob cb31210614 moved associated legendre function implementation 2012-11-04 01:50:58 -05:00
Wenzel Jakob 3881f295d8 added a convenience wrapper to permit direct animation of every type of shape without having to declare instances etc 2012-11-03 02:46:32 -04:00
Wenzel Jakob 0c09791f47 motion blur support (sensors, emitters, and non-deforming objects for now) 2012-11-03 01:52:19 -04:00
Wenzel Jakob f66737cf39 merge 2012-11-02 19:41:04 -04:00
Wenzel Jakob b5f2bc911b work around an issue in the intel C++ compiler on Linux 2012-11-02 11:50:22 -04:00
Wenzel Jakob 3a3ab40d44 some work on removing stl.h 2012-10-27 03:03:28 -04:00
Wenzel Jakob ad29ce0cd9 mept directional light source fixes 2012-10-27 00:58:36 -04:00
Wenzel Jakob 544080e808 some work towards animated transformation support 2012-10-26 02:15:32 -04:00
Wenzel Jakob ce1bbbd0e0 Scheduler::unregisterResource(): act more gracefully if a resource was already unregistered 2012-10-25 11:02:44 -04:00
Wenzel Jakob d7c1ab1191 support for extrapolating values when doing cubic spline interpolation 2012-10-24 23:40:25 -04:00
Wenzel Jakob af96e2420b a few differential geometry fixes, extended TriMesh::samplePosition() so that it also stores the UV coordinates 2012-10-23 10:46:42 -04:00
Wenzel Jakob f1f91c2ebd resolve files case-insensitively on Linux if a case-sensitive search did not succeed (to handle Mitsuba scenes that work perfectly fine on Windows/OSX) 2012-10-22 18:26:55 -04:00
Wenzel Jakob dd97df1368 fixed a typo in Bitmap::tonemapReinhard that caused the batch tonemapper to choke on images with an alpha channel 2012-10-21 02:57:01 -04:00
Wenzel Jakob 5e151f3bac Added similar python plugin improvements for Windows 2012-10-20 18:59:48 -04:00
Wenzel Jakob d161aa6490 futher Linux Python auto-configuration improvements 2012-10-20 18:08:36 -04:00
Wenzel Jakob 131ae05f3e OSX-specific python plugin improvements; minor cleanups 2012-10-20 17:59:38 -04:00
Wenzel Jakob efe33e9212 OCD: remove trailing spaces from all files 2012-10-20 14:04:13 -04:00