Commit Graph

1560 Commits (49737c063f7a3e3c4e97bb6925d78637984539a9)

Author SHA1 Message Date
Wenzel Jakob b8480a3d60 Fixes for several subtle kd-tree construction issues
- fixed several bugs that occasionally broke double-precision builds
- rewrote min/max binning code to make it tolerant to precision issues.
  Previously, it gave up in such cases, which lead to a slow build
  with the O(n log n) method.
2014-11-05 19:48:07 +01:00
Wenzel Jakob 1f445513dd hslt: quenched a minor warning 2014-11-04 00:35:22 +01:00
johannes hanika d9d567bc42 hslt: new mutator interface with last succeeded mutation record. 2014-11-04 00:19:41 +01:00
johannes hanika ef48c84915 hslt: improve numerical robustness 2014-11-04 00:18:29 +01:00
johannes hanika 6fb326038e hslt: misc improved functionality:
texture formats
matrix 2x2 inversion special case (wasn't called before)
more meaningful flags on vertex.
2014-11-04 00:15:27 +01:00
johannes hanika 5d578e9c68 hslt: '-L' command line parameter to set the log level; '-r' immediately starts rendering in mtsgui 2014-11-04 00:07:16 +01:00
johannes hanika cb56d97fcf hslt: verification.cpp: better validation of edge data structures 2014-11-03 23:04:08 +01:00
johannes hanika 23efb01b4d hslt: always use a consistent edge direction in the bidirectional abstraction layer 2014-11-03 23:03:14 +01:00
johannes hanika 7e705a62a0 hslt: compile fixes 2014-11-03 23:02:36 +01:00
Wenzel Jakob b821dc9e33 More consistent name handling across various shape implementations (patch by Lorenzo Tessari) 2014-10-29 17:35:50 +01:00
Wenzel Jakob 84685dfc8d mtsgui: handle the -o parameter 2014-10-18 22:38:04 +02:00
Wenzel Jakob d5208828de CMake fixes contributed by Oliver Klehm 2014-10-13 22:41:14 +02:00
Wenzel Jakob 0cb3e6d4c8 libpython: a few more opportunities for releasing the GIL 2014-10-12 14:11:03 +02:00
Wenzel Jakob b13e41f8f9 double precision compilation fix 2014-10-05 03:31:40 +02:00
Wenzel Jakob 08623fafdc libpython: allow extracting the bitmap underlying an environment map 2014-09-29 22:05:06 +02:00
Wenzel Jakob 359f8215f4 libpython: bindings for BlackBodySpectrum 2014-09-29 19:01:32 +02:00
Wenzel Jakob b198521eb1 libpython: improved Texture bindings 2014-09-29 18:38:46 +02:00
Wenzel Jakob 70f08931b9 TriMesh: binary PLY export feature 2014-09-29 18:08:42 +02:00
Wenzel Jakob beb85f9702 Bitmap::writeOpenEXR(): fix handling of OpenEXR channel names 2014-09-29 14:11:38 +02:00
Wenzel Jakob a24c074c0d getDiffuseReflectance() implementation for twosided.cpp 2014-09-29 14:10:40 +02:00
Wenzel Jakob f2e8e796dd ply.cpp: assertion fix when using 'maxSmoothAngle' 2014-08-05 20:29:06 +02:00
Wenzel Jakob 0be165de40 Thread::setCoreAffinity bugfix 2014-08-05 17:26:33 +02:00
Wenzel Jakob 38cd04828c libpython: don't link to Python core library on Linux 2014-08-05 14:38:46 +02:00
Wenzel Jakob 5e222601c0 hdrfilm/tiledhdrfilm: Save channel name even for 1-channel images if specified 2014-08-04 18:20:03 +02:00
Wenzel Jakob 80cf245b68 microfacet.h: roughness clamping 2014-08-04 14:32:28 +02:00
Wenzel Jakob 48730364a4 TriMesh::fromBlender improvements contributed by Francesc Juhé 2014-08-02 23:09:46 +02:00
Wenzel Jakob d02d4ebedf ported all microfacet models to a new visible normal sampling implementation 2014-08-02 19:41:22 +02:00
Wenzel Jakob bdc43fcbd8 Updated copyright headers 2014-08-02 19:35:42 +02:00
Wenzel Jakob 76766fb10c new 'math' namespace, some minor reorganization, added erf()/erfinv() functions 2014-08-02 19:35:42 +02:00
Wenzel Jakob 152cfa4b26 rendersettingsdlg.cpp: ignore mouse scroll events in spin boxes 2014-07-29 18:51:59 +02:00
Wenzel Jakob d00b238f93 windows compilation fix 2014-07-28 02:20:10 -07:00
Wenzel Jakob c43c5e409f quenched some warnings (windows) 2014-07-25 09:29:50 -07:00
Wenzel Jakob a97731c9f7 fixed an annoying OSX-specific bug where checkboxes in the render settings dialog did not get saved 2014-07-23 23:12:57 +02:00
Wenzel Jakob ae865e7dfa add a new Scene::invalidate() function to address an issue reported by David Harmon 2014-07-23 19:55:12 +02:00
Wenzel Jakob 455b239c15 mtsgui: handle problematic scenes more gracefully where Mitsuba cannot generate any VPLs 2014-07-22 22:45:00 +02:00
Wenzel Jakob bb7e922511 better handling of multiple sensors in the GUI 2014-07-22 22:28:38 +02:00
Wenzel Jakob 527951b7bd Fixed bug #292 (mathematica ignores the 'digits' parameter) -- patch contributed by Sidney Cadot 2014-07-22 15:04:57 +02:00
Wenzel Jakob 6b0572bc90 fixed an issue in (Rough)Coating::getRoughness (reported by Adrien Grueson) 2014-07-22 15:01:41 +02:00
Wenzel Jakob 1aa267a4cc fixed a minor typo (reported by Sidney Cadot) 2014-07-22 14:59:27 +02:00
Wenzel Jakob 7f7575ed80 bugfix for the previous change 2014-07-01 23:45:54 +02:00
Wenzel Jakob e60579e21b typos 2014-07-01 23:18:33 +02:00
Wenzel Jakob fffc830af7 fixed some additional pthread_{get/set}affinity_np flakiness 2014-07-01 23:08:55 +02:00
Wenzel Jakob fbb4867f49 Fixed core affinity handling, specified TLS dialect on Linux
- Fixed core affinity handling for Linux clusters with CPU quotas
  (e.g. the ETH Brutus cluster).

- Added an explicit -mtls-dialect flag to the Linux config.py files to
  prevent crashes when loading the Python plugin in certain settings
  (particularly: the ETH cluster).
2014-07-01 22:35:30 +02:00
Wenzel Jakob a1eecbb55a pthread_setaffinity_np: better error reporting 2014-07-01 16:08:04 +02:00
Wenzel Jakob 641f0a96dd chi-square test fixes 2014-07-01 12:21:23 +02:00
Wenzel Jakob c81b015cea volpath: correct attenuation for area lights surrounded by a medium
Previously, volpath did not correctly compute the attenuation to
an area light source when it was embedded inside a participating medium
(i.e. referencing it directly). volpath_simple was unaffected.

It is unlikely that anybody ran into this problem, since it was in fact
not possible to construct such a scene due to an assertion in shape.cpp.
2014-06-29 20:25:45 +02:00
Wenzel Jakob 8be3692ca6 further filtering/resampling code improvements 2014-06-06 01:55:02 +02:00
Wenzel Jakob 6b3246d15a fixed some merge/compilation issues 2014-06-06 01:21:33 +02:00
Wenzel Jakob eae7a55eac BSDF::getFrame/BSDF::getFrameDerivative functions, Shape::adjustTime() feature 2014-06-06 01:10:15 +02:00
Wenzel Jakob 3694c2f034 sensor.cpp: be less pesky in addChild() 2014-06-06 01:01:13 +02:00
Wenzel Jakob c391cdf57d Improvements to how Mitsuba deals with multi-channel images; improved image filtering by separable convolution filters 2014-06-06 01:00:26 +02:00
Wenzel Jakob b09a7a3c9d sync: improved deformable shape 2014-06-06 00:58:25 +02:00
Wenzel Jakob 03bb97fb95 always compute proper UV tangents if possible 2014-06-04 16:56:09 +02:00
Wenzel Jakob fa95593651 fixed OBJ material gamma correction issue introduced in a prior commit 2014-06-04 16:55:57 +02:00
Wenzel Jakob b499ef8772 fix buffer overflow issue in multichannel.cpp 2014-05-23 02:19:56 +02:00
Wenzel Jakob b7d8988b7f bitmap usability improvements 2014-05-23 00:38:17 +02:00
Wenzel Jakob ffdf5692b9 TriMesh::getNormalDerivative(): fixed conditional statement 2014-05-22 14:19:29 +02:00
Wenzel Jakob ff4a71309b minor 2014-05-21 22:41:07 +02:00
Wenzel Jakob cc84bfee3c VPL time computation fix 2014-05-21 21:03:25 +02:00
Wenzel Jakob e53c4afea6 Rayleigh phase function bugfix contributed by Nathan Reed 2014-05-21 10:57:08 +02:00
Wenzel Jakob a82576ffef Fix reference counting in python PluginManager::create() interface 2014-05-20 18:45:51 +02:00
Wenzel Jakob 93b7cdbb1c merge 2014-05-20 18:42:30 +02:00
Wenzel Jakob 20f0b03fa3 minor 2014-05-20 18:42:26 +02:00
Wenzel Jakob f120f9955c fixed VPL preview crash with the deformable shape 2014-05-20 01:42:09 +02:00
Wenzel Jakob c9afd23278 obj.cpp: loadMaterials parameter 2014-05-20 01:15:15 +02:00
Wenzel Jakob c99d568c9c bugfixes 2014-05-19 20:45:14 +02:00
Wenzel Jakob 868b0ea866 normalmap, bumpmap: throw an error message when used with 'bitmap' and no gamma value is specified. also added documentation for normalmap 2014-05-19 17:26:14 +02:00
Wenzel Jakob 4805fc570e obj.cpp: handle convex n-gons (contributed by Fabrice Rousselle), shapeIndex feature 2014-05-19 11:15:14 +02:00
Wenzel Jakob 89fd8c1d52 typos, added mention of 'stddev' to documentation of 'gaussian' 2014-05-19 11:13:14 +02:00
Wenzel Jakob ab767f0328 removed repeated words in the documentation 2014-05-08 12:29:00 +02:00
Wenzel Jakob d2fb59ca4e a few more missing python function bindings 2014-05-04 21:39:38 +02:00
Wenzel Jakob 2dd0c78719 TSpectrum: added absolute value function 2014-05-04 15:12:27 +02:00
Wenzel Jakob e8dfd6c80a libpython: expose instances / shape groups in a better way 2014-04-29 17:49:58 +02:00
Wenzel Jakob 3b1f6dc257 fixed suboptimal sampling when using roughdielectric with the phong microfacet distribution (reported by Benedikt Bitterli) 2014-04-26 17:19:27 +02:00
Wenzel Jakob 5be2c6892c accidentally committed build commands for an unfinished plugin, removing them again 2014-04-20 17:51:57 +02:00
Wenzel Jakob 077fccfbf8 build bugfix contributed by Syoyo Fujita 2014-04-18 12:23:43 +02:00
Wenzel Jakob 7ab0ff3533 simple render time extraction script 2014-04-14 23:54:07 +02:00
Edgar Velazquez-Armendariz 25ddbb963b Fix a couple of casting warnings. 2014-04-02 16:17:10 -04:00
Wenzel Jakob 5dc9f571e7 MLT/PSSMLT: better logic for selecting the 'luminanceSamples' parameter 2014-04-02 14:40:15 +02:00
Wenzel Jakob 7d7e253b8f libpython: make MTS_VERSION/MTS_YEAR available. Documentation: xml serialization for further types 2014-03-27 12:36:44 +01:00
Wenzel Jakob 4b2ed2e88a libbidir <-> libpython linker improvements 2014-03-27 01:29:44 +01:00
Wenzel Jakob 2ce74299df materials.h: fixed character encoding issue for one preset 2014-03-26 21:37:54 +01:00
Wenzel Jakob bf9b5c5502 Extended PluginManager::create() to be able to work with references and ordered dictionaries 2014-03-26 18:03:54 +01:00
Wenzel Jakob 263876f5b9 Fix for Bug #259 (Gian Calgeer) 2014-03-25 18:28:09 +01:00
Wenzel Jakob e567fea005 Fixed error message in hdrfilm (Gian Calgeer) 2014-03-25 18:04:40 +01:00
Wenzel Jakob 96379a07a9 MLT: Increase the sample count for the direct illumination pass when the camera has out of focus blur 2014-03-24 18:29:53 +01:00
Wenzel Jakob e6fcc6a8ae merge 2014-03-23 01:29:11 +01:00
Wenzel Jakob 87dee3e411 fixed material presets by Narasimhan et al. 2014-03-23 01:28:40 +01:00
Wenzel Jakob cd660219a6 perspective/thinlens.cpp: print X and Y fov values in toString() 2014-03-23 01:06:33 +01:00
Wenzel Jakob 923069f877 ported cylinder.cpp improvements to hair.cpp 2014-03-20 12:57:31 +01:00
Wenzel Jakob 0c20766291 slightly improved accuracy of intersection computations in the the cylinder shape 2014-03-20 12:30:28 +01:00
Wenzel Jakob cf4ba27ee9 fix an error in the hair intersection code reported by Pramook Khungurn 2014-03-20 12:29:49 +01:00
Wenzel Jakob 4339d2339f minor cleanups 2014-03-05 16:18:17 +01:00
Wenzel Jakob aa1fdb77f7 fix for a signal-related issue on machines running KDE 2014-03-05 16:14:34 +01:00
Wenzel Jakob 4b1abec7f6 added Bitmap I/O support for the PPM file format 2014-03-02 21:06:25 +01:00
Wenzel Jakob 25b538d1dc avoid libpng-related warning messages 2014-02-27 10:29:39 -05:00
Wenzel Jakob 5fc6286107 updates for Fedora Core 20 2014-02-27 06:05:20 -05:00
Wenzel Jakob e8e8aba757 support for copying an image to the clipboard 2014-02-26 16:38:33 +01:00
Wenzel Jakob c466c70738 Some mip map / OBJ file loader improvements for an issue reported by Yoran Bosman 2014-02-25 08:19:25 -08:00
Wenzel Jakob 131c330526 reset statistics after a rendering when using the command line executable 2014-02-25 15:21:53 +01:00