Commit Graph

252 Commits (5286c8aa4a8d381047527c4fe03e9ba12aadf607)

Author SHA1 Message Date
Wenzel Jakob ffdbc6f867 camera-related cleanups, dolly support in the GUI 2011-05-30 20:12:20 +02:00
Wenzel Jakob dd7ef85f17 gizmo removal 2011-05-30 12:17:46 +02:00
Wenzel Jakob b203e2079b removed many win64 compilation warnings 2011-04-30 12:54:56 -07:00
Wenzel Jakob 7ea86fd591 win32 crash bugfix 2011-04-29 16:15:33 +02:00
Wenzel Jakob abeb41e75c support for stochastic transmittance functions 2011-04-27 12:01:29 +02:00
Wenzel Jakob 0ca137b4b2 robustness improvement to attenuatedRayIntersect(), gridvolume support for uint8-based albedo data 2011-04-26 08:41:26 +02:00
Wenzel Jakob 26e3881fce optional: strict surface normals 2011-04-24 18:42:02 +02:00
Wenzel Jakob 3e8e0bba53 VPL pruning 2011-04-24 15:24:04 +02:00
Wenzel Jakob 2d193b8b4f support for writing JPEG files, small volumetric path tracer tweaks 2011-04-24 12:44:18 +02:00
Wenzel Jakob c511567250 partial merge with the -ctrewrite branch 2011-04-21 01:12:08 +02:00
Wenzel Jakob 70c762691d anisotropic medium rendering integrated into heterogeneous.cpp 2011-04-14 15:44:13 +02:00
Wenzel Jakob 10fad3b341 header changes 2011-04-14 15:15:59 +02:00
Wenzel Jakob 9f58f35623 microflake bugfixes 2011-04-14 14:19:08 +02:00
Wenzel Jakob 5a0529c389 OSX build fixes 2011-04-11 11:04:33 +02:00
Wenzel Jakob f807062c8f cleanups 2011-04-11 07:12:14 +02:00
Wenzel Jakob d612e23971 minor improvements 2011-04-10 22:07:08 +02:00
Wenzel Jakob b45a27a6cb exporter tweaks 2011-04-07 17:55:41 +02:00
Wenzel Jakob 4bf47e36b2 bug-huting 2011-04-06 02:07:04 +02:00
Wenzel Jakob d5890fc4d0 copied caching volume data source from the CT project 2011-04-05 12:03:48 +02:00
Wenzel Jakob e345990242 miscellaneous cleanups 2011-04-05 00:30:59 +02:00
Wenzel Jakob 8933987ebf volumetric path tracer fixed, started working on the heterogeneous medium 2011-04-03 23:41:51 +02:00
Wenzel Jakob a646132c45 cleanups to the grid data source 2011-04-03 14:42:10 +02:00
Wenzel Jakob 77bcff3550 better medium integration + a two-sided BRDF adapter 2011-03-29 23:47:20 +02:00
Wenzel Jakob 8c72982658 bugfixes 2011-03-27 20:01:34 +02:00
Wenzel Jakob d08a351a6c better OpenMP integration 2011-03-21 14:32:05 +01:00
Wenzel Jakob 79ff47e7b1 bugfix, started adapting the heterogeneous medium 2011-03-16 19:12:55 +01:00
Wenzel Jakob 8e9b0d5d21 a few more medium-related bugfixes 2011-03-15 20:08:01 +01:00
Wenzel Jakob 7405a77078 various bugfixes 2011-03-15 17:11:49 +01:00
Wenzel Jakob da246ae3a5 started an implementation of the beam radiance estimate 2011-03-15 11:54:24 +01:00
Wenzel Jakob bbde81ab99 photon mapping bugfix 2011-03-14 19:00:48 +01:00
Wenzel Jakob 5ab1f51959 improved particle tracer 2011-03-14 18:52:30 +01:00
Wenzel Jakob ab93b94ac6 more accurate parallelized photon gathering steps 2011-03-14 17:31:36 +01:00
Wenzel Jakob 852d232cae missed photon files 2011-03-14 14:58:58 +01:00
Wenzel Jakob a8f5628aef merge 2011-03-14 14:32:47 +01:00
Wenzel Jakob 7d43da70fc removed cout 2011-03-14 14:32:31 +01:00
Wenzel Jakob 089d415f58 bugfixes 2011-03-14 13:47:33 +01:00
Wenzel Jakob d1a982d358 various cleanups 2011-03-12 22:59:37 +01:00
Wenzel Jakob 89e7b71df1 bugfixes 2011-03-11 20:58:58 +01:00
Wenzel Jakob d0c123f240 fixed a bug regarding 'mint' in the path tracers 2011-03-11 14:50:22 +01:00
Wenzel Jakob 9e96220bf6 debugging.. 2011-03-11 12:49:07 +01:00
Wenzel Jakob 03c67c1ab3 ported the homogeneous medium to the new system 2011-03-10 20:12:05 +01:00
Wenzel Jakob cc25c2175a everything finally compiles 2011-03-10 03:26:15 +01:00
Wenzel Jakob 62cb0f64b1 medium-related changes 2011-03-09 19:06:01 +01:00
Wenzel Jakob 02764afe0d more cleanups 2011-03-09 13:34:26 +01:00
Wenzel Jakob 9e922042c3 further tweaks 2011-03-09 10:53:41 +01:00
Wenzel Jakob 419fb7843f a few more tweaks 2011-03-09 02:33:04 +01:00
Wenzel Jakob 22a1a37cf0 initial commit with accumulated changes of the participating medium rewrite 2011-03-08 20:23:17 +01:00
Wenzel Jakob d2a0d96f95 OpenMP initialization code 2011-03-04 00:17:43 +01:00
Wenzel Jakob df553745c4 A few missing matrix methods 2011-02-03 15:14:43 +01:00
Wenzel Jakob 48ae1f3eae A batch of changes that have piled up:
- Cleaner build system organization (1 SConscript file per directory instead
  of a single huge file)
- Robustness improvements to the KD-tree construction code (now does a better
  job at handling degenerate triangles)
- Switched to an epsilon-free KD-tree traversal loop using Havran's T_{AB}^rec
  algorithm
- Generalization of the KD-tree construction code (now supports plugging in
  arbitrary tree construction heuristics)
- Addition of some utility code (LRU cache, adaptive Gauss-Lobatto
  quadrature, etc.)
- Generic dense matrix class that supports arbitrary dimensions
- Pixel traversal within image blocks now uses a space-filling curve
  ordering
- Added support for several noise functions from PBRT
- Cleanups of various top-level interfaces (Luminaires, Phase functions,
  BSDFs, Participating media, etc.)
- Robustness improvements to the participating media code (faster + now
  does a better job at dielectric boundaries)
- Added a basic tonemapping utility (can be invoked via mtsutil)
2011-02-03 09:15:25 +01:00
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