Commit Graph

1652 Commits (6497f9e9cb005221d0f746b5843df695dbfb8a3d)

Author SHA1 Message Date
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
Edgar Velazquez-Armendariz 381250a0df Add another C99 definition for MSVC, mapping strncasecmp to _strnicmp 2013-01-28 20:46:59 -05:00
Edgar Velazquez-Armendariz 6177d56456 Merge with upstream 2013-01-28 20:28:12 -05:00
Wenzel Jakob 568baf1c89 windows compilation fixes 2013-01-28 17:24:33 -08:00
Edgar Velazquez-Armendariz b2f7093288 Reflect the changes in 3e28c60a38c2 in the CMake build system 2013-01-28 20:14:12 -05:00
Edgar Velazquez-Armendariz 08e6f4cd6a Merge with upstream 2013-01-28 20:12:13 -05:00
Wenzel Jakob 62851d28a4 needed to update xml schema, too 2013-01-28 19:59:46 -05: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 89c1caed9b added fancy annotations to ldrfilm 2013-01-28 17:04:12 -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
Wenzel Jakob 8d1ef9809c merge with Edgar's changes 2013-01-28 14:13:44 -05:00
Edgar Velazquez-Armendariz d49e89fb94 Merge with upstream 2013-01-28 01:57:58 -05:00
Edgar Velazquez-Armendariz 8ca3bbaaab Do not try to log to a null logger (can happen during Thread::staticShutdown) 2013-01-28 01:57:45 -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 948ebe7124 merge 2013-01-28 00:53:42 -05:00
Wenzel Jakob 9824c000fd fixed some invalid conditionals in RoughDiffuse, which kept texturing from working 2013-01-28 00:52:59 -05:00
Wenzel Jakob 2141fce492 got the python plugin to run on OSX without the need to declare DYLD_LIBRARY_PATH 2013-01-28 00:44:53 -05:00
Wenzel Jakob f9733089fd fixed an annoying error message about the 'focalLength' parameter when duplicating the tab of a scene made in Blender 2013-01-27 23:26:00 -05:00
Wenzel Jakob b3bde09b8a merge 2013-01-27 21:11:08 -05:00
Wenzel Jakob 4bc95de8dc BSDF sampling: increased resilience to numerical corner-cases 2013-01-27 21:10:59 -05:00
Wenzel Jakob 1505fd7c02 vector vs point confusion in constvolume.cpp 2013-01-27 20:46:52 -05:00
Wenzel Jakob 5fc2db6387 better error messages for Transform::lookAt() 2013-01-27 20:21:52 -05:00
Wenzel Jakob 1a2580faab some minor cleanups, added a cache flushing mechanism for serialized.cpp 2013-01-27 19:55:52 -05:00
Wenzel Jakob 4897f1d290 removed some trailing spaces 2013-01-27 19:51:14 -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
Wenzel Jakob 82255028d6 merge with Edgar's latest changes 2013-01-27 17:53:08 -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
Edgar Velazquez-Armendariz 986a0fc91e Fix compilation for spectral versions of PyMitsuba 2013-01-26 21:45:09 -05:00
Edgar Velazquez-Armendariz 2fa360036c Check for invalid Thread pointers while logging.
Null pointers to the current thread are a source of seemingly weird bugs which
indicate a more serious problem.
2013-01-26 20:47:17 -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 d1cc20b3ee Proper fix to the fix - octree::build uses iterator-style arguments 2013-01-25 16:26:31 -05:00
Wenzel Jakob f6399ad08c typo 2013-01-25 14:27:31 -05:00
Wenzel Jakob 97f0a28ffb added an optional feature to hide directly visible light sources -- this is convenient for making paper figures etc. where one don't want the environment map to 'bleed' into the foreground objects (see the committed images for an example) 2013-01-24 23:52:10 -05:00
Wenzel Jakob 947ac53df5 don't compute opacity information if we can help it (since this is now potentially quite a bit more expensive) 2013-01-24 21:01:24 -05:00
Wenzel Jakob a721b18740 better computation of the alpha channel when rendering index-matched media 2013-01-24 20:06:58 -05:00
Wenzel Jakob 6021ee09f9 handle some rare/odd cases where a medium surrounds the camera and a distant environment map 2013-01-24 20:06:31 -05:00
Wenzel Jakob 50501fc154 removed icon file extension (apparently should not be specified in .desktop files) 2013-01-24 19:54:02 -05:00
Edgar Velazquez-Armendariz fb857d67e5 Make the stream cache the serialized plugin thread-local 2013-01-24 14:34:23 -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
Edgar Velazquez-Armendariz f824e5861d Merge with upstream 2013-01-23 16:45:27 -05:00