Commit Graph

252 Commits (5286c8aa4a8d381047527c4fe03e9ba12aadf607)

Author SHA1 Message Date
Wenzel Jakob 5dcf9d8380 a few bugfixes for the OBJ loader (regarding unsuccessful material imports and incorrect object names) 2011-01-06 19:31:45 +01:00
Wenzel Jakob 55ba3887bd moved the re-centering feature to the OBJ loader, where it makes more sense 2010-12-08 11:35:56 +01:00
Wenzel Jakob 2131a1b2d0 re-centering feature 2010-12-08 10:44:47 +01:00
Wenzel Jakob a046fdf1d0 crash bugfix for network-based particle tracing applications 2010-12-08 01:40:15 +01:00
Wenzel Jakob 04d26f0dae backported a bunch of serious bugfixes from the bidirectional branch 2010-12-01 11:33:11 +01:00
Wenzel Jakob c2d7903f54 much nicer FP exception system 2010-12-01 00:46:06 +01:00
Wenzel Jakob 4625fa6241 bugfix regarding missing position UV partials 2010-11-30 20:41:42 +01:00
Wenzel Jakob 68b72fbe60 various bugfixes 2010-11-30 18:56:48 +01:00
Wenzel Jakob 2131bdb817 initial support for computing shading normals with a specifiable angle cutoff, switched to Thuermer-Wuethrich-style smooth normal computation 2010-11-25 20:40:28 +01:00
Wenzel Jakob d631da2187 miscellaneous bugfixes 2010-11-21 02:50:15 +01:00
Wenzel Jakob 87ac8b57bd generalized the XML schema 2010-11-19 14:07:14 +01:00
Wenzel Jakob df1a3fc3ba got it to compile 2010-11-16 17:20:24 +01:00
Wenzel Jakob ceaa1907c0 miscellaneous bugfixes, animated instance 2010-11-16 14:59:52 +01:00
Wenzel Jakob c7c6d32579 more work on importing animations 2010-11-16 10:36:49 +01:00
Wenzel Jakob aaa9fe74f5 more work on animation support 2010-11-16 01:00:37 +01:00
Wenzel Jakob 02d6129df9 store imported geometry more compactly 2010-11-15 20:51:31 +01:00
Wenzel Jakob c82899de89 expose texture wrapping 2010-11-14 14:27:32 +01:00
Wenzel Jakob a5b07f06ab matrices and linear transformations are now stored on the stack 2010-11-12 15:09:37 +01:00
Wenzel Jakob 37d06c5623 instancing works 2010-11-12 11:03:43 +01:00
Wenzel Jakob 2a53d3240f changed the way that luminaire importance sampling works -- now, a sampling weight can be specified 2010-11-11 21:52:49 +01:00
Wenzel Jakob 701af0aa4b kd-tree generalizations 2010-11-09 15:35:27 +01:00
Wenzel Jakob fee7a12934 Make the AABB class more general 2010-11-09 14:45:12 +01:00
Wenzel Jakob 437169e4b4 support scaling and translating textures 2010-11-05 01:03:13 +01:00
Wenzel Jakob 5869939692 fixed a potential epsilon issue 2010-11-02 01:16:56 +01:00
Wenzel Jakob a969d525d2 correctly compute the bounding sphere 2010-11-02 00:46:52 +01:00
Wenzel Jakob 7036116997 further documentation updates 2010-10-31 16:20:58 +01:00
Wenzel Jakob 0a611c51dd bugfix for the previous patch :) 2010-10-25 23:44:38 +02:00
Wenzel Jakob 3fe72bb927 more helpful error message when finding outdated .serialized files 2010-10-25 23:41:16 +02:00
Wenzel Jakob aecd28dc8d bug-hunt, fixed some hair-shape related issues 2010-10-25 22:36:30 +02:00
Wenzel Jakob 707bb4a2ac faster+more approximate micro-flake sampling 2010-10-25 17:18:10 +02:00
Wenzel Jakob a3842d5e2c realtime preview: render triangle approximations of analytic shapes 2010-10-25 09:05:30 +02:00
Wenzel Jakob 90d488d3ba kd-tree visualization mode 2010-10-24 16:17:39 +02:00
Wenzel Jakob 0013e696f7 fixed some accuracy issues 2010-10-24 14:14:12 +02:00
Wenzel Jakob 0e1534e863 the hair primitive works, made shadow ray intersections faster 2010-10-24 00:22:44 +02:00
Wenzel Jakob 543c43509c fixed SSS material 2010-10-21 12:02:10 +02:00
Wenzel Jakob 36c341f1a7 fixed various win64 compilation problems 2010-10-19 21:04:47 +02:00
Wenzel Jakob d4d34dfd0f windows compilation fixes 2010-10-18 16:44:54 -07:00
Wenzel Jakob 19eb23b13f Fix bug #12 reported by Jirka Vorba (propagate named objects between included files) 2010-10-18 23:26:15 +02:00
Wenzel Jakob 69dd286edc cylinders work again 2010-10-18 22:59:07 +02:00
Wenzel Jakob e77e1096de sphere works again, initial support for coherent RT with non-tri shapes 2010-10-18 19:20:20 +02:00
Wenzel Jakob c42f31751d slimmed down the shape interface 2010-10-17 00:08:55 +02:00
Wenzel Jakob 917c142312 MIPMap: be more resilient to infinities 2010-10-16 15:24:47 +02:00
Wenzel Jakob 2db91b43f9 scale ray differentials to increase texture sharpness when rendering with multiple samples (idea from PBRTv2) 2010-10-16 12:46:36 +02:00
Wenzel Jakob b4f4bf55f7 be lenient when texturing objects without texture coordinates 2010-10-16 12:29:58 +02:00
Wenzel Jakob 781006c968 support face normals in the preview 2010-10-16 04:01:21 +02:00
Wenzel Jakob d6e0638ceb bugfixes 2010-10-16 02:03:38 +02:00
Wenzel Jakob d788010885 committed a number of accumulated architectural changes (see body for details)
- primitive clipping is now more paranoid about roundoff errors
- significantly improved the kd-tree benchmark "kdbench"
- fixed a parallelization-related bug in the kd-tree builder
- fixed some remaining floating point issues in the min-max binning code
- completely moved TriMesh over to a more compact SoA representation
- the OpenGL renderer now sends smaller packets of geometry to the GPU, which
  helps keep the operating system more responsive (NVidia drivers didn't like
  the previous behavior much).
