Commit Graph

1191 Commits (464da09474ddadd09076ba34d784b0a252dd5961)

Author SHA1 Message Date
Wenzel Jakob e8937d3a47 regression fix for a mtssrv exception (occurs upon disconnection events) 2013-02-01 13:58:51 -05:00
Wenzel Jakob 49fb2d5028 allow 'g' to vary across spectral channels 2013-02-01 11:31:58 -05:00
Wenzel Jakob c4045a1066 further restricted roughness range to prevent numerical overflow issues on single precision 2013-01-31 21:19:28 -05:00
Wenzel Jakob 47c175a598 fixed roughcoating preview as well, unified code 2013-01-31 21:04:49 -05:00
Wenzel Jakob 473f75ff6f rewrote photon mapper lobe selection logic yet once more -- I hope I got it right this time.. 2013-01-31 20:53:57 -05:00
Wenzel Jakob 47ef9e2249 smooth coating HW shader fixes 2013-01-31 20:53:17 -05:00
Wenzel Jakob 920aedafb8 minor restructuring 2013-01-31 19:16:28 -05:00
Wenzel Jakob 38002c8450 had to dumb this down a bit so that it compiles with GCC 4.2.1/OSX 2013-01-31 01:03:40 -05:00
Wenzel Jakob e8dbfbed75 symlinks_install: don't update .bashrc / .zshrc / .cshrc on OSX 2013-01-29 17:16:20 -05:00
Wenzel Jakob 405c7114fe removed unnecessary StaticObject call 2013-01-29 11:43:17 -08:00
Wenzel Jakob 52af32c274 last-minute documentation updates 2013-01-29 14:27:43 -05:00
Wenzel Jakob 6ef30de092 added a cube shape, relaxed some of the requirements regarding uniform scales 2013-01-28 23:48:32 -05:00
Wenzel Jakob f22d130128 aboutdlg.cpp: automatically substitute current MTS_YEAR 2013-01-28 22:16:26 -05:00
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
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
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
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 9824c000fd fixed some invalid conditionals in RoughDiffuse, which kept texturing from working 2013-01-28 00:52:59 -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 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
Edgar Velazquez-Armendariz 986a0fc91e Fix compilation for spectral versions of PyMitsuba 2013-01-26 21:45:09 -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
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 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
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
Edgar Velazquez-Armendariz 2ef0dddd65 First pass at keeping a file cache for loading serialized meshes.
In this version can safely load all meshes serially only.
2013-01-23 16:45:00 -05:00
Edgar Velazquez-Armendariz e10957c4c2 Factorized a function to read the header of compressed meshes. 2013-01-23 15:39:34 -05:00
Edgar Velazquez-Armendariz 2715f87613 Factorized funtions to read the eof offset dictionary of serialized trimeshes 2013-01-22 22:25:39 -05:00
Edgar Velazquez-Armendariz e82a60e136 Fix a couple of out-of-bounds bugs. 2013-01-22 21:50:38 -05:00
Wenzel Jakob 0f81f05194 further robustness improvements 2013-01-22 20:39:39 -05:00
Wenzel Jakob 93ed76211e make intersection routines more robust vs NaNs 2013-01-22 19:33:08 -05:00
Edgar Velazquez-Armendariz 522fc86225 MSVC defines std::greater<T> in <functional> 2013-01-21 17:56:18 -05:00
Edgar Velazquez-Armendariz e5bf7ef172 Fixes for the new font-related functions. 2013-01-21 17:55:51 -05:00
Edgar Velazquez-Armendariz 40cfc60ee7 Merge with upstream 2013-01-21 17:40:21 -05:00
Wenzel Jakob 96ff02d4af missing export_values() 2013-01-17 00:50:11 -05:00
Wenzel Jakob 6925560419 typo fix 2013-01-17 00:48:05 -05:00
Wenzel Jakob 7f4ec5eaba improved python Bitmap bindings some more 2013-01-17 00:45:22 -05:00
Wenzel Jakob 3139f7e4ea added applyMatrix() call to python 2013-01-17 00:27:39 -05:00
Wenzel Jakob 351890a5cf convenience code for applying color matrices to bitmaps 2013-01-16 01:11:20 -05:00
Wenzel Jakob c5747d3d69 fixed Spectrum & TSpectrum-related handling in python 2013-01-14 16:08:46 -05:00
Wenzel Jakob 4d9d668a58 merge 2013-01-09 22:37:28 -05:00
Wenzel Jakob 416f4fb6ab fixed a MI issue involving direct lighting computations through index-matched medium transitions 2013-01-09 22:37:07 -05:00
Wenzel Jakob 79e019612a changed Bitmap::write bindings in python 2013-01-09 12:50:03 -05:00
Wenzel Jakob 2ec6246e10 fixed typo 2013-01-04 14:48:29 -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 fd85716e21 allow querying the bitmap texture underlying a 'Texture' object (if any) 2013-01-04 09:05:53 -05:00
Wenzel Jakob c21e804747 some documentation improvements 2012-12-10 15:27:43 -05:00
Wenzel Jakob 87d3f207ae moc does not always appear to understand slots with ifdefs -- make it a bit easier to compile 2012-12-09 01:03:29 -05:00
Wenzel Jakob ed80098254 fixed include paths 2012-12-09 01:02:59 -05:00
Wenzel Jakob 3a1fe7481e some SCons-related improvements 2012-12-09 00:57:27 -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
Edgar Velazquez-Armendariz 4d93f69899 Merge with default 2012-12-03 14:04:10 -05:00
Edgar Velazquez-Armendariz aa4f3d7a3b Fix a minor warning about unused variables. 2012-12-03 14:03:41 -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
Edgar Velazquez-Armendariz 496be9d089 Merge with default 2012-11-27 11:35:52 -05:00
Edgar Velazquez-Armendariz a3a067688a Use the static QFileDialog function when locating a missing import resource. 2012-11-27 11:32:33 -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
Edgar Velazquez-Armendariz e50d4dd189 Use the QFileDialog static functions in the import scene dialog 2012-11-26 19:43:48 -05:00
Edgar Velazquez-Armendariz f078daa1be Use the static functions on 'Save scene as'. 2012-11-26 18:17:02 -05:00
Edgar Velazquez-Armendariz 1cf94e546a Use the Qt static file dialogs only on Windows.
Windows needs to use the static file dialog function to show the native GUI,
but OSX needs to use the full functions to display a sheet in a native-like way;
Linux seems to behave the same on both cases.
2012-11-26 13:29:42 -05:00
Edgar Velazquez-Armendariz f7bd2117fa Merge with default 2012-11-26 12:10:19 -05:00
Wenzel Jakob 69e019bf60 photon mapper: don't limit the specular photon depth 2012-11-15 02:05:25 -05:00
Wenzel Jakob 66d10b1bc4 fixed some photon mapper issues when dealing with participating media and index-matched medium transitions 2012-11-15 01:48:27 -05:00
Wenzel Jakob fb7fe6a8e1 prevent excessive MLT/ERPT error messages due to roundoff errors 2012-11-15 00:52:14 -05:00
Wenzel Jakob 0a441e78a8 First initialize all dipole point clouds separately, THEN allow querying them (reported by Jean-Dominique Gascuel) 2012-11-14 22:39:52 -05:00
Wenzel Jakob 5bfb27ea41 increased temporary storage for intersections (possibly revert this later on), clipping support for removing unwanted animation segments 2012-11-07 23:11:55 -05:00
Wenzel Jakob dbf62f906b support for PLY files containing quadrilaterals. handle a typo in files that seems to be common (a property list named 'vertex_index' instead of 'vertex_indices') 2012-11-07 21:54:39 -05:00
Wenzel Jakob 5170893195 fixed animation support for the 'thinlens' plugin 2012-11-05 22:48:12 -05:00
Wenzel Jakob f9d42ff3b2 minor optimization (save a few square roots here and there) 2012-11-04 18:02:39 -05:00