Commit Graph

232 Commits (0cb3e6d4c8d3e2d3b0ed3951e3bd46eee49d25e8)

Author SHA1 Message Date
Wenzel Jakob 14b65e4d94 added documentation for the rectangle shape 2011-09-14 02:05:00 -04:00
Wenzel Jakob a42d5d620a trimesh generation for rectangle, better trimesh generation for sphere 2011-09-14 01:24:58 -04:00
Wenzel Jakob 2303240218 fixed UV coordinates 2011-09-13 20:47:50 -04:00
Wenzel Jakob e73fc382c3 more work on the rectangle intersection shape 2011-09-12 21:06:06 -04:00
Wenzel Jakob e6f3a01246 added a skeleton for a rectangle intersection shape 2011-09-12 17:57:53 -04:00
Wenzel Jakob ba41a48dbf serialization bugfix 2011-09-10 13:40:09 -04:00
Wenzel Jakob 2e334d9eb4 fixed an instance bug that occurs in conjunction with analytic shapes 2011-09-08 11:43:23 -04:00
Wenzel Jakob 3527c37f13 switched the hair intersection code to double precision 2011-08-25 02:21:43 -04:00
Wenzel Jakob 84ef32d946 applied four patches from Edgar 2011-08-23 18:57:35 -04:00
Wenzel Jakob 0fa779c116 hair shape updates 2011-08-23 18:40:37 -04:00
Wenzel Jakob 470f226814 documentation updates 2011-08-23 14:08:43 -04:00
Wenzel Jakob 7264fc329b further shape documentation 2011-08-23 03:47:37 -04:00
Wenzel Jakob bdaaa217ba cylinder shape cleanup, support for recursive scene upgrades 2011-08-23 02:02:44 -04:00
Wenzel Jakob edb1869cd4 linux compilation bugfix 2011-08-23 00:58:23 -04:00
Wenzel Jakob 9338b04368 cleanups 2011-08-22 20:32:04 -04:00
Wenzel Jakob 0d203940a1 documentation for the sphere shape 2011-08-22 19:41:28 -04:00
Wenzel Jakob 9cf5f001e7 python binding improvements 2011-08-20 17:09:59 -04:00
Wenzel Jakob faefb39147 python-related cleanups 2011-08-18 19:57:11 -04:00
Wenzel Jakob e830ee1be9 switched the Float keyword from a define to a typedef 2011-08-16 20:49:02 -04:00
Wenzel Jakob 7407748c83 OSX build fixes 2011-08-16 02:07:20 -04:00
Wenzel Jakob 8659d8aa50 removed some unused variables 2011-08-15 19:11:44 -04:00
Wenzel Jakob 9bd5619750 linux compilation fixes for GCC 4.5 2011-08-13 20:41:19 -04:00
Wenzel Jakob 7305768f61 fixed some over-zealous refactoring 2011-07-27 18:41:25 +02:00
Wenzel Jakob bd3291fad0 reverting back to Boost::Filesystem v2, since not all platforms provide v3 yet 2011-07-27 17:11:57 +02:00
Wenzel Jakob eae8cc74f7 fixed boost::filesystem v3 port, further tweaks on the sunsky model 2011-07-26 23:44:53 +02:00
Wenzel Jakob 1141eb87e3 port to boost::fileystem v3, some adjustments to the sky luminaire 2011-07-26 21:05:43 +02:00
Wenzel Jakob f7f10c0000 bugfixes to the importer 2011-07-19 04:49:35 +02:00
Wenzel Jakob d7f913de38 minor bugfixes 2011-07-15 10:11:29 +02:00
Wenzel Jakob 994836207f added basic support for hair scattering models 2011-06-21 10:58:05 +02:00
Wenzel Jakob c1c222eb94 icl fixes 2011-06-01 11:53:20 -07:00
Wenzel Jakob 740b5b5651 MS projects have moved 2011-06-01 02:20:53 +02:00
Wenzel Jakob 20e66965f6 latin-1 error messages in the PLY parser 2011-05-20 03:17:53 +02:00
Wenzel Jakob 3e561b2486 removed further win64 warnings 2011-04-30 13:37:04 -07:00
Wenzel Jakob 1d7d3547d1 linux compilation fix 2011-04-30 22:16:27 +02:00
Wenzel Jakob b203e2079b removed many win64 compilation warnings 2011-04-30 12:54:56 -07:00
Wenzel Jakob 7557927f69 removed a few win32 compilation warnings 2011-04-30 17:56:19 +02:00
Wenzel Jakob c511567250 partial merge with the -ctrewrite branch 2011-04-21 01:12:08 +02:00
Wenzel Jakob 10fad3b341 header changes 2011-04-14 15:15:59 +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 3e316e6efd instancing support in the realtine preview 2011-03-31 00:44:20 +02:00
Wenzel Jakob 77bcff3550 better medium integration + a two-sided BRDF adapter 2011-03-29 23:47:20 +02:00
Wenzel Jakob 89e7b71df1 bugfixes 2011-03-11 20:58:58 +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 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 8037292e44 bugfix for the bugfix 2010-11-30 19:16:19 +01:00
Wenzel Jakob 2d21bd45e2 bugfixes in the OBJ parser 2010-11-30 18:57:20 +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 b2b60ed98f hair bugfix 2010-11-25 01:24:49 +01:00
Wenzel Jakob 0815910bc8 OBJ parser improvements (now handles output from Rhino) 2010-11-24 11:00:30 +01:00
Wenzel Jakob 94e1d825b7 miscellaneous bugfixes and improvements 2010-11-23 23:01:47 +01:00
Wenzel Jakob 804c7ca718 the importer now produces much more readable XML output 2010-11-22 08:29:55 +01:00
Wenzel Jakob 721e922659 nicer log message for SerializedMesh 2010-11-22 07:26:13 +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 02d6129df9 store imported geometry more compactly 2010-11-15 20:51:31 +01:00
Wenzel Jakob e394456621 fix annoying win32 template static member linkage errors 2010-11-12 19:35:15 -08:00
Wenzel Jakob 37d06c5623 instancing works 2010-11-12 11:03:43 +01:00
Wenzel Jakob 57d13dfe7b partial support for geometry instancing 2010-11-12 03:15:32 +01:00
Wenzel Jakob 0368f440b5 merge with main branch 2010-11-09 23:36:58 +01:00
Wenzel Jakob 722154c586 build fix on fedora 2010-11-09 23:36:44 +01:00
Wenzel Jakob 701af0aa4b kd-tree generalizations 2010-11-09 15:35:27 +01:00
Wenzel Jakob cff0d96f09 applied Edgar's patch (#20) 2010-11-04 22:56:18 +01:00
Wenzel Jakob 41efe48e01 with the fixed ray epsilon issue, sphere intersections can be switched back to single precision 2010-11-03 22:14:26 +01:00
Wenzel Jakob c02c34581d merged with main branch 2010-10-26 22:08:41 +02:00
Wenzel Jakob 48e6b95a90 coarsen hairs that are too finely tesselated 2010-10-26 18:11:59 +02:00
Wenzel Jakob 665e7e63f6 typo 2010-10-26 01:59:27 +02:00
Wenzel Jakob aecd28dc8d bug-hunt, fixed some hair-shape related issues 2010-10-25 22:36:30 +02:00
Wenzel Jakob a8763c890d clipping for hair is done 2010-10-25 13:30:01 +02:00
Wenzel Jakob a3842d5e2c realtime preview: render triangle approximations of analytic shapes 2010-10-25 09:05:30 +02:00
Wenzel Jakob 9689d85377 fixed a fiber file parsing bug 2010-10-24 17:25:29 +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 c747d91263 cleanups 2010-10-24 00:35:14 +02:00
Wenzel Jakob 0e1534e863 the hair primitive works, made shadow ray intersections faster 2010-10-24 00:22:44 +02:00
Wenzel Jakob 589398f61a hair primitive compiles again 2010-10-23 21:54:11 +02:00
Wenzel Jakob aede861fb3 work on hair primitive 2010-10-22 21:42:16 +02:00
Wenzel Jakob 1fe416408f env map bugfix, cleanups 2010-10-22 19:49:47 +02:00
Wenzel Jakob 58eb27730f added clipping for cylinders 2010-10-22 19:13:45 +02:00
Wenzel Jakob 5f66ca6157 work on the clipping code 2010-10-21 10:28:55 +02:00
Wenzel Jakob cf5ebdbe38 msvc2010 compilation fixes 2010-10-20 13:16:57 -07:00
Wenzel Jakob 00c1c6d941 cylinder-plane intersection code 2010-10-20 03:47:13 +02:00
Wenzel Jakob 55f5b23553 better initial bounds for the volume occupied by a cylinder 2010-10-20 03:07:06 +02:00
Wenzel Jakob a4db1bb008 treat PLY files as binary streams -- otherwise some won't parse on windows 2010-10-19 20:07:23 +02:00
Wenzel Jakob ed05b2920c complain when loading OBJs containing n-gons 2010-10-19 19:40:27 +02:00
Wenzel Jakob fe0a6317df windows compilation fixes, part 4 2010-10-18 17:22:54 -07:00
Wenzel Jakob 4a32ffedde bugfixes, primitive clipping for cylinders 2010-10-19 00:05:02 +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 1be325172e merged with Steve's miter hair changes 2010-10-16 16:06:23 +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 84cff419f8 build better trees 2010-10-11 14:20:20 -04:00
Wenzel Jakob e0a1720581 compilation fixes 2010-10-11 14:00:14 -04:00
Wenzel Jakob ac4fa10d5d nicer statistics 2010-10-11 19:48:52 +02:00
Wenzel Jakob 42a075135c extension to make the PLY loader handle some files extended by blender 2010-10-07 19:14:09 +02:00
Wenzel Jakob 5da46517da the initial clustering step works 2010-10-06 02:27:20 +02:00
Wenzel Jakob f16d3bd0c9 support rotations 2010-09-30 22:59:53 +02:00
Wenzel Jakob ec8e49616d libply support for tim's files 2010-09-30 22:20:00 +02:00
Wenzel Jakob 5ee46b1f47 compilation fixes for OSX, added some boost files 2010-09-29 18:06:18 +02:00
Wenzel Jakob 4bb5e8c3d6 vertex color and PLY loading support 2010-09-28 19:47:16 +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 7ecd3a5e73 updated nvidia suppressions file for valgrind, fixed path resolution error in mitsuba.cpp 2010-09-13 21:35:46 +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 a8b1d882ef nicer geometry debug messages 2010-09-08 11:32:58 +02:00
Wenzel Jakob e7d808d6e7 fix an apparent portability issue regarding std::isstream between OSX and Linux 2010-09-08 10:36:30 +02:00
Wenzel Jakob 234e1a724d merged with the main branch 2010-09-08 10:21:36 +02:00
Steve Marschner ced3b423e4 merged with main branch from repository 2010-09-07 16:53:39 +02:00
Steve Marschner bab8d27301 fix for duplicated final vertex bug 2010-09-07 16:49:35 +02:00
Wenzel Jakob 92a627986f better path handling 2010-09-05 21:51:30 +02:00
Wenzel Jakob 0f1158c678 added copyright headers to all relevant source files 2010-09-02 23:41:20 +02:00
Wenzel Jakob dc8aed1aaf merged with main branch 2010-09-02 22:39:27 +02:00
Wenzel Jakob 995810faaf do sphere & cylinder intersections in double precision 2010-09-02 22:32:33 +02:00
Wenzel Jakob 8c0e6e3d18 committed miter hair segment code from Steve 2010-09-01 22:41:59 +02:00
Wenzel Jakob 723e8d951f fixed obj serialization issues 2010-08-27 15:33:22 +02:00
Wenzel Jakob b49340d02a win32 importer bugfixes 2010-08-26 17:05:13 +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 4228002df0 generate a proper AABB for the hair compound shape 2010-08-18 23:49:04 +02:00
Wenzel Jakob 9f9275aab0 import diffuse reflectances 2010-08-18 19:15:40 +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 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