Commit Graph

214 Commits (48e92bf9000eeda6606183260834043de885113a)

Author SHA1 Message Date
Wenzel Jakob a56ed4aa48 a few bugs fixed, re-integrated twosided 2011-07-12 03:01:09 +02:00
Wenzel Jakob 60e0252af3 a few bugfixed, re-integrated twosided 2011-07-12 02:57:49 +02:00
Wenzel Jakob 4871d6793a various shader-related improvements 2011-07-12 01:24:58 +02:00
Wenzel Jakob 6013021a56 cleanups 2011-07-11 23:04:31 +02:00
Wenzel Jakob d50954b20e roughplastic cleanup, part 1 2011-07-11 22:46:05 +02:00
Wenzel Jakob bf9dc03fd8 fancy roughplastic sampling strategy, just before cleanup 2011-07-11 22:36:10 +02:00
Wenzel Jakob 0803cba093 added MicrofacetDistribution::computeTransmissionProbability 2011-07-11 16:38:46 +02:00
Wenzel Jakob 1debcf3c0b partially working implementation of the rough diffuse model, added a class for representing cubic splines 2011-07-11 14:17:40 +02:00
Wenzel Jakob 873fe06277 finished the roughdiffuse model, fixed a handedness switch in Transform::lookAt 2011-07-11 01:34:17 +02:00
Wenzel Jakob f695c827e5 turned the scaling texture into a separate plugin 2011-07-08 17:14:22 +02:00
Wenzel Jakob 1fe405ec23 OSX build fixes 2011-07-08 16:17:11 +02:00
Wenzel Jakob f412727cd6 documentation for the Oren-Nayar model 2011-07-08 14:36:16 +02:00
Wenzel Jakob 2b140885e8 documentation updates, added a smooth plastic material 2011-07-08 04:04:52 +02:00
Wenzel Jakob 4b95e7ba64 added a smooth conductor shader 2011-07-08 02:16:06 +02:00
Wenzel Jakob 112d86c0a0 GLSL implementation of the rough conductor shader 2011-07-08 01:59:49 +02:00
Wenzel Jakob d2f1d31aeb cleanups, yet another bugfix for the A-S model 2011-07-08 00:36:02 +02:00
Wenzel Jakob 37770752ca cleanups 2011-07-07 23:06:43 +02:00
Wenzel Jakob ff62ccea31 fixed the Phong & Ashikhmin-Shirley shadowing-masking term 2011-07-07 21:57:35 +02:00
Wenzel Jakob de4fe46aff cleanups 2011-07-07 21:34:39 +02:00
Wenzel Jakob e22b47cc4a extended the chi2-tester with some extra checks for BSDF::pdf() and BSDF::eval() 2011-07-07 19:34:40 +02:00
Wenzel Jakob dacb6f96b6 cleanups 2011-07-07 18:50:43 +02:00
Wenzel Jakob 736a8e6866 improved interface for ensuring energy conservation 2011-07-07 17:49:21 +02:00
Wenzel Jakob 8dbb6327f4 fixed the A-S implementation 2011-07-07 14:36:22 +02:00
Wenzel Jakob ac63fa896b added the ashikhmin-shirley microfacet distribution 2011-07-07 05:39:55 +02:00
Wenzel Jakob 84146f8168 support for anisotropic microfacet distributions 2011-07-07 03:29:44 +02:00
Wenzel Jakob a13583db34 done with the smooth conductor, started working on the rough dielectric 2011-07-07 03:07:32 +02:00
Wenzel Jakob bd4301bd1e removed the 'schema' directory, added IOR data from luxpop 2011-07-06 23:40:13 +02:00
Wenzel Jakob 5c8201d764 further spectrum-related cleanups 2011-07-06 17:52:02 +02:00
Wenzel Jakob 1dc0193f68 spectral rendering improvements, added back further documentation chapters 2011-07-05 18:50:17 +02:00
Wenzel Jakob 54fb516737 improvements to the dielectric material 2011-07-04 23:39:44 +02:00
Wenzel Jakob 626794b94a major redesign of the BSDF API 2011-07-04 20:13:36 +02:00
Wenzel Jakob c4eaf13ec8 got rid of exrtexture, renamed ldrtexture to bitmap and extended it to handle EXRs. 2011-07-03 17:10:12 +02:00
Wenzel Jakob 38a908306e documentation cleanups 2011-07-03 03:31:16 +02:00
Wenzel Jakob 1cef7172cd documentation updates 2011-07-03 02:56:24 +02:00
Wenzel Jakob 5cc7e40df2 started a new branch for a material development cycle. new features: glass preview in the VPL renderer, more documentation 2011-07-03 02:46:09 +02:00
Wenzel Jakob 8fec5a4d87 updates to the documentation 2011-07-02 17:03:57 +02:00
Wenzel Jakob 7c5f924fad significant rehaul of the dielectric.cpp implementation. Fixed some OpenGL errors on MacOS X 2011-07-01 18:54:46 +02:00
Wenzel Jakob cb3dcdb377 exactly sample the fresnel term in roughglass.cpp, added a directory for the bidirectional library (this is only meant to contain a few backported components for now) 2011-07-01 11:35:49 +02:00
Wenzel Jakob 06cc8005f0 rough glass generalization; bugfixes 2011-07-01 01:48:33 +02:00
Wenzel Jakob 677ef502dd fully texturable transmittance, reflectance, and roughness in the rough glass model 2011-06-28 11:09:13 +02:00
Wenzel Jakob 7f8e92becd further work on the documentation 2011-06-26 03:29:50 +02:00
Wenzel Jakob 7571fda521 documentation of the lambertian plugin 2011-06-25 16:49:26 +02:00
Wenzel Jakob afe800e2ee started working on auto-generated plugin documentation 2011-06-25 03:47:41 +02:00
Wenzel Jakob 8e42e1de87 got rid of the (unused) transparent BSDF, it is subsumed by mask.cpp 2011-06-25 00:49:06 +02:00
Wenzel Jakob 071b7379c1 fixed the composite material 2011-06-25 00:24:41 +02:00
Wenzel Jakob 97ba51d675 typo 2011-06-24 14:51:32 +02:00
Wenzel Jakob ff6282b0c7 removed some builtin assumptions from the rough glass model (normal doesn't have to point into the less dense medium anymore) 2011-06-24 01:29:52 +02:00
Wenzel Jakob 714a2fcf71 Extended the ward model with the Ward-Duer and energy balancing variants 2011-06-24 00:15:36 +02:00
Wenzel Jakob 35d68c19ba fixed the rough glass model sampling code 2011-06-23 23:04:21 +02:00
Wenzel Jakob d0ffa69c9e various cosmetic changes involving dielectric materials, still debugging roughglass.. 2011-06-23 19:41:29 +02:00
Wenzel Jakob 9d9a6dd5e4 Contribution from Marios: multiple distributions for roughglass.cpp; improved chi-square test 2011-06-23 17:37:31 +02:00
Wenzel Jakob c36b76253a tiny adjustments 2011-06-23 14:57:00 +02:00
Wenzel Jakob 226b639d28 fix sampling issues in twosided.cpp 2011-06-23 11:31:29 +02:00
Wenzel Jakob 504e19e420 more bugfixes 2011-06-23 05:37:58 +02:00
Wenzel Jakob 503d7ab6c7 fixes to the previous commit 2011-06-23 05:34:16 +02:00
Wenzel Jakob c34ad9f58a slight tweaks to the BSDF API, components now specify whether they are front or back-facing 2011-06-23 05:31:46 +02:00
Wenzel Jakob 44a928f1e5 chi-square test robustness improvements 2011-06-23 04:23:07 +02:00
Wenzel Jakob 994836207f added basic support for hair scattering models 2011-06-21 10:58:05 +02:00
Wenzel Jakob 865a989c5e composite material improvements 2011-06-03 20:25:08 +02:00
Wenzel Jakob 740b5b5651 MS projects have moved 2011-06-01 02:20:53 +02:00
Wenzel Jakob c1f1d5ee64 msvc++ 2010 compilation fixes, updated the COLLADA version on windows 2011-05-29 12:51:53 -07:00
Wenzel Jakob ddb939d55a delete[]/delete mismatch 2011-05-25 13:19:01 +02:00
Wenzel Jakob b203e2079b removed many win64 compilation warnings 2011-04-30 12:54:56 -07:00
Wenzel Jakob e73d458c32 fixed a few warnings on win32 2011-04-29 14:46:20 +02:00
Wenzel Jakob 839d7773c8 irawan.cpp removed the need for external diffuse/specular texture files 2011-04-28 15:30:39 +02:00
Wenzel Jakob 9cefc6ea97 support for custom float/spectrum parameters 2011-04-28 01:48:43 +02:00
Wenzel Jakob a7906451f5 win32 compilation fixes 2011-04-27 13:13:37 +02:00
Wenzel Jakob e7148064d2 fixed the serialization code for Piti's model 2011-04-25 01:16:28 +02:00
Wenzel Jakob 0b49a46620 added an implementation of piti irawan's woven cloth BRDF 2011-04-21 10:12:22 +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 57e0b50c38 merge 2011-04-10 22:10:10 +02:00
Wenzel Jakob 227a95c76f dielectric bugfixes 2011-04-10 22:09:52 +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 77bcff3550 better medium integration + a two-sided BRDF adapter 2011-03-29 23:47:20 +02:00
Wenzel Jakob 62cb0f64b1 medium-related changes 2011-03-09 19:06:01 +01:00
Wenzel Jakob 9e922042c3 further tweaks 2011-03-09 10:53:41 +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 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 6606e13c5c typo; don't set thread priorities on Linux (it uses dynamic priorities) 2010-12-02 20:44:35 +01:00
Wenzel Jakob 67ab96cba8 significant improvements to the rough glass sampling code 2010-12-02 01:10:43 +01:00
Wenzel Jakob e5b707df11 MtsBlend: support for most material types 2010-11-14 16:52:28 +01: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 90eb130487 texture support for the roughmetal BRDF 2010-10-05 10:53:39 +02:00
Wenzel Jakob 6bedfb611e fixed a minor sampling issue in roughglass.cpp 2010-09-21 03:41:12 +02:00
Wenzel Jakob 0c8e6f7a5c lambertian docs 2010-09-19 12:58:49 +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 65e8b96185 GLSL implementation of the Ward BRDF 2010-09-08 01:05:07 +02:00
Wenzel Jakob 11a47e1851 fixed bug in phong GLSL preview 2010-09-07 22:02:40 +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 4e5a9af233 more uniform material parameter names -- ward 2010-09-03 15:47:54 +02:00
Wenzel Jakob d4ae5660cf BMP loading support, material parameter naming more uniform 2010-09-03 15:26:18 +02:00
Wenzel Jakob eedf35f4eb bugfix to the composite material 2010-09-03 00:18:43 +02:00
Wenzel Jakob 0f1158c678 added copyright headers to all relevant source files 2010-09-02 23:41:20 +02:00
Wenzel Jakob 2527bb0dec area light source bugfix, return to preview button 2010-08-31 21:17:15 +02:00
Wenzel Jakob 715c0589f7 finished feature to force diffuse materials 2010-08-28 22:31:14 +02:00
Wenzel Jakob 1d2dfda4c8 import scenes in a separate thread 2010-08-27 09:45:33 +02:00
Wenzel Jakob f231d57b7a prevent radioactive phong materials 2010-08-27 01:37:20 +02:00
Wenzel Jakob bd10c3db31 visualization of mask BRDFS 2010-08-26 09:02:13 +02:00
Wenzel Jakob 3ffe63ce19 mask import bugfix 2010-08-23 11:01:14 +02:00
Wenzel Jakob 7a79eacef2 diffuse transmitter & mask materials, fixed the transparent material 2010-08-23 10:36:35 +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 8f17ea1323 transparent BSDF 2010-08-16 19:01:40 +02:00
Wenzel Jakob 93ff7c6f60 merged with main branch 2010-08-16 17:53:43 +02:00
Wenzel Jakob b8d898b8a5 merged with main branch 2010-08-16 17:48:29 +02:00
Wenzel Jakob 094a0226b6 mtsutil feature is done 2010-08-16 17:16:13 +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 7ab003c306 dielectric sampling bugfix 2010-08-13 19:12:43 +02:00
Wenzel Jakob f0a2e2436e dielectric now puts equal weight on both components, locale fixes, many importer improvements 2010-08-13 17:03:49 +02:00
Wenzel Jakob fa1789be6d portal luminaire, support for adjustments when importing from COLLADA, bugfixes 2010-08-13 14:53:52 +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