Wenzel Jakob
9f7363adab
typo fix
2013-12-08 02:42:00 +01:00
Wenzel Jakob
5b0c09dbd0
extensions to mmap.cpp, some macro cleanups
2013-12-08 02:33:12 +01:00
Wenzel Jakob
884136580d
MemoryMappedFile::toString() method, cleanup of constants.h
2013-12-08 00:47:43 +01:00
Wenzel Jakob
d158059502
merge
2013-12-04 16:58:10 +01:00
Wenzel Jakob
4e1188b08a
port of the previous change to Linux/OSX
2013-12-04 16:57:55 +01:00
Wenzel Jakob
4f61786b71
sstream.cpp: do a better job at handling the EINTR signal in recv() and send()
2013-12-04 16:50:03 +01:00
Wenzel Jakob
0a36d14aeb
added Bitmap::copyFrom method
2013-12-03 23:13:41 +01:00
Wenzel Jakob
f6c379fb87
get rid of annoying warning messages on OSX
2013-12-03 22:32:18 +01:00
Wenzel Jakob
6777864990
fix a cleanup-handler related issue in sstream.cpp / sched_remote.cpp
2013-12-03 15:42:40 +01:00
Wenzel Jakob
45425b64c4
mmap.cpp: when creating a memory-mapped file on windows, only allow concurrent read access
2013-11-29 18:55:35 +01:00
Wenzel Jakob
afca59d426
mmap.cpp: be more relaxed about files already existing (and potentially being used by other Mitsuba instances) -- by Michael Zeilfelder
2013-11-29 18:52:42 +01:00
Wenzel Jakob
4ccee2340a
fixed typo (reported by Michael Zeilfelder)
2013-11-29 15:40:15 +01:00
Wenzel Jakob
a2591285d7
PyQt example: a few more refinements
2013-11-27 13:25:33 +01:00
Wenzel Jakob
73b6dc4ce2
mmap: don't throw exceptions in destructor..
2013-11-27 12:49:03 +01:00
Wenzel Jakob
fd7400593a
committing some missing parts
2013-11-26 17:48:33 +01:00
Wenzel Jakob
307e345f4d
better handling of errors while evaluating C++ -> python callbacks (show a backtrace in the Mitsuba log)
2013-11-26 17:43:53 +01:00
Wenzel Jakob
da0d5238ee
get rid of minor warnings
2013-11-25 15:43:27 +01:00
Wenzel Jakob
43223d78d3
Python plugin improvements, cleanups
2013-11-23 14:46:35 +01:00
Wenzel Jakob
12531458ac
fixed Thread::registerUnmanagedThread, minor cleanups
2013-11-21 01:55:59 +01:00
Wenzel Jakob
b68a38ed9a
improved bump and normal mapping support
2013-11-15 16:47:35 +01:00
Wenzel Jakob
38fced0f53
Don't try to set CPU affinity if running inside Valgrind
2013-11-14 15:37:49 +01:00
Wenzel Jakob
9bc91123c6
fixed thread safety issue in FFT-based Bitmap::convolve
2013-11-13 11:12:06 +01:00
Wenzel Jakob
dccb7554ea
compilation fixes for visual studio 2013
2013-11-07 07:21:54 -08:00
Wenzel Jakob
9c9d8b833c
typo in square to concentric warp
2013-11-05 17:09:00 +01:00
Wenzel Jakob
83c1505148
Python API imporovements, part 1
2013-11-03 15:00:21 +01:00
Wenzel Jakob
32c9e953e8
bitmap texture: feature to create a texture based on individual image channels
2013-10-30 23:01:27 +01:00
Wenzel Jakob
7669f09d44
improved Bitmap python bindings, added a Bitmap::getChannelName function
2013-10-30 22:23:58 +01:00
Wenzel Jakob
5aa247c89d
release FFTW-related memory at shutdown time
2013-10-28 13:08:25 +01:00
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
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
6d52ca9355
minor parameter constness fix
2013-09-17 15:21:25 +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
70ad3fbd62
add an extra space in memString()
2013-09-06 10:56:36 +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
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
208283bd7d
better concentric disk mapping code
2013-08-02 17:04:33 +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
c2f39c3961
random.cpp: fixed code bitrot in a commented-out code section
2013-04-09 13:38:33 -04: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
f177f80916
merge with ev-cmake
2013-02-28 11:41:47 -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
fbae5af122
fix for another OSX path issue
2013-02-17 11:11:22 -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
30efd3c151
fixed some openmp + TLS/related crashes
2013-02-06 19:40:15 -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
Wenzel Jakob
e8937d3a47
regression fix for a mtssrv exception (occurs upon disconnection events)
2013-02-01 13:58:51 -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
Wenzel Jakob
568baf1c89
windows compilation fixes
2013-01-28 17:24:33 -08: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
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
5fc2db6387
better error messages for Transform::lookAt()
2013-01-27 20:21: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
Wenzel Jakob
4d75c69d4a
proper metadata support for the Bitmap class (mainly for OpenEXR I/O)
2013-01-25 21:12:04 -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
Wenzel Jakob
351890a5cf
convenience code for applying color matrices to bitmaps
2013-01-16 01:11:20 -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
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
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
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
Wenzel Jakob
cb31210614
moved associated legendre function implementation
2012-11-04 01:50:58 -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