Commit Graph

338 Commits (f67566ffcc5789fdd07fc5db202a50cee7284c83)

Author SHA1 Message Date
Wenzel Jakob 917c142312 MIPMap: be more resilient to infinities 2010-10-16 15:24:47 +02:00
Wenzel Jakob df0600eccd prevent the user interface from freezing when lots of messages are generated 2010-10-16 14:51:12 +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 4afd9afb25 more solid OBJ import 2010-10-16 02:15:35 +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 24385b655d nicer loading dialog 2010-10-14 02:53:20 +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 01aac828a9 preview bugfix 2010-10-14 00:15:58 +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 d9225ae74f nicer statistics 2010-10-13 12:37:17 +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 c74924fb7a cleanups 2010-10-13 03:38:44 +02:00
Wenzel Jakob 57c329d646 preparations to support the TriAccel4 format 2010-10-13 00:28:06 +02:00
Wenzel Jakob 5feb7753d8 collect some more statistics, code for fitting SAH cost constants to empirical measurements 2010-10-12 23:47:15 +02:00
Wenzel Jakob 13878de3fb added a plain traversal routine, havran-style wins 2010-10-12 17:55:32 +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 82faa961a2 snapshot before searching for remaining traversal/building bug 2010-10-12 03:06:46 +02:00
Wenzel Jakob 76abaf1cb8 added a havran-style traversal routine 2010-10-12 02:36:05 +02:00
Wenzel Jakob 440656a875 initial generic ray intersection architecture 2010-10-12 01:10:28 +02:00
Wenzel Jakob baa41a195a cleanups 2010-10-11 21:04:05 +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 d09655dbe6 a few more optimizations after profiling the builder 2010-10-11 19:40:40 +02:00
Wenzel Jakob db444cd87f parallelization is starting to work 2010-10-11 15:53:59 +02:00
Wenzel Jakob 2d5eff417c better statistics, global indirection table 2010-10-11 14:05:58 +02:00
Wenzel Jakob a1ca92bda2 do a better job at keeping track of statistics 2010-10-10 18:10:14 +02:00
Wenzel Jakob 83958d8f91 clipping now also works 2010-10-10 13:06:16 +02:00
Wenzel Jakob 0c010ec20f added partitioning code, bugs remain 2010-10-10 03:01:31 +02:00
Wenzel Jakob edadfe8096 better statistics, more work on parallelization 2010-10-10 01:09:18 +02:00
Wenzel Jakob 2b997ebf42 more informative import warning when a material is missing 2010-10-09 13:25:47 +02:00
Wenzel Jakob 7d588e32e9 more work on the binary representation, bugs remain 2010-10-08 15:03:49 +02:00
Wenzel Jakob b856ccc0c7 added a chunking memory allocator, min-max binning is starting to work 2010-10-08 02:46:47 +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 05266a5033 merge with default branch 2010-10-07 18:57:44 +02:00
Wenzel Jakob 74fb4d009c more statistics 2010-10-07 18:57:37 +02:00
Wenzel Jakob effb3ebfb0 work on the min-max binning split method 2010-10-07 18:38:06 +02:00
Wenzel Jakob 2e3d9f1ab2 fix shadow mapping 2010-10-07 00:37:32 +02:00
Wenzel Jakob e76951fdb8 removed unused fileresolver instance 2010-10-06 23:58:19 +02:00
Wenzel Jakob 660835fc12 nicer file selection boxes, crash reporter should now actually do something on OSX 2010-10-06 23:22:40 +02:00
Wenzel Jakob dc5edd88fb merge with the main branch 2010-10-06 21:57:24 +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 9ac4ca1352 bugfix for a problem involving the use of compound shapes with homogeneous volumes (reported by Milos) 2010-10-06 21:11:43 +02:00
Wenzel Jakob 76a501b291 faster builds 2010-10-06 20:46:16 +02:00
Wenzel Jakob 729ef3d054 fixed a crash caused by the FileResolver initialization on OSX 2010-10-06 14:36:09 +02:00
Wenzel Jakob 5da46517da the initial clustering step works 2010-10-06 02:27:20 +02:00
Wenzel Jakob d57d319048 min-max binning core implementation 2010-10-05 22:49:57 +02:00
Wenzel Jakob d5ab25c289 compilation fixes for libpng 1.4.x 2010-10-05 10:46:12 +00:00
Wenzel Jakob 88c0caad3d beginning work on a new KD-tree implementation 2010-10-05 11:02:05 +02:00
Wenzel Jakob fcd083ed8f merged with main branch 2010-10-05 11:01:40 +02:00
Wenzel Jakob 63fb298835 got rid of triangle testcase 2010-10-05 11:01:32 +02:00
Wenzel Jakob 6170f1d9a3 save tonemapping attributes from the GUI 2010-10-05 10:53:58 +02:00
Wenzel Jakob 90eb130487 texture support for the roughmetal BRDF 2010-10-05 10:53:39 +02:00
Wenzel Jakob 91c568b451 tonemapping support in the PNG film 2010-10-05 10:53:10 +02:00
Wenzel Jakob b9babc9da4 handle alpha in the adaptive integrator 2010-10-05 10:52:28 +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 a42f3626af merge with main branch 2010-09-30 15:57:42 +02:00
Wenzel Jakob a4baff62ef fixes bug 4 in the repository (photon mapper crash) 2010-09-30 15:54:45 +02:00
Wenzel Jakob bddb0c74e3 removed forgotten debug message 2010-09-30 15:36:21 +02:00
Wenzel Jakob 98b98ddcf0 nicer default path setup 2010-09-30 15:19:20 +02:00
Wenzel Jakob cb68938716 show COLLADA validation error messages 2010-09-30 11:24:19 +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 7142b2c721 added a simple kd-tree performance benchmark 2010-09-21 23:26:49 +02:00
Wenzel Jakob ab50769e3b fixed a gridtexture serialization error 2010-09-21 03:48:14 +02:00
Wenzel Jakob 6bedfb611e fixed a minor sampling issue in roughglass.cpp 2010-09-21 03:41:12 +02:00
Wenzel Jakob b5903a1425 work around an issue regarding exceptions thrown within Xerces 2010-09-21 03:10:49 +02:00
Wenzel Jakob ef55697dd9 importance sampling support for environment maps 2010-09-21 02:45:25 +02:00
Wenzel Jakob b5b56bd20d gridtexture GLSL implementation for the material test ball scene 2010-09-21 00:03:10 +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 e2dfe9a330 some OSX build fixes, missing virtual destructors 2010-09-20 22:19:41 +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 5128b77436 uninitialized content 2010-09-19 21:32:14 +02:00
Wenzel Jakob 83325389fc fixed converter, nicer gridtexture class 2010-09-19 20:37:24 +02:00
Wenzel Jakob 0c8e6f7a5c lambertian docs 2010-09-19 12:58:49 +02:00
Wenzel Jakob a295b0ecd8 fixed some inconsistencies in the HG phase function, clarified conventions in the documentation 2010-09-17 14:45:23 +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 a49d5bf648 portable directory traversal 2010-09-14 15:23:23 +02:00
Wenzel Jakob 8a34e39713 fix comments 2010-09-14 11:59:52 +02:00
Wenzel Jakob 18390c39b2 Fix import dialog when a texture could not be found 2010-09-14 11:58:18 +02:00
Wenzel Jakob 41f640cfe5 clarify error message 2010-09-14 11:33:28 +02:00
Wenzel Jakob 5a437a9992 Fix Bug #6 (out of range indices from 3ds max) 2010-09-14 11:27:35 +02: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 943aca4016 faster sutherland-hodgman iteration, added missing partial specialization for integer division involving vectors 2010-09-13 22:36:51 +02:00
Wenzel Jakob 486597b420 merge with default local branch 2010-09-13 21:46:01 +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 d9d4a00522 updated acknowledgements, show whether collada is compiled into the binary 2010-09-13 16:44:12 +02:00
Wenzel Jakob 1d39bd053f nicer update dialog (only UI file for now) 2010-09-12 12:36:25 +02:00
Wenzel Jakob 1390cc6763 Feedback & bugreport menu items 2010-09-12 11:56:39 +02:00
Wenzel Jakob 9ac6d2c145 Nicer hgignore, forgotten fresolver.cpp file 2010-09-12 11:48:34 +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
Wenzel Jakob c6c261e724 store relative paths in imported scenes 2010-09-07 17:34:53 -07: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 0dc517bfa4 fixed incorrect shadow map extents 2010-09-08 01:14:50 +02:00
Wenzel Jakob 65e8b96185 GLSL implementation of the Ward BRDF 2010-09-08 01:05:07 +02:00
Wenzel Jakob 9ed2a00c97 fix incorrect tangent vectors passed to the shader 2010-09-08 00:51:59 +02:00
Wenzel Jakob da64e93eb5 larger default shadow bias 2010-09-08 00:39:26 +02:00
Wenzel Jakob f5d7d89e97 gamma computation bugfix 2010-09-08 00:39:05 +02:00
Wenzel Jakob 6e58b602d9 fixed a serious bug regarding VBOs and calls to glDrawElements 2010-09-08 00:07:35 +02:00
Wenzel Jakob e1351b6c76 complain when compiling invalid GLSL programs 2010-09-07 22:44:35 +02:00
Wenzel Jakob 4d8cc8d764 nicer snprintf() behavior 2010-09-07 22:24:48 +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
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 211f17aa98 fix some memory management-related issues 2010-09-05 21:31:49 +02:00
Wenzel Jakob 8486931b30 Nicer testcase framework, eigendecomposition support 2010-09-05 21:17:35 +02:00
Wenzel Jakob debd09e75f automatic multiprocessor builds, fix compilation when COLLADA is missing 2010-09-05 17:09:06 +02:00
Wenzel Jakob 3d3048f7de convert module names to lower case 2010-09-05 15:36:23 +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 ff71d8f041 fixed title 2010-09-03 13:35:01 +02:00
Wenzel Jakob f80535f543 ignore duplicate geometry when importing 2010-09-03 09:37:58 +02:00
Wenzel Jakob ab7961df0c use less compression when serializing geometry files (much faster) 2010-09-03 00:24:44 +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 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 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 0b8863f2cb nicer testcase runner 2010-09-02 18:05:49 +02:00
Wenzel Jakob 1c60e7368d testcase support -- see 'test_samplers.cpp' for an example 2010-09-02 17:57:04 +02:00
Wenzel Jakob e0b52ef022 cleanups, brought volume file format up to spec 2010-09-02 03:25:53 +02:00
Wenzel Jakob 575beeb792 allow changing the navigation mode 2010-09-02 02:21:02 +02:00
Wenzel Jakob 2f6e02abf3 more natural stop/preview button behavior 2010-09-02 01:31:52 +02:00
Wenzel Jakob 96bc8e0422 brought the OSX preview settings dialog up to date 2010-09-01 23:39:55 +02:00
Wenzel Jakob 8c0e6e3d18 committed miter hair segment code from Steve 2010-09-01 22:41:59 +02:00
Wenzel Jakob 906f5910fd import transparent surfaces 2010-08-31 23:38:23 +02:00
Wenzel Jakob 4044fad4da forgot material indirection for polylist imports 2010-08-31 22:55:22 +02:00
Wenzel Jakob 6e181dcab3 better deal with zero-area triangles, misc. fixes 2010-08-31 22:32:34 +02:00
Wenzel Jakob 2527bb0dec area light source bugfix, return to preview button 2010-08-31 21:17:15 +02:00