Wenzel Jakob
41ecb1d837
fixed some windows-specific warnings, integrated FFTW
2013-10-28 12:10:31 +01:00
Wenzel Jakob
b962a3db57
use multithreaded FFT
2013-10-28 11:28:37 +01:00
Wenzel Jakob
5ea0546e41
tonemapper: fixed a typo in bloom filter size computation
2013-10-28 11:27:35 +01:00
Wenzel Jakob
76260c731d
tonemapper: simple implementation of the bloom filter from 'Physically-Based Glare Effects for Digital Images'
2013-10-26 01:25:23 +02:00
Wenzel Jakob
1ca3ca5a2f
FFT-based convolution: performance improvement when the filter is monochromatic
2013-10-26 01:20:48 +02:00
Wenzel Jakob
257526f6b2
Fast FFT-based image convolution support for large kernels
2013-10-25 22:21:53 +02:00
Wenzel Jakob
dc4ea75259
fixed various minor warnings
2013-10-25 21:33:34 +02:00
Wenzel Jakob
3e6a4c56d5
heightfield: fixed some floating point cast-related warnings when compiling on windows
2013-10-24 22:21:17 +02:00
Wenzel Jakob
4dedbe6427
get rid of Qt-related compilation warnings on OSX/Clang
2013-10-24 22:20:44 +02:00
Wenzel Jakob
0a54a04290
OSX 10.9 font rendering fix
2013-10-24 22:20:21 +02:00
Wenzel Jakob
e36ea4e203
OSX 10.9 compilation fix
2013-10-24 22:20:04 +02:00
Wenzel Jakob
5019f6e04c
mitsuba-python: support for converting between images and bytearrays
2013-10-24 17:26:14 +02:00
Wenzel Jakob
cfc449a0f1
added a new perspective camera model with support for radial distortion
2013-10-23 18:10:55 +02:00
Wenzel Jakob
480e3eb9d5
render settings dialog: always preserve the crop window
2013-10-18 11:25:47 +02:00
Wenzel Jakob
6baac6fb73
disk/rectangle shape: be less paranoid about shear
2013-10-15 15:02:29 +02:00
Wenzel Jakob
f831e0ba99
bugfix
2013-10-10 15:32:01 +02:00
Wenzel Jakob
f60f4ecd42
merge
2013-10-10 15:22:57 +02:00
Wenzel Jakob
8ef468b2bc
heightfield: compute normals in parallel
2013-10-10 15:22:31 +02:00
Wenzel Jakob
e818ef826e
spacing
2013-10-04 18:53:31 +02:00
Wenzel Jakob
e8bc5aeb2a
added heightfield primitive to CMakeLists
2013-10-04 18:51:19 +02:00
Wenzel Jakob
cd435d8166
fix an issue where the reinhard tonemapper reacted to the rendering progress indicators
2013-10-01 12:21:21 +02:00
Wenzel Jakob
f02f0ac801
libpython: Film support
2013-09-30 12:20:06 +02:00
Wenzel Jakob
24720d5bd3
Fixes bug #203 : Fog material reference inside sensor disappears
2013-09-30 11:16:26 +02:00
Wenzel Jakob
126aa5e885
libpython: initial support for emitters
2013-09-27 15:40:53 +02:00
Wenzel Jakob
ab4525afba
photonmapper: fixed shading on the backside of diffuse surfaces
2013-09-26 16:45:28 +02:00
Wenzel Jakob
773085525f
minor double precision compilation fix
2013-09-25 15:12:24 +02:00
Wenzel Jakob
6d52ca9355
minor parameter constness fix
2013-09-17 15:21:25 +02:00
Wenzel Jakob
6bb4be1175
heightfield: added getNormalDerivative, createTriMesh
2013-09-13 14:50:56 +02:00
Wenzel Jakob
139c358647
improved Thread::getID() on Windows
2013-09-12 07:31:12 -07:00
Wenzel Jakob
b1928ed1f2
statistics: further performance improvements on osx
2013-09-12 15:57:25 +02:00
Wenzel Jakob
c900bea6b6
osx fixes
2013-09-12 14:53:35 +02:00
Wenzel Jakob
263d672637
introduced CPU affinity feature, better Thread::getID() function on Linux
2013-09-12 14:18:42 +02:00
Wenzel Jakob
985620a2f4
reenable statistics
2013-09-12 14:18:17 +02:00
Wenzel Jakob
a67da0ef9d
heightfield: fast start
2013-09-11 17:45:02 +02:00
Wenzel Jakob
3ed7a518a3
heightfield: support for transformations, flipNormals parameter
2013-09-11 14:59:13 +02:00
Wenzel Jakob
d9fdeee16b
heightfield: serialization support, toString() method
2013-09-11 11:56:02 +02:00
Wenzel Jakob
6d38247551
shading normal support
2013-09-10 20:33:24 +02:00
Wenzel Jakob
a1f61825ad
initial working height field implementation
2013-09-10 18:44:25 +02:00
Wenzel Jakob
960e16dd4c
more work on heightfield primitive
2013-09-09 11:24:46 +02:00
Wenzel Jakob
36d4bc7ea2
committed nonfunctional version for now
2013-09-06 21:22:46 +02:00
Wenzel Jakob
517a30c369
height field intersection method by Ramsey et al., will revert to something simpler
2013-09-06 18:00:09 +02:00
Wenzel Jakob
70ad3fbd62
add an extra space in memString()
2013-09-06 10:56:36 +02:00
Wenzel Jakob
11452f7c86
Functions to rasterize textures to bitmaps
2013-09-05 15:05:03 +02:00
Wenzel Jakob
d582d8578d
Convienience functions for easily doing arithmetic operations with images of arbitrary types
...
Also added a feature to allow creation of bitmaps over external/temporary memory, which the Bitmap
instance won't deallocate upon its destruction
2013-09-05 15:04:39 +02:00
Wenzel Jakob
326f1533ac
Bitmap::scale convenience function
2013-09-04 17:31:23 +02:00
Wenzel Jakob
e459cdc015
merge
2013-09-04 16:54:14 +02:00
Wenzel Jakob
221a93d67d
merge
2013-08-28 17:11:47 +02:00
Wenzel Jakob
c7257d765d
minor homogeneous numerics fix (reported by Jean-Dominique Gascuel)
2013-08-28 17:11:34 +02:00
Wenzel Jakob
c8d22d3a9d
edge.cpp: Don't allow creating edges with length=0
2013-08-28 17:07:09 +02:00
Wenzel Jakob
a961b49ca7
make the adaptive integrator behave in a nicer way wrt. the stop button (Jean-Dominique Gascuel)
2013-08-28 17:06:07 +02:00
Wenzel Jakob
4bcd5dd408
fix for a BRE issue reported by Jean-Dominique Gascuel
2013-08-25 12:27:25 +02:00
Edgar Velazquez-Armendariz
581115bb77
Merge with default
2013-08-23 16:31:54 -04:00
Wenzel Jakob
9f7e89959d
fix for an issue reported by Jean-Dominique Gascuel
2013-08-20 15:15:05 +02:00
Wenzel Jakob
2f857093e3
initialize m_maxPasses in sppm.cpp
2013-08-19 08:54:27 +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
d8e915771f
fixed a bug reported by Karoly Zsolnai
2013-08-05 14:00:45 +02:00
Wenzel Jakob
e990c3d7f8
integrated latest patches by Edgar
2013-08-02 17:36:28 +02:00
Wenzel Jakob
208283bd7d
better concentric disk mapping code
2013-08-02 17:04:33 +02:00
Wenzel Jakob
29fbd26dc2
added a feature to stop ppm/sppm after a certain number of passes (submitted by Sebastian Koch)
2013-07-24 12:03:23 +02:00
Wenzel Jakob
15604764a8
mfilm documentation fix
2013-07-24 11:40:44 +02:00
Wenzel Jakob
af83b775f2
fixed autofocus feature
2013-07-12 16:41:25 +02:00
Wenzel Jakob
6b6237069a
bugfix for an issue reported by Yoran Bosman
2013-06-06 10:16:21 +02:00
Edgar Velazquez-Armendariz
9215e22c16
Require also GL_EXT_gpu_shader4 for enabling geometry shaders.
...
This fixes issues with Ivy Bridge graphics which support GL_EXT_geometry_shader4
and GL_ARB_geometry_shader4 but not GL_EXT_gpu_shader4 when using GLSL 1.2.
The syntax for geometry shaders in OpenGL 3.2 Core/GLSL 1.5 is quite different
and would require extra porting effort.
2013-06-20 03:28:28 -04:00
Wenzel Jakob
940f51d776
bugfix for an issue reported by Yoran Bosman
2013-06-06 10:16:21 +02:00
Wenzel Jakob
dd28d944c5
seralize the separateAlpha flag
2013-06-03 15:04:25 +02:00
Wenzel Jakob
d406309b03
fix a potential issue in bre.cpp where some photons are not considered during AABB construction
2013-06-03 12:10:10 +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
46fc7940b3
allow tonemapper to work with HDR / PFM images
2013-04-24 12:59:48 -04:00
Wenzel Jakob
c2f39c3961
random.cpp: fixed code bitrot in a commented-out code section
2013-04-09 13:38:33 -04:00
Wenzel Jakob
a0c20094a1
made clipped AABB computation numerically more robust
2013-04-06 20:12:44 -07:00
Wenzel Jakob
318343daf2
photon mapper bugfix
2013-04-06 13:01:04 -07:00
Wenzel Jakob
e02220e782
typo..
2013-04-02 13:32:08 -04:00
Wenzel Jakob
c6c92a7d98
fix to properly handle Fedora library paths
2013-04-02 13:26:49 -04:00
Wenzel Jakob
9f96f09e5f
ldrfilm: fixed a network serialization issue
2013-03-28 20:34:04 -04:00
Wenzel Jakob
491091092d
typo in several Sampler::clone() functions
2013-03-18 17:45:34 +01:00
Wenzel Jakob
fe0624ab87
fixed a typo
2013-03-10 16:39:23 -04:00
Wenzel Jakob
27c7b853da
volpath.cpp: always specify sampler to evalTransmittance()
2013-03-08 14:18:25 -05:00
Wenzel Jakob
13478b5306
incorrect parameter name
2013-03-03 17:26:57 -05:00
Wenzel Jakob
03632fa11c
attempt to fix a photon mapper crash
2013-03-01 21:05:58 -05:00
Wenzel Jakob
e2efbfcfe3
fix an issue where rendered .pfm files got the wrong extension
2013-03-01 17:15:51 -05:00
Wenzel Jakob
f177f80916
merge with ev-cmake
2013-02-28 11:41:47 -05:00
Edgar Velazquez-Armendariz
f514bc4a53
Mark the strings for the metadata and label commands as used.
2013-02-25 15:35:17 -05:00
Wenzel Jakob
5c1c2fe533
removed a duplicated function which caused problems when compiling in spectral mode
2013-02-22 11:51:38 -05:00
Edgar Velazquez-Armendariz
a4fb98c4ca
Fix minor double to float warnings
2013-02-21 01:32:29 -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
3ed9b6f6f1
mitsuba-python: added some casts() to Scene getters
2013-02-17 11:24:52 -05:00
Wenzel Jakob
fbae5af122
fix for another OSX path issue
2013-02-17 11:11:22 -05:00
Wenzel Jakob
c2498b84a7
added a few more python bindings
2013-02-16 15:29:15 -05:00
Wenzel Jakob
de7ea8d38d
fixed some more occurrences of EPoint
2013-02-15 09:18:52 -05:00
Wenzel Jakob
270a2f8064
minor fix for ConstVolume::supportsVectorLookups
2013-02-14 21:30:01 -05:00
Wenzel Jakob
cecbae219f
documentation fix
2013-02-14 21:28:36 -05:00
Wenzel Jakob
ea20e75c38
windows libpython path bugfix
2013-02-12 14:41:49 -08:00
Wenzel Jakob
0554e4cf74
linux bugfix for the previous commit
2013-02-12 13:24:28 -05:00
Wenzel Jakob
a8f3d76b78
moved FileResolver initialization from libpython to libcore -- yet to be tested on Windows and Linux
2013-02-12 02:00:17 -05:00
Wenzel Jakob
e97081619b
merge with ev-cmake
2013-02-12 01:41:08 -05:00
Wenzel Jakob
e3fbedff69
partial changeset
2013-02-12 01:40:38 -05:00
Wenzel Jakob
6f7e52654d
OSX build fix
2013-02-12 00:28:35 -05:00
Wenzel Jakob
d6d0203cb3
initial support for texture baking, i.e. rendering directly to irradiance textures
2013-02-11 23:52:03 -05:00
Wenzel Jakob
175da3a314
rectangle shape: store UV position in sampleArea()
2013-02-11 22:07:38 -05:00
Wenzel Jakob
979e0fa7a0
ptracer: better handling of unscattered emission -> camera paths
2013-02-11 22:07:00 -05:00
Wenzel Jakob
f374df4680
position the cube at the origin for consistency with other shapes
2013-02-11 21:30:02 -05:00
Wenzel Jakob
ea3b5a220a
minor fix to cube shape doc
2013-02-09 01:40:22 -05:00
Wenzel Jakob
d235a19636
thindielectric fresnel bugfix
2013-02-06 21:40:48 -05:00
Wenzel Jakob
a279b7f638
improved reliability of specular perturbations
2013-02-06 21:17:50 -05:00
Wenzel Jakob
d806c6194e
fixed instancing code once more
2013-02-06 21:16:53 -05:00
Wenzel Jakob
30efd3c151
fixed some openmp + TLS/related crashes
2013-02-06 19:40:15 -05:00
Wenzel Jakob
403706fa62
thin dielectric classifies itself incorrectly
2013-02-06 19:39:55 -05:00
Edgar Velazquez-Armendariz
38349fb575
Fix line endings in changeset 190ef16a6266
2013-02-04 16:32:43 -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
01b77d64ee
Get the automatic file resolved path from the mitsuba-core module directly.
...
This way the plugins and other resources would be found when either loading
a mitsuba executable or the Python bindings.
2013-02-02 18:11:49 -05:00
Edgar Velazquez-Armendariz
266b44e404
Initial patches for ARM support [armv7l GNU/Linux]
2013-02-02 10:02:03 -05:00
Edgar Velazquez-Armendariz
bd567511b0
Stricter compatibility with the getopt signature (returns an int, not a char)
...
gcc 4.7.2 in Ubuntu 12.10 detected an issue with assigning the result of getopt
to a char. When getopt returns -1 after exhausting the options, if it is
assigned to a char it sets all its bits to 1. When this result is then tested
for equality to the literal -1, the char was promoted to int, but the byte 0xff
turns into the signed integer 255. Aparently other compiling where assuming -1
is a char-type literal avoiding the conversions.
2013-02-02 09:37:19 -05:00
Edgar Velazquez-Armendariz
4637821c30
Link the executables only agains libcore and librender by default in CMake
2013-02-02 09:26:01 -05:00
Wenzel Jakob
e8937d3a47
regression fix for a mtssrv exception (occurs upon disconnection events)
2013-02-01 13:58:51 -05:00
Wenzel Jakob
49fb2d5028
allow 'g' to vary across spectral channels
2013-02-01 11:31:58 -05:00
Wenzel Jakob
c4045a1066
further restricted roughness range to prevent numerical overflow issues on single precision
2013-01-31 21:19:28 -05:00
Wenzel Jakob
47c175a598
fixed roughcoating preview as well, unified code
2013-01-31 21:04:49 -05:00
Wenzel Jakob
473f75ff6f
rewrote photon mapper lobe selection logic yet once more -- I hope I got it right this time..
2013-01-31 20:53:57 -05:00
Wenzel Jakob
47ef9e2249
smooth coating HW shader fixes
2013-01-31 20:53:17 -05:00
Wenzel Jakob
920aedafb8
minor restructuring
2013-01-31 19:16:28 -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
e8dbfbed75
symlinks_install: don't update .bashrc / .zshrc / .cshrc on OSX
2013-01-29 17:16:20 -05:00
Wenzel Jakob
405c7114fe
removed unnecessary StaticObject call
2013-01-29 11:43:17 -08:00
Wenzel Jakob
52af32c274
last-minute documentation updates
2013-01-29 14:27:43 -05:00
Wenzel Jakob
6ef30de092
added a cube shape, relaxed some of the requirements regarding uniform scales
2013-01-28 23:48:32 -05:00
Wenzel Jakob
f22d130128
aboutdlg.cpp: automatically substitute current MTS_YEAR
2013-01-28 22:16:26 -05: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
443983a28c
Fix a warning found by gcc 4.7.2 in Fedora 17
2013-01-28 21:00:24 -05:00
Edgar Velazquez-Armendariz
dac7cf679a
Removed unused header core/stl.h
2013-01-28 20:50:51 -05:00
Edgar Velazquez-Armendariz
6177d56456
Merge with upstream
2013-01-28 20:28:12 -05:00
Wenzel Jakob
568baf1c89
windows compilation fixes
2013-01-28 17:24:33 -08:00
Edgar Velazquez-Armendariz
b2f7093288
Reflect the changes in 3e28c60a38c2 in the CMake build system
2013-01-28 20:14:12 -05: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
ddde0f655c
finished track.cpp move
2013-01-28 19:25:56 -05:00
Wenzel Jakob
3fb80bc0ce
moved animation track class to libcore
2013-01-28 19:24:59 -05:00
Wenzel Jakob
3f638065cf
fixed osx typo
2013-01-28 18:50:43 -05:00
Wenzel Jakob
874a392336
merged motion blur branch, updated version
2013-01-28 17:44:47 -05:00
Wenzel Jakob
89c1caed9b
added fancy annotations to ldrfilm
2013-01-28 17:04:12 -05:00
Wenzel Jakob
aaa16f129c
added OSX support
2013-01-28 16:48:23 -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
c52c076364
Also allow TLS to access the dying thread during Thread::staticShutdown
2013-01-28 01:53:40 -05:00
Wenzel Jakob
9824c000fd
fixed some invalid conditionals in RoughDiffuse, which kept texturing from working
2013-01-28 00:52:59 -05:00
Wenzel Jakob
f9733089fd
fixed an annoying error message about the 'focalLength' parameter when duplicating the tab of a scene made in Blender
2013-01-27 23:26:00 -05:00
Wenzel Jakob
b3bde09b8a
merge
2013-01-27 21:11:08 -05:00
Wenzel Jakob
4bc95de8dc
BSDF sampling: increased resilience to numerical corner-cases
2013-01-27 21:10:59 -05:00
Wenzel Jakob
1505fd7c02
vector vs point confusion in constvolume.cpp
2013-01-27 20:46:52 -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
87183a7534
replaced some std::log/exp calls by the math::fastlog/exp equivalent
2013-01-27 19:50:49 -05:00
Wenzel Jakob
58c61d2959
put back some comments
2013-01-27 18:02:22 -05:00
Edgar Velazquez-Armendariz
de7eb79521
Fix warnings detected by MSVC in libcore/bitmap.cpp
2013-01-26 23:35:02 -05:00
Edgar Velazquez-Armendariz
50d596ece7
Merge with upstream
2013-01-26 23:12:34 -05:00
Edgar Velazquez-Armendariz
4f9315ae1a
Fix to the TLS fix - deletes the local TLS data in the reverse order of creation
...
The previous fix also had a conceptual error: it allowed the per-thread map to
be modified concurrently, as the behavior of map::find/map::operator[] is to
insert a new element with that key if it is not found.
Also this new fix uses a recursive mutex (also available in C++11) as the same
thread will aquire the lock during conditions such as destruction, e.g. a TLS
entry querying the current thread for logging as part of its destructor.
2013-01-26 23:08:11 -05:00
Edgar Velazquez-Armendariz
986a0fc91e
Fix compilation for spectral versions of PyMitsuba
2013-01-26 21:45:09 -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
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
6021ee09f9
handle some rare/odd cases where a medium surrounds the camera and a distant environment map
2013-01-24 20:06:31 -05:00
Edgar Velazquez-Armendariz
fb857d67e5
Make the stream cache the serialized plugin thread-local
2013-01-24 14:34:23 -05:00
Edgar Velazquez-Armendariz
8e372a61b7
Fix a deadlock and improve query performance in TLS.
...
While cleaning up TLS resources, some destructors might still query for the
thread which is currently being shut down; logging is a very common case.
This patch causes the TLS implementation to use the lock only when the data
has not been created yet, improving performance and fixing that deadlock.
2013-01-24 14:31:55 -05:00
Edgar Velazquez-Armendariz
f824e5861d
Merge with upstream
2013-01-23 16:45:27 -05:00
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
9daefeb800
started to rewrite the heightfield code from scratch
2013-01-04 09:04:24 -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
06b0562154
new branch to implement displacements based on work by Milos. Step 1: heightfields!
2012-10-22 19:30:47 -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
Wenzel Jakob
72f93cf39c
bugfixes for some potential crash causes
2012-10-02 17:55:37 -04:00
Wenzel Jakob
28cc078b73
gaaah
2012-10-02 17:36:27 -04:00
Edgar Velazquez-Armendariz
5a52b2f7ef
Use the Unicode function to load plugins on Windows.
...
In boost::filesystem v3 paths on windows are natively Unicode. This avoids
unnecessary encoding conversions by using the internal native representation of
boost::filesystem::path
2012-10-02 17:30:55 -04:00
Wenzel Jakob
17ea59e43f
argument size should be specified in TCHARs according to MSDN
2012-10-02 17:21:35 -04:00
Edgar Velazquez-Armendariz
1a59975481
Workaround for using PCH with the Ninja generator for mtsimport
2012-10-02 15:38:49 -04:00
Wenzel Jakob
de9f47ce5a
merge
2012-10-02 14:38:29 -04:00
Edgar Velazquez-Armendariz
3a29f9bbe2
Support FP exception functions in OS X even is SSE is not enabled
2012-10-02 14:23:55 -04:00
Edgar Velazquez-Armendariz
4b2e9c3292
Fix a compilation problem in spectral mode
2012-10-02 12:54:18 -04:00
Wenzel Jakob
f69b226d97
potential fix for the '/' issue on windows
2012-10-02 10:25:02 -04:00
Wenzel Jakob
9dabb85b67
whoops, the last commit broke compilation on Linux
2012-10-01 01:00:50 -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
8f9a325a2d
linker fix
2012-09-30 22:21:52 -04:00
Edgar Velazquez-Armendariz
1f9ef5bb3f
Merge with default
2012-10-01 15:14:25 -04:00
Wenzel Jakob
3a1e890a55
linker fix
2012-09-30 22:21:52 -04:00
Wenzel Jakob
fa8b555d49
added teaser renderings from the manifold paper to the ERPT/MEPT documentation
2012-09-30 18:56:30 -04:00
Wenzel Jakob
c8b9ef4208
'POSIX Threads for WIN32' is not used by Mitsuba anymore
2012-09-30 17:52:38 -04:00
Wenzel Jakob
0edfcfbc89
updated acknowledgments, finished ERPT documentation, added an extra check to suppress some NaNs
2012-09-30 17:47:20 -04:00
Wenzel Jakob
f17010e1f1
ocd
2012-09-30 04:23:54 -04:00
Wenzel Jakob
91b9668aa0
documentation improvements, some subtle gui improvements, revived MEMLT
2012-09-30 03:40:18 -04:00
Wenzel Jakob
d83a7bae52
MLT documentation improvements
2012-09-30 00:34:29 -04:00
Wenzel Jakob
8f25f1ee46
finished PSSMLT documentation
2012-09-28 22:42:09 -04:00
Wenzel Jakob
35df0e21ef
icon and documentation update
2012-09-28 22:36:29 -04:00
Wenzel Jakob
f3b0d060b2
added a figure to describe BDPT
2012-09-28 20:58:52 -04:00
Wenzel Jakob
07b5a8d203
merge
2012-09-28 20:55:12 -04:00
Wenzel Jakob
f31ebc3fe6
some work on the documentation
2012-09-28 20:55:01 -04:00
Edgar Velazquez-Armendariz
7b91595afb
Set up the QCoreApplication information inside the custom class constructor.
2012-09-28 17:41:25 -04:00
Edgar Velazquez-Armendariz
3a53f4b45d
Specify the organizacion, domain and app name at the top QCoreApplication level.
...
This way it is possible to create instances of QSettings using the default
constructor while using the right information. This also allows a single point
to change the application information in the future.
2012-09-28 15:40:43 -04:00
Wenzel Jakob
1d8d2e0304
forgot one
2012-09-27 23:02:54 -07:00
Wenzel Jakob
15ca0811a0
fixed a few boost::filesystem string issues
2012-09-27 23:00:45 -07:00
Wenzel Jakob
cb7d958f86
oops, one icon was in the wrong place
2012-09-27 20:57:22 -04:00