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