Commit Graph

1560 Commits (49737c063f7a3e3c4e97bb6925d78637984539a9)

Author SHA1 Message Date
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 9daefeb800 started to rewrite the heightfield code from scratch 2013-01-04 09:04:24 -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
Wenzel Jakob 06d6b96c6e removed an unused script 2012-11-04 12:18:04 -05:00
Wenzel Jakob cb31210614 moved associated legendre function implementation 2012-11-04 01:50:58 -05:00
Wenzel Jakob 9d424186e3 some work on the deformable shape plugin 2012-11-03 04:18:01 -04: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 8b61c6d1ca fixed instance normal derivative computation so that it works for any kind of linear transformation 2012-11-01 22:21:50 -04:00
Wenzel Jakob 28120678ac sun/sunsky: allow turning the sun into a directional light source (optional) 2012-11-01 20:32:44 -04:00
Wenzel Jakob bc42717371 symlinks_install (OSX): update library search paths in shell scripts for easier python support 2012-10-31 00:23:04 -04:00
Edgar Velazquez-Armendariz 0dfbf7ee47 Merge with default 2012-10-30 18:14:23 -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 3e689d7ec7 Cylinder::getNormalDerivative fix 2012-10-26 02:16:14 -04:00
Wenzel Jakob 544080e808 some work towards animated transformation support 2012-10-26 02:15:32 -04:00
Wenzel Jakob efc4ba1e27 merge 2012-10-25 12:37:40 -04:00
Wenzel Jakob 0434ce7779 TriMesh::computeUVTangents(): be a bit less noisy.. 2012-10-25 12:36:34 -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 75cf06e8b2 fixing 2-stage MLT, part 2 2012-10-25 02:25:28 -04:00
Wenzel Jakob d7c1ab1191 support for extrapolating values when doing cubic spline interpolation 2012-10-24 23:40:25 -04:00
Wenzel Jakob 3885a4c6f9 new branch for motion blur and spacetime kd-trees 2012-10-23 12:00:52 -04:00
Wenzel Jakob 3d23857765 bluenoise: avoid a division by zero issue 2012-10-23 10:52:07 -04:00
Wenzel Jakob d57a3f907f merge 2012-10-23 10:47:54 -04:00
Wenzel Jakob 640ae19f34 fixing 2-stage MLT, part 1 2012-10-23 10:47:46 -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 4f7fda27f9 removed an unfortunate remnmant from an old debugging session 2012-10-22 23:48:54 -04:00
Wenzel Jakob eb416b6c1c added a 'none' conductor profile which has 100% reflectance regardless of the angle of incidence 2012-10-22 22:41:10 -04:00
Wenzel Jakob 4a86baac4e fixed manifold exploration for point light sources and cylinders (cardioid test scene works again..) 2012-10-22 22:02:35 -04:00
Wenzel Jakob 06b0562154 new branch to implement displacements based on work by Milos. Step 1: heightfields! 2012-10-22 19:30:47 -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 83f0109f84 minor interactive documentation tweak 2012-10-22 00:10:09 -04:00
Wenzel Jakob 6137c21db5 minor 2012-10-22 00:02:28 -04:00
Wenzel Jakob 3a21619eec volpath: reduced variance when dealing with index-matched medium transitions (perform luminaire and BSDF sampling connections through an arbitrary chain of ENull interactions) 2012-10-22 00:01:52 -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 48e92bf900 added material presets by Narasimhan et al. 2012-10-21 00:20:24 -04:00
Wenzel Jakob 6b01d20b10 TriMesh python bindings 2012-10-20 20:34:17 -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 85edb73dee typo 2012-10-20 17:10:57 -04:00
Wenzel Jakob 43e6614d05 python plugin improvements (added Shape support, auto-detect the plugin path on Linux) 2012-10-20 16:19:16 -04:00
Wenzel Jakob efe33e9212 OCD: remove trailing spaces from all files 2012-10-20 14:04:13 -04:00
Wenzel Jakob ac8c7ad6d7 volpath_simple: tweaked identifier and comments to make the previous commit a bit more understandable 2012-10-20 12:05:23 -04:00
Wenzel Jakob 8e2bfb7340 volpath_simple: fixed a minor logic error that could cause errors in light paths that simultaneously involve multiple index-matched and index-mismatched medium transitions 2012-10-20 01:42:50 -04:00
Edgar Velazquez-Armendariz fd4e94092a Merge with default 2012-10-18 15:56:45 -04:00
Edgar Velazquez-Armendariz 5a423d124c Added Unicode support for the Windows command line tools. 2012-10-18 15:14:11 -04:00
Wenzel Jakob b36ac39b36 documentation updates, continued 2012-10-18 14:58:38 -04:00
Wenzel Jakob 7a81c2ae4c disable adjoint BSDF for shading normals in the particle tracer, reasoning given in the comment 2012-10-18 12:39:13 -04:00
Wenzel Jakob ae3f196dd1 more documentation updates 2012-10-18 12:31:23 -04:00
Wenzel Jakob 9c4b1d9a1c GUI documentation update pass, part 1 2012-10-18 11:28:07 -04:00
Wenzel Jakob c7892f5bdc some fixes to the cylinder shape concerning the 'flipNormals' parameter 2012-10-18 11:05:58 -04:00
Wenzel Jakob 1f1b58adf8 Fixed a corner case in the sobol sampler which could cause NaNs etc 2012-10-17 23:16:13 -07:00
Wenzel Jakob 423ffd59dd a few minor robustness improvements 2012-10-17 22:24:44 -07:00
Wenzel Jakob 0fff79af57 OBJ loader robustness improvements 2012-10-17 18:39:53 -04:00
Wenzel Jakob b8d4aeb524 more serialization fixes 2012-10-16 13:24:46 -04:00
Wenzel Jakob eabc3f17bc fixed the dipole serialization code 2012-10-16 11:52:24 -04:00
Wenzel Jakob e23e84b81f handle unicode scene loading error messages 2012-10-14 20:54:36 -07:00
Wenzel Jakob a6f17ff0a6 double precision compilation fix 2012-10-13 19:59:12 -04:00
Wenzel Jakob 88c179ab82 fixed the realtime preview for the case where a subset of objects having the same material uses face normals 2012-10-12 19:18:36 -04:00
Wenzel Jakob 4d2ff81b1a fixed a rare corner case in the vMF sampling code 2012-10-12 18:54:57 -04:00
Wenzel Jakob e1ff84e0a9 minor robustness improvements 2012-10-12 18:25:22 -04:00
Edgar Velazquez-Armendariz 2671205bcb Remove unnecessary Xerces-C namespace imports/inlcudes. 2012-10-12 18:18:56 -04:00
Edgar Velazquez-Armendariz a26272344c Merge with default 2012-10-12 17:54:44 -04:00
Edgar Velazquez-Armendariz 8d62ad3203 Use the static functions of QFileDialog to export and image in mtsgui
The path of the selected image is stored in the setting variable 'exportFileDir'
thus allowing separate directories for openning files and exporting images.
2012-10-12 17:49:15 -04:00
Edgar Velazquez-Armendariz d9fb221c93 More robust calculation of work units for mlt and pssmlt plugins.
Fixes a warning while checking for possible overflows from size_t to int. It
also uses an all-integer formulation of (int)ceil(x / (float)n) === (x+n-1)/n
2012-10-12 16:42:56 -04:00
Wenzel Jakob 6aa7534d67 had forgotten about the phong model, other minor tweaks 2012-10-12 13:07:14 -04:00
Wenzel Jakob eb423bf9f9 fixed a corner case in DiscreteDistribution::sample 2012-10-12 12:57:11 -04:00
Wenzel Jakob aec0c6a984 implemented getRoughness() for the remainder of BSDFs 2012-10-12 11:49:53 -04:00
Wenzel Jakob cf5bf411e4 implemented getRoughness() for a few more BSDFs 2012-10-12 00:25:11 -04:00
Wenzel Jakob d5b944d6a3 bugfix to make Yoran's scene render correctly 2012-10-12 00:18:21 -04:00
Wenzel Jakob 1137e8b53c gracefully handle cases where the sun points straight down. subsurface now works properly when specified as a child of the scene node 2012-10-11 18:20:22 -04:00
Wenzel Jakob 426015756c better handling of appender streams that couldn't be created (e.g. due to lack of permissions) 2012-10-10 19:59:05 -07:00
Wenzel Jakob f6919a34c1 avoid some argument cast warnings on windows 2012-10-10 20:17:07 -04:00
Wenzel Jakob 0b9e2172a7 fixed a minor regression in PSSMLT 2012-10-10 11:55:35 -04:00
Wenzel Jakob 68c265cfdc unicode readyness patch 2012-10-08 23:02:27 -07:00
Wenzel Jakob 6b193b1677 updated copyright year 2012-10-08 20:45:12 -07:00
Wenzel Jakob 23ba42ae15 avoid a weird GL warning on OSX 2012-10-08 23:11:39 -04:00
Wenzel Jakob 09283c9f44 had a change of mind: issue a warning when encountering negative values, but then just clamp them and continue rendering (rather than failing) 2012-10-08 22:38:34 -04:00
Wenzel Jakob c9294d81f7 be a bit more strict about negative values in textures/environment maps 2012-10-08 22:17:23 -04:00
Wenzel Jakob 527b661280 collada + obj importer robustness improvements 2012-10-08 21:40:37 -04:00
Edgar Velazquez-Armendariz 13f9954824 Merge with default 2012-10-08 15:46:21 -04:00
Edgar Velazquez-Armendariz ad63888153 Use the static functions of QFileDialog to open a file in mtsgui
The path of the selected files is stored in the setting variable 'fileDir'. This
was done in order to use the OS native file dialog; the Qt-based one was
terribly outdated on Windows. This is the first commit in the way to replace
all file-open dialogs in mtsgui.
2012-10-08 15:45:40 -04:00
Wenzel Jakob c619846fd7 Updated acknowledgments. At this point, Mitsuba contains no more code written by Tom Kazimiers. 2012-10-07 19:04:48 -07:00
Wenzel Jakob 8ae43d8d04 minor robustness improvements, fixed some string encodings problem 2012-10-07 18:22:24 -07:00
Wenzel Jakob 80a0409c79 minor (windows build fix, plus avoid some potential integer division by zero errors that showed up in crash reports) 2012-10-07 17:20:16 -07:00
Wenzel Jakob db0130a1de fixed an issue where sun and sky interpreted the combination of a 'toWorld' transform and 'sunDirection' differently, causing misalignment. 2012-10-07 20:13:06 -04:00
Wenzel Jakob 4923e3951e fixed a few more fs::path string handling-related issues 2012-10-07 19:35:50 -04:00
Wenzel Jakob feb303d639 fixed a photonmapper regression involving environment maps 2012-10-06 23:49:12 -04:00
Wenzel Jakob d11914fdc1 fixed a potential crash issue in the photon mapper 2012-10-06 15:02:38 -04:00
Wenzel Jakob d15000d4db Handle 'subsurface' plugins specified directly following the 'scene' tag 2012-10-06 13:10:52 -04:00
Wenzel Jakob 0705019528 bidirectional abstraction layer now correctly works with the 'mask' plugin 2012-10-06 12:18:12 -04:00
Edgar Velazquez-Armendariz 17da34eb15 Fix minor int to float downcasting warnings. 2012-10-05 01:42:49 -04:00
Wenzel Jakob 262308b9b9 Rectangle::getSurfaceArea() was wrong 2012-10-05 00:24:15 -04:00
Wenzel Jakob 9318ac71fb fix a potential build failure with MSVC++ 2012-10-04 10:06:38 -04:00
Wenzel Jakob 652b3b169a russian roulette was not properly started in BDPT in some cases 2012-10-03 19:54:56 -04:00
Wenzel Jakob 1947b6f884 merge with Edgar's latest changes 2012-10-03 19:37:33 -04:00
Wenzel Jakob d116214dd1 added the 'flipNormals' parameter to the cylinder for consistency 2012-10-03 19:07:15 -04:00
Edgar Velazquez-Armendariz 5f06699361 Fix a ridiculous error with Windows XP. 2012-10-03 15:24:39 -04:00
Edgar Velazquez-Armendariz 3d56c61b16 Next pass of improved Unicode support. 2012-10-03 00:43:12 -04:00
Edgar Velazquez-Armendariz 19f5eb1c86 First pass at improving Unicode support.
Uses the fact that boost::filesystem::path v3 uses wchar_t on Windows, which
is binary-compatible with the internal representation of QString (unicode16).
Not all the code paths have been tested yet, particularly in mtsgui.
2012-10-02 20:53:27 -04:00
Wenzel Jakob 874e1fa086 reverted previous change, which introduced a regression 2012-10-02 18:21:10 -04:00
Wenzel Jakob 72f93cf39c bugfixes for some potential crash causes 2012-10-02 17:55:37 -04:00
Wenzel Jakob 28cc078b73 gaaah 2012-10-02 17:36:27 -04:00
Edgar Velazquez-Armendariz 5a52b2f7ef Use the Unicode function to load plugins on Windows.
In boost::filesystem v3 paths on windows are natively Unicode. This avoids
unnecessary encoding conversions by using the internal native representation of
boost::filesystem::path
2012-10-02 17:30:55 -04:00
Wenzel Jakob 17ea59e43f argument size should be specified in TCHARs according to MSDN 2012-10-02 17:21:35 -04:00
Edgar Velazquez-Armendariz 1a59975481 Workaround for using PCH with the Ninja generator for mtsimport 2012-10-02 15:38:49 -04:00
Wenzel Jakob de9f47ce5a merge 2012-10-02 14:38:29 -04:00
Edgar Velazquez-Armendariz 3a29f9bbe2 Support FP exception functions in OS X even is SSE is not enabled 2012-10-02 14:23:55 -04:00
Edgar Velazquez-Armendariz 4b2e9c3292 Fix a compilation problem in spectral mode 2012-10-02 12:54:18 -04:00
Wenzel Jakob f69b226d97 potential fix for the '/' issue on windows 2012-10-02 10:25:02 -04:00
Wenzel Jakob 9dabb85b67 whoops, the last commit broke compilation on Linux 2012-10-01 01:00:50 -04:00
Wenzel Jakob b83596accd more MacOS-related OpenMP bugfixes 2012-10-01 00:55:10 -04:00
Wenzel Jakob b7d6fc7dba omp_get_max_threads still occasionally causes crashes even in binaries compiled with icl.. committing a workaround 2012-09-30 22:46:12 -04:00
Wenzel Jakob 8f9a325a2d linker fix 2012-09-30 22:21:52 -04:00
Edgar Velazquez-Armendariz 1f9ef5bb3f Merge with default 2012-10-01 15:14:25 -04:00
Wenzel Jakob 3a1e890a55 linker fix 2012-09-30 22:21:52 -04:00
Wenzel Jakob fa8b555d49 added teaser renderings from the manifold paper to the ERPT/MEPT documentation 2012-09-30 18:56:30 -04:00
Wenzel Jakob c8b9ef4208 'POSIX Threads for WIN32' is not used by Mitsuba anymore 2012-09-30 17:52:38 -04:00
Wenzel Jakob 0edfcfbc89 updated acknowledgments, finished ERPT documentation, added an extra check to suppress some NaNs 2012-09-30 17:47:20 -04:00
Wenzel Jakob f17010e1f1 ocd 2012-09-30 04:23:54 -04:00
Wenzel Jakob 91b9668aa0 documentation improvements, some subtle gui improvements, revived MEMLT 2012-09-30 03:40:18 -04:00
Wenzel Jakob d83a7bae52 MLT documentation improvements 2012-09-30 00:34:29 -04:00
Wenzel Jakob 8f25f1ee46 finished PSSMLT documentation 2012-09-28 22:42:09 -04:00
Wenzel Jakob 35df0e21ef icon and documentation update 2012-09-28 22:36:29 -04:00
Wenzel Jakob f3b0d060b2 added a figure to describe BDPT 2012-09-28 20:58:52 -04:00
Wenzel Jakob 07b5a8d203 merge 2012-09-28 20:55:12 -04:00
Wenzel Jakob f31ebc3fe6 some work on the documentation 2012-09-28 20:55:01 -04:00
Edgar Velazquez-Armendariz 7b91595afb Set up the QCoreApplication information inside the custom class constructor. 2012-09-28 17:41:25 -04:00
Edgar Velazquez-Armendariz 3a53f4b45d Specify the organizacion, domain and app name at the top QCoreApplication level.
This way it is possible to create instances of QSettings using the default
constructor while using the right information. This also allows a single point
to change the application information in the future.
2012-09-28 15:40:43 -04:00
Wenzel Jakob 1d8d2e0304 forgot one 2012-09-27 23:02:54 -07:00
Wenzel Jakob 15ca0811a0 fixed a few boost::filesystem string issues 2012-09-27 23:00:45 -07:00
Wenzel Jakob cb7d958f86 oops, one icon was in the wrong place 2012-09-27 20:57:22 -04:00
Wenzel Jakob d714d7712a added a few missing icons 2012-09-27 20:54:22 -04:00
Wenzel Jakob c1d9fd195f a few minor tweaks to get things to compile with XE Composer 2013 2012-09-27 17:19:57 -07:00
Wenzel Jakob 35da602d4e The epic 0.4.0 merge of the bidirectional branch -- sorry not to do this in smaller batches, but doing so would have been an incredible amount of work. A through description of the changes will be made available on the blog this week. 2012-09-27 12:43:51 -04:00
Wenzel Jakob e2de257e84 bugfix in roughcoating 2012-07-06 21:03:13 +12:00
Wenzel Jakob 71bbc7829d python binding bugfix 2012-06-14 22:26:37 +12:00
Wenzel Jakob 5c5c4ec5fb Hair robustness improvement when fancy clipping is enabled 2012-06-04 22:51:54 +12:00
Wenzel Jakob 8c8d53d884 bugfixes to permit compiling the renderer in double precision 2012-06-04 21:33:47 +12:00
Wenzel Jakob 98ea89edfe a more user-friendly error message 2012-05-21 22:31:09 +12:00
Wenzel Jakob dfff7eb01d proper normalization for the Irawan-Marschner model 2012-05-11 00:58:27 +02:00
Wenzel Jakob 7f0c9f445f merge 2012-05-05 11:41:34 +02:00
Wenzel Jakob 854cd049e7 added a normalization feature 2012-05-04 23:54:45 -04:00
Wenzel Jakob 5332cd5941 merge 2012-04-25 17:56:05 -04:00
Wenzel Jakob a62d395874 default to 1 2012-04-25 17:55:38 -04:00
Wenzel Jakob 6336e76d43 minor comment 2012-04-25 17:52:42 -04:00
Wenzel Jakob 42b4274428 merge 2012-04-25 17:33:32 -04:00
Wenzel Jakob b414522eb8 hopefully (?) got rid of some FP rounding issues 2012-04-25 17:32:39 -04:00
Wenzel Jakob 2f553660c4 added support for '-D' parameter in mtsgui 2012-04-25 00:48:30 -04:00
Wenzel Jakob 5f86f4cdc8 got rid of old crash reporter code 2012-04-24 23:56:37 -04:00
Wenzel Jakob d7066893c8 do string replacements in the right order 2012-04-24 23:55:28 -04:00
Wenzel Jakob f6c999525f a shader for the irawan model 2012-04-23 18:19:14 -04:00
Wenzel Jakob 3ec095383f fixed an instance bug reported by oliver rouiller 2012-04-19 12:14:11 -04:00
Wenzel Jakob 8a0b9a4530 handle envmap luminaires in ppm/sppm 2012-04-18 11:59:45 -04:00
Wenzel Jakob 8f623c7fc6 twosided plugin now supports having a different BRDF on each side 2012-04-14 13:39:39 -04:00
Wenzel Jakob 6089c1d52c documentation updates 2012-04-13 14:15:23 -04:00
Wenzel Jakob 5733876bbb merge 2012-04-08 20:11:01 -04:00
Wenzel Jakob 9f8307291a bugfixes to minor issues reported by Sean Bell 2012-04-08 20:10:48 -04:00
Wenzel Jakob 4c3b1d0014 minor improvements to mmap.cpp 2012-03-26 12:51:55 -04:00
Wenzel Jakob cdf9b2c517 flip normals vertically in OBJ files 2012-03-03 12:33:06 -05:00
Wenzel Jakob 74d1ab5bf7 performance improvements for the hair intersection shape 2012-01-25 17:27:27 -05:00
Wenzel Jakob d18ea5bce0 documentation updates 2012-01-19 19:50:45 -05:00
Wenzel Jakob baa06cdad0 compilation fix for double precision 2012-01-07 19:04:00 -05:00
Wenzel Jakob 47ad782273 added a linear blend BSDF that can handle textures 2012-01-07 18:46:33 -05:00
Wenzel Jakob 63e629c106 race condition fix in wireframe.cpp 2011-12-30 22:18:33 +01:00
Wenzel Jakob e0a7438495 support for unmanaged threads (e.g. started from python) 2011-12-09 16:28:14 -05:00
Wenzel Jakob d0795bc2a2 some more debug info in gridvolume.cpp 2011-12-03 13:10:34 -05:00
Wenzel Jakob@Feynman.redrover.cornell.edu bc17d96852 typo in preprocessor directive 2011-11-22 12:50:21 -05:00
Wenzel Jakob 31a01c957c wireframe patch 2011-11-20 00:08:26 -05:00
Wenzel Jakob 3e0e3cd757 wireframe improvements 2011-11-11 12:09:11 -05:00
Wenzel Jakob 7328637c54 the wireframe texture now tries to automatically estimate a good line width 2011-11-08 18:33:41 -05:00
Wenzel Jakob 45b93d62be added support for wireframe rendering 2011-11-08 17:54:38 -05:00
Wenzel Jakob 32d5af0cd4 fixed a serious bug in ConditionVariable::wait(int ms) and got rid of some GUI deadlocks 2011-10-20 19:02:59 -04:00
Wenzel Jakob 04c0351d8a deadlock issues, part 1 2011-10-20 15:22:29 -04:00
Wenzel Jakob 7ec713347f GUI crash bugfix 2011-10-16 03:22:48 -04:00
Wenzel Jakob 7f71397b82 OSX build fix 2011-10-15 01:21:51 -04:00
Wenzel Jakob 46541e42d8 path tracer docs 2011-10-03 00:53:25 -04:00
Wenzel Jakob 137084f24f documentation for the direct illumination integrator 2011-10-02 23:11:24 -04:00
Wenzel Jakob e31e0a15ad merge 2011-09-21 18:30:08 -04:00
Wenzel Jakob 4c11979885 minor tweaks 2011-09-21 15:49:40 -04:00
Wenzel Jakob 30a93f4bbc texturable specular reflectance for coating + roughcoating 2011-09-19 19:19:00 -04:00
Wenzel Jakob 2b9057cf64 merge 2011-09-19 18:28:37 -04:00
Wenzel Jakob 021217abb9 OpenMP/Win32 bugfixes 2011-09-19 18:27:36 -04:00
Wenzel Jakob 474d90c43e windows compilation fix 2011-09-18 01:05:28 -04:00
Wenzel Jakob 1a731394c8 fixed rough coating, renamed sssbrdf -> rmbrdf to avoid further confusion 2011-09-17 22:44:07 -04:00
Wenzel Jakob 45d3be5ec5 rough plastic documentation is done.. 2011-09-17 21:28:43 -04:00
Wenzel Jakob 1852d18833 roughplastic documentation updates 2011-09-17 20:27:21 -04:00
Wenzel Jakob 07c94672ac plastic documentation tweaks 2011-09-17 19:37:41 -04:00
Wenzel Jakob f5bde3beb6 smoothplastic doc updates 2011-09-17 19:29:48 -04:00
Wenzel Jakob 8a1ffc211b documentation updates 2011-09-17 18:46:11 -04:00
Wenzel Jakob 03264f9913 got the rough plastic material to work properly again 2011-09-17 17:07:40 -04:00
Wenzel Jakob 4cd971e274 a few fixes to plastic and roughplastic 2011-09-17 15:47:01 -04:00
Wenzel Jakob 0df346f604 a few structural improvements to the mipmap & texture classes 2011-09-17 15:32:46 -04:00
Wenzel Jakob 15e133d52f it compiles again 2011-09-17 02:18:10 -04:00
Wenzel Jakob 538dd6f89f added precomputed data and code to efficiently evaluate the rough transmittance through a microfacet surface 2011-09-17 01:46:19 -04:00
Wenzel Jakob 14ce675ebb medium handling fixes in photonmapper.cpp 2011-09-15 14:03:45 -04:00
Wenzel Jakob 94ea62495c documentation updates, finished the disk shape 2011-09-14 16:07:02 -04:00
Wenzel Jakob 38b0f38a1d disk intersection shape, crash bugfix 2011-09-14 14:28:26 -04:00
Wenzel Jakob 31fc314882 removed a warning 2011-09-14 14:14:24 -04:00
Wenzel Jakob 646f2b6a98 don't recompile the entire renderer just because the version number changed 2011-09-14 14:12:22 -04:00
Wenzel Jakob e47ffcc3a7 store the complete path of recent files 2011-09-14 11:48:56 -04:00
Wenzel Jakob 39b16c5234 better mtsgui behavior with multi-screen setups 2011-09-14 11:39:25 -04:00
Wenzel Jakob 14b65e4d94 added documentation for the rectangle shape 2011-09-14 02:05:00 -04:00
Wenzel Jakob 1dc823094e VPL renderer light leak bugfix 2011-09-14 01:30:14 -04:00
Wenzel Jakob a42d5d620a trimesh generation for rectangle, better trimesh generation for sphere 2011-09-14 01:24:58 -04:00
Wenzel Jakob 2303240218 fixed UV coordinates 2011-09-13 20:47:50 -04:00
Wenzel Jakob e73fc382c3 more work on the rectangle intersection shape 2011-09-12 21:06:06 -04:00
Wenzel Jakob df34877fc6 merge 2011-09-12 17:58:04 -04:00
Wenzel Jakob e6f3a01246 added a skeleton for a rectangle intersection shape 2011-09-12 17:57:53 -04:00
Wenzel Jakob df9adc5b99 fixed a typo 2011-09-12 17:50:16 -04:00
Wenzel Jakob 37a44865e3 fix serious mtsgui save-related bug that could destroy the scene. This happened when saving from a cloned tab. 2011-09-12 16:09:40 -04:00
Wenzel Jakob 106ef46287 log a bit more information about the running system 2011-09-10 15:07:04 -04:00
Wenzel Jakob ba41a48dbf serialization bugfix 2011-09-10 13:40:09 -04:00
Wenzel Jakob 999540bfcf fix exp/log performance-related issues on Linux/x86_64 2011-09-09 16:53:36 -04:00
Wenzel Jakob 56cf1882fd fixed the BRE to work with the new kdtree implementation 2011-09-09 16:01:13 -04:00
Wenzel Jakob 320fe5bc9f fixed a serious multithreading bug that affected the construction of photon maps with QMC samplers 2011-09-09 14:29:07 -04:00
Wenzel Jakob 7ee462ce5c documentation updates 2011-09-09 12:16:50 -04:00
Wenzel Jakob add4b917e9 removed oldplastic 2011-09-08 19:51:23 -04:00
Wenzel Jakob 4ad2e7582c nicer heterogeneous documentation 2011-09-08 19:48:30 -04:00
Wenzel Jakob 12607b1593 merge 2011-09-08 11:43:34 -04:00
Wenzel Jakob 2e334d9eb4 fixed an instance bug that occurs in conjunction with analytic shapes 2011-09-08 11:43:23 -04:00
Wenzel Jakob 2b3269b86d wording 2011-09-07 23:27:12 -04:00
Wenzel Jakob cda2bc02b9 plastic material updates 2011-09-07 17:01:29 -04:00
Wenzel Jakob 3f8b9ac6dc better plastic documentation 2011-09-07 16:07:50 -04:00
Wenzel Jakob a16b74eb0f switched to a more realistic plastic material that accounts for internal scattering 2011-09-07 09:40:57 -04:00
Wenzel Jakob 2931e0dd37 cleanups 2011-09-07 00:42:13 -04:00
Wenzel Jakob 213e550e2f added a function for computing the diffuse fresnel reflectance (aka Fdr) 2011-09-07 00:35:02 -04:00
Wenzel Jakob 1a8d3b096e added an API function for the diffuse fresnel reflectance 2011-09-06 19:31:53 -04:00
Wenzel Jakob 83705ae831 cleanups 2011-09-06 13:51:15 -04:00
Wenzel Jakob 825acab263 better solid angle-weighted hemisphere sampling routine, code cleanups 2011-09-06 00:48:36 -04:00
Wenzel Jakob d53f7c9196 renamed a few constants 2011-09-05 14:29:41 -04:00
Wenzel Jakob d666d89031 reciprocity tests 2011-09-05 14:14:30 -04:00
Wenzel Jakob 157d955889 win32 compilation fixes 2011-09-05 10:20:58 -04:00
Wenzel Jakob e88f0bda1e improved the clipping bugfix 2011-09-03 14:32:28 -04:00
Wenzel Jakob 49a2862d8f fix for numerical issues when using triangle clipping in a double precision build 2011-09-03 14:12:05 -04:00
Wenzel Jakob bc5c8d867d merge 2011-09-02 17:52:01 -04:00
Wenzel Jakob ab16dfac21 more photon map-related serialization fixes 2011-09-02 17:51:49 -04:00
Wenzel Jakob f0629482cd photon map serialization bugfix 2011-09-02 17:27:11 -04:00
Wenzel Jakob a31775f516 OpenMP fixes on win32.. 2011-09-02 11:34:07 -07:00
Wenzel Jakob 9df8c4bfe6 better interaction of various integrators with the adaptive integrator 2011-09-02 13:49:07 -04:00
Wenzel Jakob 122b2f5feb a few more cleanups 2011-09-01 19:44:06 -04:00
Wenzel Jakob ed12b775ed photon mapper improvements pertaining to dielectrics 2011-09-01 18:55:04 -04:00
Wenzel Jakob a29505643a cleanup 2011-09-01 18:03:13 -04:00
Wenzel Jakob e3189e8495 merge 2011-08-30 22:14:57 -04:00
Wenzel Jakob ab035dad4c photon mapper improvements 2011-08-30 22:14:32 -04:00
Wenzel Jakob 9d438d2969 photon mapper updates 2011-08-30 12:33:35 -04:00
Wenzel Jakob 6d6725cc03 photon mapper simplifications, switched to a better direct illumination strategy 2011-08-30 01:05:59 -04:00
Wenzel Jakob 41c8f71a3f sppm bugfixes 2011-08-29 22:11:35 -04:00
Wenzel Jakob e5651c12a7 typo, add std::toupper on windows, less noisy GLProgram 2011-08-29 17:23:17 -04:00
Wenzel Jakob 233c1967e0 documentation fix 2011-08-29 01:54:26 -04:00
Wenzel Jakob 87389a28c0 merged the photon map changes back into the main branch 2011-08-29 00:13:19 -04:00
Wenzel Jakob 6b2d99aab8 homogeneous bugfix for channels with sigmaT=0, fixed ppm and sppm 2011-08-29 00:06:08 -04:00
Wenzel Jakob a44821b159 New photon map implementation based on generic PointKDTree: 50% faster! 2011-08-28 20:46:08 -04:00
Wenzel Jakob d59bd71c14 photon map updates 2011-08-28 15:32:54 -04:00
Wenzel Jakob ed3a726065 merge 2011-08-28 13:29:05 -04:00
Wenzel Jakob 70656037bf merge 2011-08-28 13:28:46 -04:00
Wenzel Jakob 13ab236e7c kd-tree & photon map cleanups 2011-08-28 13:28:18 -04:00
Wenzel Jakob 749d30ab7f implemented a photon map performance testcase 2011-08-28 03:09:35 -04:00
Wenzel Jakob 4050071fbb documentation updates, pt. 2 2011-08-27 00:23:25 -04:00
Wenzel Jakob 9b6d0dd197 documentaiton updates 2011-08-27 00:20:56 -04:00
Wenzel Jakob a2f929a08a added a bit more documentation 2011-08-27 00:16:09 -04:00
Wenzel Jakob 2ba07a76fd documentation for films and media 2011-08-26 00:33:53 -04:00
Wenzel Jakob 24769ecf83 documentation on the supported types of textures 2011-08-25 17:22:08 -04:00
Wenzel Jakob 3527c37f13 switched the hair intersection code to double precision 2011-08-25 02:21:43 -04:00
Wenzel Jakob c9b76559aa merge 2011-08-24 11:15:56 -04:00
Wenzel Jakob 93e11f9e13 two more patches from Edgar 2011-08-23 22:19:13 -04:00
Wenzel Jakob 84ef32d946 applied four patches from Edgar 2011-08-23 18:57:35 -04:00
Wenzel Jakob 0fa779c116 hair shape updates 2011-08-23 18:40:37 -04:00
Wenzel Jakob 470f226814 documentation updates 2011-08-23 14:08:43 -04:00
Wenzel Jakob 7264fc329b further shape documentation 2011-08-23 03:47:37 -04:00
Wenzel Jakob bdaaa217ba cylinder shape cleanup, support for recursive scene upgrades 2011-08-23 02:02:44 -04:00
Wenzel Jakob edb1869cd4 linux compilation bugfix 2011-08-23 00:58:23 -04:00
Wenzel Jakob 6dfa7e5654 merge 2011-08-22 21:03:21 -04:00
Wenzel Jakob c4fc192b28 merge 2011-08-22 21:02:37 -04:00
Wenzel Jakob 9338b04368 cleanups 2011-08-22 20:32:04 -04:00
Wenzel Jakob 236a6e5b73 merge 2011-08-22 19:47:11 -04:00
Wenzel Jakob 48668799d6 python build fixes 2011-08-22 19:43:47 -04:00
Wenzel Jakob 0d203940a1 documentation for the sphere shape 2011-08-22 19:41:28 -04:00
Wenzel Jakob 29b3498c2b OpenMP-related bugfixes on OSX 2011-08-22 18:59:56 -04:00
Wenzel Jakob 9406274cf0 Use OpenMP on OSX when compiling with the intel compiler 2011-08-22 15:01:20 -04:00
Wenzel Jakob 29879d3933 added a forgotten file 2011-08-22 11:45:45 -04:00
Wenzel Jakob 9035266f5c fixed the irradiance cache 2011-08-22 02:47:12 -04:00
Wenzel Jakob d0391dff8b rough coating documentation 2011-08-22 02:33:35 -04:00
Wenzel Jakob 1a5d962c4f approximate GLSL shader for the rough coating 2011-08-22 01:26:52 -04:00
Wenzel Jakob a535eaf3ae rough coating icon 2011-08-22 00:28:24 -04:00
Wenzel Jakob 282682b8c4 added a hacky rough coating BSDF 2011-08-22 00:17:55 -04:00
Wenzel Jakob 94fd78d0a5 done with the python integration (for now) 2011-08-21 18:54:13 -04:00
Wenzel Jakob 38b1337788 python binding improvements 2011-08-21 02:15:15 -04:00
Wenzel Jakob bb6420a65e python binding improvements 2011-08-21 00:51:22 -04:00
Wenzel Jakob e92e71b9ec python improvements 2011-08-21 00:30:49 -04:00
Wenzel Jakob 9cf5f001e7 python binding improvements 2011-08-20 17:09:59 -04:00
Wenzel Jakob e58a0fa338 python binding improvements 2011-08-20 03:36:40 -04:00
Wenzel Jakob 0b9e6e20c7 OSX fixes 2011-08-19 21:17:13 -04:00
Wenzel Jakob d5eb2407df name cleanups, part 2 2011-08-19 19:39:27 -04:00
Wenzel Jakob 78043e4040 name cleanups 2011-08-19 19:37:51 -04:00
Wenzel Jakob 25e4e1bdf1 OSX build fix 2011-08-19 19:25:42 -04:00
Wenzel Jakob ee7c65215a merge 2011-08-19 18:35:44 -04:00
Wenzel Jakob f2be676458 further OSX build fixes 2011-08-19 14:49:52 -04:00
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 3a01e96196 capitalization 2011-08-19 00:21:11 -04:00
Wenzel Jakob 7f918fd1a1 boost::python and documentation updates 2011-08-19 00:16:57 -04:00
Wenzel Jakob b83871c387 reverted the previous change 2011-08-18 21:56:16 -04:00
Wenzel Jakob abdb1c0b41 OSX/32+Intel compiler compilation fix 2011-08-18 21:51:59 -04:00
Wenzel Jakob faefb39147 python-related cleanups 2011-08-18 19:57:11 -04:00
Wenzel Jakob a921c27020 python updates 2011-08-17 15:49:49 -04:00
Wenzel Jakob e7225da4ca python layer improvements 2011-08-17 05:10:16 -04:00
Wenzel Jakob cedab7e413 fix a really subtle linux/boost-python crash related to exception handling -> link to libstdc++ before any other libraries 2011-08-17 04:44:28 -04:00
Wenzel Jakob 4c3a7ce03c fixed the symlink install tool 2011-08-17 00:17:09 -04:00
Wenzel Jakob 6d835b2ac1 merge 2011-08-16 21:35:14 -04:00
Wenzel Jakob 51bdcd12da installer script does not quite work yet 2011-08-16 21:35:04 -04:00
Wenzel Jakob 5c16310852 merge 2011-08-16 21:33:37 -04:00
Wenzel Jakob e830ee1be9 switched the Float keyword from a define to a typedef 2011-08-16 20:49:02 -04:00
Wenzel Jakob 17226f330a merge 2011-08-16 20:44:11 -04:00
Wenzel Jakob 8019a53716 renamed some old function prefixes 2011-08-16 20:37:47 -04:00
Wenzel Jakob 5d9fdf248e OSX build system updates 2011-08-16 20:27:11 -04:00
Wenzel Jakob a0e3a219d0 command-line access 2011-08-16 18:28:06 -04:00
Wenzel Jakob babb13d144 OSX build improvements 2011-08-16 14:17:11 -04:00
Wenzel Jakob 6afff558ef OSX build improvements 2011-08-16 02:18:38 -04:00
Wenzel Jakob 7407748c83 OSX build fixes 2011-08-16 02:07:20 -04:00
Wenzel Jakob 5ebb8a76c2 OSX build improvements 2011-08-16 00:36:44 -04:00
Wenzel Jakob 7dea158d5f OSX build fix 2011-08-16 00:31:55 -04:00
Wenzel Jakob 46c7299ddf OSX compilation fix 2011-08-15 21:20:24 -04:00
Wenzel Jakob df0ae2943d another unused variable 2011-08-15 19:22:31 -04:00
Wenzel Jakob 8659d8aa50 removed some unused variables 2011-08-15 19:11:44 -04:00
Wenzel Jakob 38a275e988 merge 2011-08-15 18:04:33 -04:00
Wenzel Jakob 387904932c remove a warning 2011-08-15 17:09:26 -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 bdf44fc85b python improvements 2011-08-14 23:56:47 -04:00
Wenzel Jakob 1b47d02583 forgotten header file 2011-08-14 23:28:42 -04:00
Wenzel Jakob b768f94933 merge 2011-08-14 22:43:52 -04:00
Wenzel Jakob 359045517f matrix support 2011-08-14 22:43:47 -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 76a30036a3 mtspy improvements 2011-08-14 14:18:15 -04:00
Wenzel Jakob 9c7a39bf0b python improvements 2011-08-14 02:38:24 -04:00
Wenzel Jakob 7d2e34b402 merge 2011-08-13 23:06:28 -04:00
Wenzel Jakob 18751fec05 mtspy improvements 2011-08-13 23:05:50 -04:00
Wenzel Jakob e5c7346bdc windows compilation fixes 2011-08-13 18:56:51 -07:00
Wenzel Jakob 9bd5619750 linux compilation fixes for GCC 4.5 2011-08-13 20:41:19 -04:00
Wenzel Jakob c4f17401e1 envmap serialization bugfix for sunsky 2011-08-13 18:10:34 -04:00
Wenzel Jakob 4458a4e844 more vector types 2011-08-13 16:36:44 -04:00
Wenzel Jakob a0b73a71e9 Python: vector and framework initialization support 2011-08-13 15:46:49 -04:00
Wenzel Jakob 9130f3ab0c sssbrdf improvements 2011-08-13 14:10:18 -04:00
Wenzel Jakob bc16235f6f renamed the mixture BSDF, added support for reparameterizing the HK & SSBRDF plugins in terms of albedo 2011-08-13 12:04:28 -04:00
Wenzel Jakob 8abac198d0 linux compilation support 2011-08-13 02:49:58 -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 4a5435f8c7 python adjustments 2011-08-10 22:47:00 -07:00
Wenzel Jakob 73dfd56677 renamed qtgui to mtsgui for consistency 2011-08-07 21:01:40 -04:00
Wenzel Jakob 2de99d873e fixed the mixture phase function 2011-08-07 17:51:02 -04:00
Wenzel Jakob c2364efad9 mixture phase function (broken) 2011-08-07 11:19:42 -04:00
Wenzel Jakob 60bbb6d646 merge 2011-08-07 02:55:46 -04:00
Wenzel Jakob 73dc3f897a started working on chkms.cpp 2011-08-07 02:54:37 -04:00
Wenzel Jakob 80d76ae867 added a coating GLSL shader, some name refactoring 2011-08-07 01:37:24 -04:00
Wenzel Jakob 9401714298 added a HK GLSL shader 2011-08-06 23:31:45 -04:00
Wenzel Jakob 0f9b046141 getting there.. 2011-08-06 22:42:05 -04:00
Wenzel Jakob affa3a2cb9 ported all of the BRDF/BSDF models, some bugs remain 2011-08-06 21:52:39 -04:00
Wenzel Jakob 0ae25c4ea2 switched to a more consistent API for the two BSDF::sample() methods -- they now both return the importance weight 2011-08-05 11:44:03 -04:00
Wenzel Jakob 48b1309d0d fixed a subtle bug that happened when using volpath with area light sources whose associate shape doesn't have a BSDF 2011-08-04 18:52:52 -04:00
Wenzel Jakob ec1d6ae917 information on making releases 2011-08-04 01:05:43 -04:00
Wenzel Jakob f8ee9e649a HK documentation updates 2011-08-02 16:51:27 -04:00
Wenzel Jakob 11d3e3a997 double precision fix contributed by Marios Papas 2011-08-02 14:03:42 -04:00
Wenzel Jakob 38fccc241a added micro-flake example renderings 2011-08-01 02:14:13 +02:00
Wenzel Jakob 7531f543d5 added a forgotten file 2011-07-29 15:55:06 +02:00
Wenzel Jakob cffde41f80 a few bugfixes 2011-07-29 03:29:11 +02:00
Wenzel Jakob 93217958fb preliminary sun/sky model implementation 2011-07-29 02:39:40 +02:00
Wenzel Jakob b605c5e937 A few more cosines to get straight 2011-07-29 01:56:36 +02:00
Wenzel Jakob 0e05949f2c created a separate file containing sun-specific configuration routines 2011-07-28 21:54:14 +02:00
Wenzel Jakob 173c0be464 HK documentation updates 2011-07-28 21:22:47 +02:00
Wenzel Jakob 2fd2a33d46 HK documentation updates 2011-07-28 21:16:18 +02:00
Wenzel Jakob 79aaea5d32 texture support for the HK model 2011-07-28 19:34:05 +02:00
Wenzel Jakob 30e1cc5681 work on the envmap luminaire 2011-07-28 19:13:24 +02:00
Wenzel Jakob 8c1d38980d improved the accuracy of shadow rays 2011-07-28 18:28:00 +02:00
Wenzel Jakob 531d9d54e2 documentation updates 2011-07-28 16:32:55 +02:00
Wenzel Jakob 247ebcf607 minor tweaks 2011-07-28 15:53:44 +02:00
Wenzel Jakob f8198e236d cleanups 2011-07-28 14:35:52 +02:00
Wenzel Jakob 389ca590d2 nicer default sky 2011-07-28 14:34:59 +02:00
Wenzel Jakob 4d01f32749 HK and coating bugfixes 2011-07-28 14:25:03 +02:00
Wenzel Jakob ff025d558f fix a NaN issue in envmap.cpp 2011-07-28 12:09:56 +02:00
Wenzel Jakob fcae6a3314 adapted sunsky so that it refers to the still-missing sun model 2011-07-28 03:21:33 +02:00
Wenzel Jakob 5b735f362d sunsky meta-plugin 2011-07-28 03:18:17 +02:00
Wenzel Jakob 8e448eaf6c added an environment luminaire, changed the sky.cpp implementation so that it forwards to envmap.cpp 2011-07-28 02:52:31 +02:00
Wenzel Jakob e379ffda42 the envmap luminaire is verified! 2011-07-27 18:50:15 +02:00
Wenzel Jakob 7305768f61 fixed some over-zealous refactoring 2011-07-27 18:41:25 +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 3726f657a2 luminaire verification code 2011-07-27 16:28:35 +02:00
Wenzel Jakob d6e55318ed BSDF serialization bugfixes 2011-07-27 15:02:06 +02:00
Wenzel Jakob 87faf4dd30 sky light figure updates (flipped horizontally and vertically so that the coordinates make more sense) 2011-07-27 09:58:20 +02:00
Wenzel Jakob d5d4a632b8 cleanups 2011-07-27 03:40:35 +02:00
Wenzel Jakob 73f51c1c9f sky luminaire improvements 2011-07-27 03:40:13 +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 628dddbe91 merge 2011-07-26 21:06:01 +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 cd4c6165c8 double precision compilation fix 2011-07-22 23:54:01 +02:00
Wenzel Jakob 0175931ed3 bugfixes to the coating material 2011-07-22 18:43:11 +02:00
Wenzel Jakob 1adfc11099 documentation updates, bugfixes to coating.cpp and mask.cpp 2011-07-22 16:08:58 +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 901bbc2bfe merge with the main branch 2011-07-19 06:37:15 +02:00
Wenzel Jakob f903c8e05d importer bugfixes 2011-07-19 06:36:27 +02:00
Wenzel Jakob 2199cbf257 OSX/Qt linker bugfix 2011-07-19 06:02:19 +02:00
Wenzel Jakob f7f10c0000 bugfixes to the importer 2011-07-19 04:49:35 +02:00
Wenzel Jakob 8b9776c4ac added a newline to a documentation listing 2011-07-18 14:47:46 +02:00
Wenzel Jakob a17fed6f5b documentation updates for the HK model 2011-07-18 14:46:24 +02:00
Wenzel Jakob bf94a4869e updated the build system to support a dynamic 'dist' directory 2011-07-18 14:20:02 +02:00
Wenzel Jakob 317e661612 Added an implementation of the Hanrahan-Krueger model (courtesy of Tom Kazimiers and Marios Papas) 2011-07-18 02:39:24 +02:00
Wenzel Jakob 5e63c7233d minor improvement to the XSLT stylesheet 2011-07-17 20:49:38 +02:00
Wenzel Jakob c6b33a76ab fixed a handedness reversal in conjunction with the interactive 'reveal' feature 2011-07-17 17:31:21 +02:00
Wenzel Jakob 0230c6fbe7 switched to a new BSDFQueryRecord constructor, which encapsulates the assumption that a sampler instance is always available when sampling the model 2011-07-17 17:18:58 +02:00
Wenzel Jakob fad581de2f BSDFQueryRecord: it is now assumed that a sampler is always there 2011-07-17 16:45:26 +02:00
Wenzel Jakob 334002cc46 minor improvements to the pre-0.3.0 upgrade stylesheet 2011-07-17 15:52:51 +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 17eb2166f0 documentation updates, fixed for many typos, fixed the bump map model 2011-07-15 18:37:48 +02:00
Wenzel Jakob b5a6b7cbd8 a nicer <lookAt> command 2011-07-15 10:49:44 +02:00
Wenzel Jakob 54cb9b6fcd merge 2011-07-15 10:16:15 +02:00
Wenzel Jakob 5f27a96432 Patch by Tom Kazimiers: automatically cancel photon gathering if few or no photons are being generated 2011-07-15 10:15:57 +02:00
Wenzel Jakob d7f913de38 minor bugfixes 2011-07-15 10:11:29 +02:00
Wenzel Jakob f1ae7722dd added a plugin reference 2011-07-15 00:34:28 +02:00
Wenzel Jakob e1682900f1 fixed a URL in the acknowledgment dialog 2011-07-14 15:58:44 +02:00
Wenzel Jakob add374feb8 added acknowledgments for the IOR data and the cubature library 2011-07-14 10:47:10 +02:00
Wenzel Jakob 2e2acc153e better importance sampling for the coating model, added documentation 2011-07-13 19:47:57 +02:00
Wenzel Jakob ce9ad8515d BSDFs now flag spatially varying components 2011-07-13 17:40:26 +02:00
Wenzel Jakob a92aa6b29a got the coating to work; more documentation 2011-07-13 05:15:10 +02:00
Wenzel Jakob 42b92dac8f various cleanups, started working on the smooth dielectric coating 2011-07-13 01:56:00 +02:00
Wenzel Jakob aa1a9a1881 back-ported the irawan&marschner model 2011-07-12 23:16:27 +02:00
Wenzel Jakob 77ebb4b9ac finished the Ward backport 2011-07-12 18:36:20 +02:00