Commit Graph

632 Commits (b8480a3d6087afdad8cd25b970c9a8d33339600a)

Author SHA1 Message Date
Wenzel Jakob 326f1533ac Bitmap::scale convenience function 2013-09-04 17:31:23 +02:00
Wenzel Jakob 9a215b0b8a changes by Edgar (with slight modifications) 2013-08-13 15:26:20 +02:00
Edgar Velazquez-Armendariz 20f47de382 Use shorter preprocessor definitions to avoid crashes in MSVC 2013-08-12 16:58:16 -04:00
Wenzel Jakob 75350bc957 fixed TEA implementation for double precision 2013-08-12 18:15:50 +02:00
Wenzel Jakob d51e2e521b added a 2x2 vector determinant for convenience 2013-08-10 20:57:04 +02:00
Wenzel Jakob 1486f2fda7 generic getCorner() and getChild() methods for AABB 2013-08-10 20:56:42 +02:00
Wenzel Jakob a825ce5d0f introduced a new constant that specifies the minimum number whose reciprocal is representable in single/pdouble precision 2013-08-08 16:50:59 +02:00
Wenzel Jakob cffe15776d clarification suggested by Karoly Zsolnai 2013-08-02 17:09:06 +02:00
Wenzel Jakob 6497f9e9cb Fixed an issue reported by Károly Zsolnai (the function wasn't used in the codebase, which is why this could remain undetected for so long) 2013-07-17 21:55:12 +02:00
Wenzel Jakob 7728899dc2 temporarily undid version change 2013-06-29 21:22:12 +02:00
Wenzel Jakob e82ba58be0 version bump 2013-06-19 21:16:54 +02:00
Wenzel Jakob 3345af6c90 separateAlpha feature requested by Yoran 2013-05-21 05:26:36 -04:00
Wenzel Jakob 464da09474 compilation fixes 2013-05-20 17:28:38 -04:00
Wenzel Jakob 7f36735c0d added Bitmap::rotateFlip() 2013-05-20 13:46:56 -04:00
Wenzel Jakob de7fd41a03 remove a minor warning 2013-04-06 15:09:55 -04:00
Wenzel Jakob f32d62d783 Vector4: wrong dimension value 2013-03-26 14:38:32 -04:00
Wenzel Jakob 68093a36b6 typo fix 2013-03-20 18:50:10 +01:00
Wenzel Jakob 9d8d59280d vector class compilation fix for windows 2013-02-28 15:00:37 -08:00
Wenzel Jakob 766741da85 version bump 2013-02-28 12:51:22 -05:00
Edgar Velazquez-Armendariz bd55638624 Make sure the return type of TVectorN<T>::length is a floating point value.
For example, in TVector2<int> the length will almost never be an integer. If the
return type of length were T the resoult would be implicitly truncated from
float/double (the result of std::sqrt) to T.
2013-02-21 02:20:07 -05:00
Wenzel Jakob 3d93215e81 fixed quaternion slerp to always use the 'short way', updated documentation 2013-02-17 18:28:53 -05:00
Wenzel Jakob beeb88b3e3 moved around some code to facilitate rendering turntables and such from Python 2013-02-17 16:37:06 -05:00
Wenzel Jakob abfc45d7f1 renamed an oddly-named matrix 2013-02-17 13:02:11 -05:00
Wenzel Jakob 2d44b16442 added a few more camera bindings, support for motion blur manipulation from python 2013-02-17 12:46:33 -05:00
Wenzel Jakob c2498b84a7 added a few more python bindings 2013-02-16 15:29:15 -05:00
Wenzel Jakob e97081619b merge with ev-cmake 2013-02-12 01:41:08 -05:00
Wenzel Jakob 47319ea9d4 bugfix for an issue that prevented 'twosided' from working properly in some cases 2013-02-11 19:32:31 -05:00
Wenzel Jakob e15097ffae added support for the IPT color space by Ebner and Fairchild 2013-02-02 20:23:03 -05:00
Edgar Velazquez-Armendariz 266b44e404 Initial patches for ARM support [armv7l GNU/Linux] 2013-02-02 10:02:03 -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 123446dc71 moved ssize_t definition into mitsuba namespace to prevent a clash with pyconfig.h 2013-01-28 19:11:26 -08: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 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
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 3fb80bc0ce moved animation track class to libcore 2013-01-28 19:24:59 -05:00
Wenzel Jakob 874a392336 merged motion blur branch, updated version 2013-01-28 17:44:47 -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 8ca3bbaaab Do not try to log to a null logger (can happen during Thread::staticShutdown) 2013-01-28 01:57:45 -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
Edgar Velazquez-Armendariz 50d596ece7 Merge with upstream 2013-01-26 23:12:34 -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 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
Edgar Velazquez-Armendariz f824e5861d Merge with upstream 2013-01-23 16:45:27 -05:00
Edgar Velazquez-Armendariz 5b46dd6f20 Update the LRU implementation article URL. 2013-01-23 15:39:54 -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 7f4ec5eaba improved python Bitmap bindings some more 2013-01-17 00:45:22 -05:00
Wenzel Jakob 351890a5cf convenience code for applying color matrices to bitmaps 2013-01-16 01:11:20 -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 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 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 496be9d089 Merge with default 2012-11-27 11:35:52 -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 f7bd2117fa Merge with default 2012-11-26 12:10:19 -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 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 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 cb31210614 moved associated legendre function implementation 2012-11-04 01:50:58 -05: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 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 a48b142244 set version to 0.4.2 2012-10-31 11:10:04 -04:00
Edgar Velazquez-Armendariz 0dfbf7ee47 Merge with default 2012-10-30 18:14:23 -04:00
Edgar Velazquez-Armendariz cb8198aa7b Added helper template functions to handle fixed-sized arrays in core/stream.h 2012-10-30 18:06:51 -04:00
Wenzel Jakob 3a3ab40d44 some work on removing stl.h 2012-10-27 03:03:28 -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 b61f0b0775 qmc: explicitly enable clang for some faster intrinsics 2012-10-25 02:48:05 -04:00
Wenzel Jakob d7c1ab1191 support for extrapolating values when doing cubic spline interpolation 2012-10-24 23:40:25 -04:00
Wenzel Jakob 0cf83b5a1b minor tweak to the mts_omp_* macros 2012-10-24 22:26:45 -04:00
Wenzel Jakob 3885a4c6f9 new branch for motion blur and spacetime kd-trees 2012-10-23 12:00:52 -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 6137c21db5 minor 2012-10-22 00:02:28 -04:00
Wenzel Jakob 6b01d20b10 TriMesh python bindings 2012-10-20 20:34:17 -04:00
Wenzel Jakob 131ae05f3e OSX-specific python plugin improvements; minor cleanups 2012-10-20 17:59:38 -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 42f9677f40 fixed a typo 2012-10-18 10:51:46 -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 b8d4aeb524 more serialization fixes 2012-10-16 13:24:46 -04:00
Wenzel Jakob 5baddc030a also made Moeller-Trumbore a bit more robust (just in case it is ever used again) 2012-10-12 18:30:19 -04:00
Wenzel Jakob eb423bf9f9 fixed a corner case in DiscreteDistribution::sample 2012-10-12 12:57:11 -04:00
Wenzel Jakob ec89683281 bumped the version to 0.4.1 2012-10-10 12:07:14 -04:00
Wenzel Jakob 68c265cfdc unicode readyness patch 2012-10-08 23:02:27 -07: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 8ae43d8d04 minor robustness improvements, fixed some string encodings problem 2012-10-07 18:22:24 -07:00
Wenzel Jakob 95a43911de very minor const parameter change 2012-10-06 11:40:31 -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 d83a7bae52 MLT documentation improvements 2012-09-30 00:34:29 -04: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 fbda994b38 geometric/shading-normal consistency bugfix 2012-07-06 21:29:53 +12:00
Wenzel Jakob d7066893c8 do string replacements in the right order 2012-04-24 23:55:28 -04:00
Wenzel Jakob 9f8307291a bugfixes to minor issues reported by Sean Bell 2012-04-08 20:10:48 -04:00
Wenzel Jakob e0a7438495 support for unmanaged threads (e.g. started from python) 2011-12-09 16:28:14 -05:00
Wenzel Jakob 45b93d62be added support for wireframe rendering 2011-11-08 17:54:38 -05:00
Wenzel Jakob 3d33885858 oh my god -- how many attempts will it take me to compute volumes correctly :) 2011-10-19 11:38:45 -04:00
Wenzel Jakob 2bd533f647 strange, I thought I had fixed this 2011-10-12 02:32:33 -04:00
Wenzel Jakob 2e46c7a8d0 added some missing inline declarations 2011-10-10 12:42:40 -04:00
Wenzel Jakob 6740413a7d idiotic bug in TAABB::getVolume() :) 2011-10-06 14:22:48 -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 94ea62495c documentation updates, finished the disk shape 2011-09-14 16:07:02 -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 18387bdbfc changed the version number to 0.3.1 2011-09-14 11:51:24 -04:00
Wenzel Jakob c67ce1a89e forgotten inline flag 2011-09-13 11:07:08 -04:00
Wenzel Jakob e73fc382c3 more work on the rectangle intersection shape 2011-09-12 21:06:06 -04:00
Wenzel Jakob 50059c52f5 oops, dumb oversight in regarding std::sincos 2011-09-12 20:07:16 -04:00
Wenzel Jakob 8fdda6fba0 merge 2011-09-11 22:56:37 -04:00
Wenzel Jakob 6639151883 cleanups, added license information 2011-09-11 22:56:25 -04:00
Wenzel Jakob 106ef46287 log a bit more information about the running system 2011-09-10 15:07:04 -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 7840a7aebb osx build fixes 2011-09-08 14:59:32 -04:00
Wenzel Jakob 5c1cb4b3b9 compilation fix 2011-09-07 21:44:22 -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 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 49a2862d8f fix for numerical issues when using triangle clipping in a double precision build 2011-09-03 14:12:05 -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 9df8c4bfe6 better interaction of various integrators with the adaptive integrator 2011-09-02 13:49:07 -04:00
Wenzel Jakob ed12b775ed photon mapper improvements pertaining to dielectrics 2011-09-01 18:55:04 -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 6d6725cc03 photon mapper simplifications, switched to a better direct illumination strategy 2011-08-30 01:05:59 -04:00