Commit Graph

314 Commits (5d578e9c6829a3b624dc5a72837f46dbef0f0a6e)

Author SHA1 Message Date
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
Wenzel Jakob 0f81f05194 further robustness improvements 2013-01-22 20:39:39 -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 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 5170893195 fixed animation support for the 'thinlens' plugin 2012-11-05 22:48:12 -05: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 544080e808 some work towards animated transformation support 2012-10-26 02:15:32 -04:00
Wenzel Jakob 0434ce7779 TriMesh::computeUVTangents(): be a bit less noisy.. 2012-10-25 12:36:34 -04:00
Wenzel Jakob d7c1ab1191 support for extrapolating values when doing cubic spline interpolation 2012-10-24 23:40:25 -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 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 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 efe33e9212 OCD: remove trailing spaces from all files 2012-10-20 14:04:13 -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 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
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 68c265cfdc unicode readyness patch 2012-10-08 23:02:27 -07:00
Wenzel Jakob d15000d4db Handle 'subsurface' plugins specified directly following the 'scene' tag 2012-10-06 13:10:52 -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 d83a7bae52 MLT documentation improvements 2012-09-30 00:34:29 -04:00
Wenzel Jakob 15ca0811a0 fixed a few boost::filesystem string issues 2012-09-27 23:00:45 -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 98ea89edfe a more user-friendly error message 2012-05-21 22:31:09 +12:00
Wenzel Jakob 6336e76d43 minor comment 2012-04-25 17:52:42 -04: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 1a731394c8 fixed rough coating, renamed sssbrdf -> rmbrdf to avoid further confusion 2011-09-17 22:44:07 -04:00
Wenzel Jakob 0df346f604 a few structural improvements to the mipmap & texture classes 2011-09-17 15:32:46 -04:00
Wenzel Jakob 94ea62495c documentation updates, finished the disk shape 2011-09-14 16:07:02 -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 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 d53f7c9196 renamed a few constants 2011-09-05 14:29:41 -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 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 e5651c12a7 typo, add std::toupper on windows, less noisy GLProgram 2011-08-29 17:23:17 -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 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 bdaaa217ba cylinder shape cleanup, support for recursive scene upgrades 2011-08-23 02:02:44 -04:00
Wenzel Jakob 0d203940a1 documentation for the sphere shape 2011-08-22 19:41:28 -04:00
Wenzel Jakob 94fd78d0a5 done with the python integration (for now) 2011-08-21 18:54:13 -04:00
Wenzel Jakob 9cf5f001e7 python binding improvements 2011-08-20 17:09:59 -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 26fc39bac0 OSX build system improvements: switched from @executable_path to @loader_path 2011-08-14 19:30:06 -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 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 cffde41f80 a few bugfixes 2011-07-29 03:29:11 +02:00
Wenzel Jakob 8c1d38980d improved the accuracy of shadow rays 2011-07-28 18:28:00 +02:00
Wenzel Jakob 247ebcf607 minor tweaks 2011-07-28 15:53:44 +02:00
Wenzel Jakob 389ca590d2 nicer default sky 2011-07-28 14:34:59 +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 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 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 1141eb87e3 port to boost::fileystem v3, some adjustments to the sky luminaire 2011-07-26 21:05:43 +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 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 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 ce9ad8515d BSDFs now flag spatially varying components 2011-07-13 17:40:26 +02:00
Wenzel Jakob 8d768908f8 initial backport of the Ward model 2011-07-12 13:54:05 +02:00
Wenzel Jakob d4818ae43d back-ported the phong model 2011-07-12 11:53:36 +02:00
Wenzel Jakob bf9dc03fd8 fancy roughplastic sampling strategy, just before cleanup 2011-07-11 22:36:10 +02:00
Wenzel Jakob 873fe06277 finished the roughdiffuse model, fixed a handedness switch in Transform::lookAt 2011-07-11 01:34:17 +02:00
Wenzel Jakob f695c827e5 turned the scaling texture into a separate plugin 2011-07-08 17:14:22 +02:00
Wenzel Jakob 1fe405ec23 OSX build fixes 2011-07-08 16:17:11 +02:00
Wenzel Jakob 112d86c0a0 GLSL implementation of the rough conductor shader 2011-07-08 01:59:49 +02:00
Wenzel Jakob e22b47cc4a extended the chi2-tester with some extra checks for BSDF::pdf() and BSDF::eval() 2011-07-07 19:34:40 +02:00
Wenzel Jakob 736a8e6866 improved interface for ensuring energy conservation 2011-07-07 17:49:21 +02:00
Wenzel Jakob bd4301bd1e removed the 'schema' directory, added IOR data from luxpop 2011-07-06 23:40:13 +02:00
Wenzel Jakob 5c8201d764 further spectrum-related cleanups 2011-07-06 17:52:02 +02:00
Wenzel Jakob c552a79902 did a pass over the spectral rendering support; ported some RGB->Spectrum conversion code from PBRT 2011-07-06 12:50:38 +02:00
Wenzel Jakob 1dc0193f68 spectral rendering improvements, added back further documentation chapters 2011-07-05 18:50:17 +02:00
Wenzel Jakob 4a6d69df32 documentation updates, the chi-square test now also handles delta components, addes support for loading interpolated color spectra from disk 2011-07-05 13:24:22 +02:00
Wenzel Jakob 626794b94a major redesign of the BSDF API 2011-07-04 20:13:36 +02:00
Wenzel Jakob 5cc7e40df2 started a new branch for a material development cycle. new features: glass preview in the VPL renderer, more documentation 2011-07-03 02:46:09 +02:00
Wenzel Jakob cb3dcdb377 exactly sample the fresnel term in roughglass.cpp, added a directory for the bidirectional library (this is only meant to contain a few backported components for now) 2011-07-01 11:35:49 +02:00