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
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
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