2010-10-16 00:33:32 +02:00
Wenzel Jakob a1b8d2266d copied over coherent RT code from the previous KDTree impl. 2010-10-14 01:00:42 +02:00
Wenzel Jakob b2679e8adc allow to disable the preview 2010-10-13 23:20:20 +02:00
Wenzel Jakob 6a173cb9fd cleanups 2010-10-13 20:56:13 +02:00
Wenzel Jakob 7f4d55bdbd some bugfixes, PBRT-style traversal routine 2010-10-13 19:19:30 +02:00
Wenzel Jakob 30d7e45479 rendering using the new tree code now works 2010-10-13 12:28:09 +02:00
Wenzel Jakob 3fa45c6cb2 integration of the new kd-tree implementation (no coherent RT yet) 2010-10-13 05:15:52 +02:00
Wenzel Jakob a5736bd8ba lots of bugfixes 2010-10-12 14:51:30 +02:00
Wenzel Jakob 5e7839b9b7 record SAH costs of the old implementation 2010-10-12 11:36:21 +02:00
Wenzel Jakob 05266a5033 merge with default branch 2010-10-07 18:57:44 +02:00
Wenzel Jakob 8351aa5b02 extended the remaining medium classes to handle compound stencil geometry 2010-10-06 21:56:36 +02:00
Wenzel Jakob 5da46517da the initial clustering step works 2010-10-06 02:27:20 +02:00
Wenzel Jakob 4bb5e8c3d6 vertex color and PLY loading support 2010-09-28 19:47:16 +02:00
Wenzel Jakob 121f49d05a forgot to add file in last commit 2010-09-20 23:24:08 +02:00
Wenzel Jakob ff1a21b496 work around a nasty code generation issue on OSX (gcc 4.2) 2010-09-20 23:14:33 +02:00
Wenzel Jakob 686030ef7e feature to track down use of unitialized values (initialize vectors etc. with NaNs if a compile-time flag is set) 2010-09-20 20:50:30 +02:00
Wenzel Jakob 46dcdc4100 work on sutherland-hodgman, allow to set log level to errors only 2010-09-16 02:30:47 +02:00
Wenzel Jakob 768bacccdc windows compilation bugfixes, removed many warnings 2010-09-14 15:53:11 -07:00
Wenzel Jakob 773c9a8643 Fix bug #6 and some initialization related errors 2010-09-14 02:31:28 +02:00
Wenzel Jakob 74f6e540e2 Support for canceling preprocess tasks -- fixes Bug #9 2010-09-14 01:45:24 +02:00
Wenzel Jakob 59ff88d45a initialization-related bugfixes 2010-09-14 00:51:09 +02:00
Wenzel Jakob fe4b174e52 more cleanups 2010-09-14 00:13:27 +02:00
Wenzel Jakob a5035b6b10 partial rewrite part 2, the project now fully compiles again 2010-09-13 21:19:04 +02:00
Wenzel Jakob 8e7fdb48dc Partial rewrite, part 1. Does not fully compile yet
- Switched vectors classes to templates
- Moved most path handling over to boost_filesystem
- Nicer include file structure
- Better documentation for libcore
- Doxygen support
- Vector/Point/etc. data structures are now unitialized by default!
2010-09-10 03:14:48 +02:00
Wenzel Jakob 1c8f3f0745 fixed coherent ray tracer intensities for point sources 2010-09-08 02:17:46 +02:00
Wenzel Jakob 3de850f4e2 fix point sources in the RTRT preview 2010-09-08 01:55:50 +02:00
Wenzel Jakob ae39518ca0 fixed a glaring bug related to Phong/Ward/Microfacet and textures, Faster ldrtexture loading times 2010-09-07 21:50:30 +02:00
Wenzel Jakob 8486931b30 Nicer testcase framework, eigendecomposition support 2010-09-05 21:17:35 +02:00
Wenzel Jakob 3d3048f7de convert module names to lower case 2010-09-05 15:36:23 +02:00
Wenzel Jakob ab7961df0c use less compression when serializing geometry files (much faster) 2010-09-03 00:24:44 +02:00
Wenzel Jakob 0f1158c678 added copyright headers to all relevant source files 2010-09-02 23:41:20 +02:00
Wenzel Jakob 1cf68695d2 removal of unused code 2010-09-02 21:52:25 +02:00
Wenzel Jakob 9fcc46643b adaptive ray epsilon 2010-09-02 21:50:17 +02:00
Wenzel Jakob 1c60e7368d testcase support -- see 'test_samplers.cpp' for an example 2010-09-02 17:57:04 +02:00
Wenzel Jakob 906f5910fd import transparent surfaces 2010-08-31 23:38:23 +02:00
Wenzel Jakob 6e181dcab3 better deal with zero-area triangles, misc. fixes 2010-08-31 22:32:34 +02:00
Wenzel Jakob e2b860610c matrix support 2010-08-31 03:35:45 +02:00
Wenzel Jakob a00438551f collada import of SketchUp scenes improved, still buggy 2010-08-31 02:36:12 +02:00
Wenzel Jakob 02c47237a7 vast collada importer improvements, incomplete bmp loading support 2010-08-31 00:23:34 +02:00
Wenzel Jakob 715a854199 merged with main branch 2010-08-30 21:41:35 +02:00
Wenzel Jakob 2650e9f5cb transparent compression support 2010-08-30 21:40:32 +02:00
Wenzel Jakob 45b381d0ac fixed infinite recursion possibility in the VPL generator 2010-08-30 10:14:24 +02:00
Wenzel Jakob 723e8d951f fixed obj serialization issues 2010-08-27 15:33:22 +02:00
Wenzel Jakob 37a5def9b4 fixed ray epsilon issue found by Michael Holroyd 2010-08-26 15:35:57 +02:00
Wenzel Jakob 76e6ac6322 mtsimport now works with OBJs 2010-08-20 00:45:52 +02:00
Wenzel Jakob 5745233216 merged with main branch 2010-08-19 09:15:03 +02:00
Wenzel Jakob 0d76becf5d composite material shader, do a better job at previewing environment sources 2010-08-18 23:19:54 +02:00
Wenzel Jakob 9fed7118bf better obj parsing & gui scene saving support
- do a better job at parsing OBJs with multiple objects
- correctly save XML scenes when there is no integrator or sampler
2010-08-18 17:28:27 +02:00
Wenzel Jakob 93ff7c6f60 merged with main branch 2010-08-16 17:53:43 +02:00
Wenzel Jakob 8a7f92e704 Switch to Xerces-C++ 3, part 2, Starting to work on mtsutil program 2010-08-16 14:11:08 +02:00
Wenzel Jakob ab2e6b4ca7 Phong now takes a separate color and reflectance argument
This change will soon be implemented with the remaining materials
2010-08-15 15:24:30 +02:00
Wenzel Jakob be13518cc4 new composite material, which represents a linear blend of BSDFs 2010-08-15 12:29:18 +02:00
Wenzel Jakob 736de258ea fixed a bug with the default lighting setup 2010-08-12 02:43:17 +02:00
Wenzel Jakob 6c429ac43f more documentation, create a default luminaire if the scene description contains none 2010-08-11 03:32:46 +02:00
Wenzel Jakob be412e8313 Accumulated changes since the v.0.1.1. release
* constant.cpp, src/libhw/vpl.cpp: Support for image environment
        sources and spot lights in the real-time preview.

	* mitsuba.cpp: Ability to run the 'mitsuba' execubable in arbitrary
        locations on OSX while ensuring that it still finds all plugins etc.

	* mtsimport: COLLADA importer support for ambient lights and 'polylist' meshes.

    * scene.cpp: Create a default camera when none is specified in the XML file.

    * constant.cpp, src/libhw/vpl.cpp: Support for rendering constant environment
        sources in the real-time preview.

    * glwidget.cpp, mainwindow.cpp: Support for Drag & Drop

    * glwidget.cpp, mainwindow.cpp: The Mitsuba user interface now also
        doubles as an EXR viewer / tonemapper. Drag an EXR file onto the
        UI or open it using the File menu, and the image opens in a new
        tab. Afterwards, it is possible to export the image as a tonemapped
        8-bit PNG image.
2010-08-10 02:34:58 +02:00
Wenzel Jakob 08b1861c4d Initial import of Mitsuba version 0.1.1
Unfortunately, no history for the existing files could be imported from
the previous SVN repository (it is mixed with as-of-yet unpublished research).
2010-08-09 19:38:37 +02:00