Commit Graph

153 Commits (48e92bf9000eeda6606183260834043de885113a)

Author SHA1 Message Date
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