Commit Graph

1433 Commits (25ddbb963bcc2c5818a746cde2dbdb69ef9b1bc4)

Author SHA1 Message Date
Wenzel Jakob 74a7d81fac mfilm.cpp: support for writing NumPy files (submitted by Joe Kider) 2014-02-04 18:02:01 +01:00
Wenzel Jakob d4f8d9a645 removed a stray 'cout' call 2014-01-29 12:09:27 +01:00
Wenzel Jakob 634dda3272 fixed typos and writing issues reported by William Newman 2014-01-28 20:52:01 +01:00
Wenzel Jakob c0ec0ea854 extra checks in the manifold perturbation 2014-01-28 01:25:45 +01:00
Wenzel Jakob 69180c13ce nicer spin box for entering double values; fixed OSX layout issues 2014-01-28 01:21:34 +01:00
Wenzel Jakob 329046ca03 finally killed the issue that prevented Mitsuba from running on Windows 8. The issue reported on the Mitsuba blog some weeks ago was in fact a bug in the OpenGL implementation of Parallels VM 2014-01-28 00:20:28 +01:00
Wenzel Jakob 2a0ffd1ceb several MLT-related improvements submitted by Anton Kaplanyan 2014-01-27 18:47:32 +01:00
Wenzel Jakob 3446283c9e patch submitted by Anton Kaplanyan: reset the statistics in the GUI when starting a new rendering job. Also make sure the statistics GUI button always shows something even when the default log level is set to EWarn or EError 2014-01-27 18:33:23 +01:00
Wenzel Jakob a3b43613ac rendersettingsdlg: some great usability improvements submitted by Anton Kaplanyan 2014-01-27 18:10:38 +01:00
Wenzel Jakob 369dcf06fc fixed shader code that could potentially cause a warning to be emitted; submitted by Anton Kaplanyan 2014-01-27 17:01:12 +01:00
Wenzel Jakob 43b15055d5 libbidir: PathVertex fixes submitted by Anton Kaplanyan 2014-01-27 16:55:01 +01:00
Wenzel Jakob 24d358db43 fixed potential out of bounds array access 2014-01-27 10:10:09 +01:00
Edgar Velazquez-Armendariz 188ff6f690 Always use the NVIDIA GPU on Optimus laptops with mtsgui. 2014-01-27 00:37:09 -05:00
Edgar Velazquez-Armendariz 550c5d2b01 Merge with default 2014-01-26 23:34:33 -05:00
Edgar Velazquez-Armendariz a584b92ce0 Initial support for FFTW3 using CMake. 2014-01-26 23:33:43 -05:00
Edgar Velazquez-Armendariz fabcf51595 Workaround an error while loading libcore in Windows introduced by 79825f593d9d
When loading the DLL the static initialization order is compiler-dependent.
By having StatsCounter objects at the global level they were created before
the Statistics (another global, static object) instance was available.
A longer-term fix would be creating the Statistics instance on demand, during
the getInstance() call, using something like InitOnceExecuteOnce().
2014-01-26 02:48:44 -05:00
Edgar Velazquez-Armendariz 13e63e66df Explicit downcasting to float part 2.
Converting double to half includes an implicit intermediate cast to float.
That cast can be explicit through template specialization.
2014-01-26 02:44:12 -05:00
Wenzel Jakob 15582bacf8 python library: add Timer::reset overload 2014-01-26 07:29:35 +01:00
Edgar Velazquez-Armendariz 7962cd2e20 Explicit downcasting to float. 2014-01-26 01:14:57 -05:00
Edgar Velazquez-Armendariz a0667c0422 Specify the material constants as floats to avoid downcasting warnings. 2014-01-26 00:11:40 -05:00
Edgar Velazquez-Armendariz f86dedbe26 Merge with default 2014-01-25 23:50:10 -05:00
Edgar Velazquez-Armendariz ac1b1e04a7 In MSVC 2012 x64 debug mode, render.cpp also needs the /bigobj flag. 2014-01-25 21:26:51 -05:00
Edgar Velazquez-Armendariz dd03cbd2d9 Initial support for using the built-in dependencies version of Python.
In CMake it is only possible to use one version of Python at any given time.
2014-01-25 16:51:16 -05:00
Edgar Velazquez-Armendariz 498a1f1e89 Use the same preprocessor definitions as SCons for COLLADA 2.4. 2014-01-25 16:28:01 -05:00
Wenzel Jakob 0a6b35d9a5 removed unused function 2014-01-14 18:25:50 +01:00
Wenzel Jakob e66f768558 libpython fixes involving refract() and the type hierarchy of the normal data structure 2014-01-14 15:38:51 +01:00
Wenzel Jakob bcb94a6f4a improved constrained crop feature 2014-01-14 00:54:52 +01:00
Wenzel Jakob 31fc89690d ask the user whether to stop a rendering process when accidentally dragging the mouse in an ongoing rendering session 2014-01-14 00:46:14 +01:00
Wenzel Jakob d432f51ae6 Write the rendering time early enough so that it makes it into the EXR metadata. Also don't include the film processing and image compression time in the reported rendering time (d'uh..) 2014-01-14 00:22:02 +01:00
Wenzel Jakob 21738f7b59 Batch tonemapper: allow specifying the desired resampling filter 2014-01-14 00:11:12 +01:00
Wenzel Jakob 59345881a0 mtsgui: constrain crop window to a square when the user presses the shift key 2014-01-12 19:19:51 +01:00
Wenzel Jakob ec0bd29576 fix mtssrv signal-related issue on OSX (mtssrv aborts when a client disconnects mid-session) 2014-01-12 15:47:35 +01:00
Wenzel Jakob 155cb3b83a mtsgui: conveniently switch between tabs using Alt+Left and Alt+Right 2014-01-11 22:02:16 +01:00
Wenzel Jakob 8bbb097936 add an implicit conversion to libpython 2014-01-11 17:44:36 +01:00
Wenzel Jakob a59c99a996 bugfixes 2014-01-06 14:09:05 +01:00
Wenzel Jakob e6f4b4167c more collada bugfixes 2014-01-05 20:08:27 +01:00
Wenzel Jakob 7df6831aa3 collada import bugfix 2014-01-05 20:01:14 +01:00
Wenzel Jakob fa07971698 minor improvement to libpython 2013-12-31 17:54:05 +01:00
Wenzel Jakob ea3d61da15 added missing PerspectiveCamera::getDiagonalFov() function 2013-12-29 14:31:46 +01:00
Wenzel Jakob b5148cdfa3 new <default> XML tag, which creates a default value for a parameter that has not been specified on the command line 2013-12-28 18:37:16 +01:00
Wenzel Jakob f3d725085c improved the robustness of rebuildTopology() 2013-12-22 15:42:26 +01:00
Wenzel Jakob e5e4e56512 OSX fixes 2013-12-20 13:12:36 +01:00
Wenzel Jakob ccad33b21d added getTotalSystemMemory() function 2013-12-20 12:12:36 +01:00
Wenzel Jakob d1638ca45c windows fixes 2013-12-19 23:17:29 +01:00
Wenzel Jakob c97ea5f1cb mmap.cpp: also added createTemporary() support 2013-12-19 23:05:31 +01:00
Wenzel Jakob a5c13d4469 windows compilation fix 2013-12-19 06:56:30 -08:00
Wenzel Jakob ef0979b15e support for easy creation of temporary files 2013-12-19 15:03:15 +01:00
Wenzel Jakob 6e7ce77165 minor improvements to the heightfield shape 2013-12-19 11:40:24 +01:00
Wenzel Jakob 30a665bead height field improvements 2013-12-18 18:52:37 +01:00
Wenzel Jakob 31761b3afd nicer error handling in the tonemapper when given the -t parameter 2013-12-18 14:48:36 +01:00
Wenzel Jakob f24b51666a sstream.cpp: better error reporting when things go wrong (specifically, say which host is responsible) 2013-12-13 17:02:21 +01:00
Wenzel Jakob a424a29602 added a new Texture::isMonochromatic function 2013-12-10 17:02:07 +01:00
Wenzel Jakob 3d7592cf6e libpython: some fixes to the Intersection data structure bindings 2013-12-10 00:39:08 +01:00
Wenzel Jakob 1938d00659 libpython: bindings for the Sensor class 2013-12-10 00:09:37 +01:00
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 065974cd83 fix for previous renderqueue extension 2013-12-03 15:47:11 +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 687b56e73d RenderListener::workEndEvent now includes a flag on whether the work unit was finished successfully 2013-12-03 11:50:20 +01:00
Wenzel Jakob b17916e679 quench some minor warnings 2013-12-02 11:25:48 +01:00
Wenzel Jakob 15a872eae0 undoing font fix due new Qt dependencies 2013-12-02 09:44:43 +01:00
Wenzel Jakob 2331b16f54 mtsgui: added support for -a, -h, and -p command line parameters known from the 'mitsuba' executable 2013-12-01 22:38:55 +01:00
Wenzel Jakob 3d84105a47 numpy support 2013-12-01 18:22:01 +01:00
Wenzel Jakob c3d4b5a08c libpython: Timer bindings, plus a few other functions from util.h 2013-11-30 22:32:28 +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 bb1da93876 Python-baed scene construction: fixed an issue reported by Sina Honari 2013-11-29 16:36:34 +01:00
Wenzel Jakob 4ccee2340a fixed typo (reported by Michael Zeilfelder) 2013-11-29 15:40:15 +01:00
Wenzel Jakob 88be826331 fixed minor issue in AreaLight::toString() 2013-11-29 15:30:07 +01:00
Wenzel Jakob 3781651694 SConscript indentation fix 2013-11-28 09:19:20 +01:00
Wenzel Jakob be8275749d some linker flag fixes 2013-11-27 15:32:48 +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 96832ab70d yet more refinements to the fancy PyQt integration example + necessary code adaptations 2013-11-26 22:54:26 +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 e1ca7a514e further cleanups 2013-11-26 15:06:56 +01:00
Wenzel Jakob 3e2516ab99 got rid of some minor warnings, Python code cleanups 2013-11-26 14:30:49 +01:00
Wenzel Jakob da0d5238ee get rid of minor warnings 2013-11-25 15:43:27 +01:00
Wenzel Jakob dc8d3bf782 libpython: enable rendering callbacks in python & a few minor cleanups 2013-11-25 12:44:21 +01:00
Wenzel Jakob df12c58e77 minor improvements to libpython and setpath.sh 2013-11-25 01:12:44 +01:00
Wenzel Jakob 454ad0bf54 minor fixes 2013-11-24 15:56:58 +01:00
Wenzel Jakob 43223d78d3 Python plugin improvements, cleanups 2013-11-23 14:46:35 +01:00
Wenzel Jakob c923b2ab37 added accidentally deleted brace 2013-11-21 09:50:50 +01:00
Wenzel Jakob 12531458ac fixed Thread::registerUnmanagedThread, minor cleanups 2013-11-21 01:55:59 +01:00
Wenzel Jakob 4f23557e4e libpython: native buffers for Bitmap objects 2013-11-21 01:30:35 +01:00
Wenzel Jakob 87ca4956d1 merge 2013-11-20 23:32:25 +01:00
Wenzel Jakob 0492cc81d3 Film implementations: don't write bitmap output files if destFile='' 2013-11-20 23:32:00 +01:00
Wenzel Jakob 961848cc81 PLY file compatibility improvements 2013-11-20 21:38:19 +01:00
Wenzel Jakob 0e15285403 serialized shape: assign name in a better way 2013-11-20 11:30:45 +01:00
Wenzel Jakob d0dc0d9f36 Support for quickly importing geometry directly from Blender-internal memory 2013-11-19 22:45:22 +01:00
Wenzel Jakob 0ee249c434 support for constructing triangle meshes from within python 2013-11-18 16:46:42 +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