Wenzel Jakob
c552a79902
did a pass over the spectral rendering support; ported some RGB->Spectrum conversion code from PBRT
2011-07-06 12:50:38 +02:00
Wenzel Jakob
1dc0193f68
spectral rendering improvements, added back further documentation chapters
2011-07-05 18:50:17 +02:00
Wenzel Jakob
4a6d69df32
documentation updates, the chi-square test now also handles delta components, addes support for loading interpolated color spectra from disk
2011-07-05 13:24:22 +02:00
Wenzel Jakob
626794b94a
major redesign of the BSDF API
2011-07-04 20:13:36 +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
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
d40de22c32
chi-square test cleanups
2011-06-25 00:33:30 +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
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
a5364d02f1
improved per-component BSDF chi-square test
2011-06-23 01:43:39 +02:00
Wenzel Jakob
5a40118a44
added a chi-square test for validating BSDF models
2011-06-23 01:08:23 +02:00
Wenzel Jakob
994836207f
added basic support for hair scattering models
2011-06-21 10:58:05 +02:00
Steve Marschner
60f406efbd
initial hair shading rough framework
2011-06-20 16:30:21 +02:00
Wenzel Jakob
ad02615d34
bugfix in volpath regarding index-matched participating media. improved the handling of the strictNormals parameter in all path tracers
2011-06-07 21:31:06 +02:00
Wenzel Jakob
47b4deec9c
fixed a subtle bug in the simpson integration method in heterogeneous.cpp; added support for querying the maximum value in density data volumes
2011-06-04 00:25:07 +02:00
Wenzel Jakob
41bb3037b1
fixed a statistics counter bug on win64
2011-06-01 23:23:36 +02:00
Wenzel Jakob
c1c222eb94
icl fixes
2011-06-01 11:53:20 -07:00
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
7557927f69
removed a few win32 compilation warnings
2011-04-30 17:56:19 +02:00
Wenzel Jakob
ebd70aede4
bugfix for a pixel traversal issue reported by Marios
2011-04-28 18:14:21 +02:00
Wenzel Jakob
9cefc6ea97
support for custom float/spectrum parameters
2011-04-28 01:48:43 +02:00
Wenzel Jakob
abeb41e75c
support for stochastic transmittance functions
2011-04-27 12:01:29 +02:00
Wenzel Jakob
24976234b5
direction interpolation tweaks, cleaned up the gridvolume step size determination
2011-04-26 19:14:54 +02:00
Wenzel Jakob
1eabd9ce9a
use a 3x3 eigendecomposition in gridvolume::lookupVector()
2011-04-26 16:48:24 +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
9afac73a70
merge
2011-04-15 12:12:52 +02:00
Wenzel Jakob
a98a1928ff
OSX build fixes
2011-04-15 02:53:06 +02:00
Wenzel Jakob
09911c03c7
.. and one more!
2011-04-14 21:23:46 +02:00
Wenzel Jakob
f86674eb1f
switched to a structure tensor for interpolating directions in a medium
2011-04-14 19:45:48 +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
d3ad21f0da
chi-square test on the sphere, improved microflake code
2011-04-14 02:46:01 +02:00
Wenzel Jakob
9aa5c13daa
cleaned up brent solver
2011-04-13 02:21:21 +02:00
Wenzel Jakob
9baca24e5e
microflake sigma-t function
2011-04-12 21:38:44 +02:00
Wenzel Jakob
a0d288758b
integrated cubature code into Mitsuba
2011-04-12 10:48:34 +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
54c80f42d4
OSX compilation bugs
2011-04-05 01:53:32 +02:00
Wenzel Jakob
e345990242
miscellaneous cleanups
2011-04-05 00:30:59 +02:00
Wenzel Jakob
cd8f6b3dcb
ported the heterogeneous volume to the new system
2011-04-04 12:01:14 +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
3a03e46153
crash bugfix reported by Milos; a few unrelated cleanups
2011-04-03 14:41:21 +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
6ac68886b1
plugin bugfixes
2011-03-28 01:52:00 +02:00
Wenzel Jakob
8c72982658
bugfixes
2011-03-27 20:01:34 +02:00
Wenzel Jakob
1df8255a30
rotation gizmo, work on the blender plugin
2011-03-26 01:39:38 +01:00
Wenzel Jakob
1e3b877fd3
X11 support for resize events
2011-03-21 18:45:46 +01:00
Wenzel Jakob
a90a8606bd
blocking Session::processEvents() function
2011-03-21 18:08:39 +01: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
ece6baf6ce
further photon mapper fixes
2011-03-14 19:12:14 +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
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
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
b791e0b453
export bugfix
2011-03-04 16:25:54 +01:00
Wenzel Jakob
d2a0d96f95
OpenMP initialization code
2011-03-04 00:17:43 +01:00
Wenzel Jakob
dc801e7d6c
a few win32-related compilation fixes
2011-03-01 16:13:18 +01:00
Wenzel Jakob
75462c11d2
merge
2011-02-28 14:10:52 +01:00
Wenzel Jakob
9efd7f785f
add squaredDistanceTo() methods to AABB
2011-02-28 14:03:07 +01:00
Wenzel Jakob
956d26a6ba
a bunch of cleanups
2011-02-23 20:45:49 +01:00
Wenzel Jakob
967b12960d
a few documentation-related cleanups
2011-02-22 00:40:04 +01:00
Wenzel Jakob
04816a4c82
reinterpret_cast is needed
2011-02-16 18:11:21 +01:00
Wenzel Jakob
c662679854
another atomic bugfix
2011-02-16 18:04:16 +01:00
Wenzel Jakob
9ded600b45
a few more atomic operations
2011-02-16 13:46:52 +01:00
Wenzel Jakob
16f2454388
atomics bugfix for win32
2011-02-15 16:01:55 +01:00
Wenzel Jakob
f43f278a6b
AABB bugfix
2011-02-15 15:36:12 +01:00
Wenzel Jakob
f81264cd04
win32 build fixes
2011-02-15 15:30:48 +01:00
Wenzel Jakob
f4638907bd
minor AABB change
2011-02-14 20:27:36 +01:00
Wenzel Jakob
f997674b48
minor kd-tree API change
2011-02-14 18:36:41 +01:00
Wenzel Jakob
3e146b0006
bugfix to the dense matrix class
2011-02-11 17:42:44 +01:00
Wenzel Jakob
526467da0e
various minor improvements
2011-02-11 16:46:57 +01:00
Wenzel Jakob
a1da52f589
atomic FP addition
2011-02-10 17:16:36 +01:00
Wenzel Jakob
33e4108319
export node type via a typedef
2011-02-10 14:05:53 +01:00
Wenzel Jakob
e6a8bd5417
two slightly modified search interfaces
2011-02-10 13:58:50 +01:00
Wenzel Jakob
1150063534
added copy constructors to the matrix class
2011-02-10 12:08:46 +01:00
Wenzel Jakob
bcdc831b8d
added an assignment operator to the matrix class
2011-02-10 11:53:41 +01:00
Wenzel Jakob
2867546133
merge with the main branch
2011-02-10 11:45:01 +01:00
Wenzel Jakob
111574dcbc
GLProgram::setParameter() now handles more types of matrices
2011-02-10 11:44:49 +01:00
Wenzel Jakob
0516aacfe2
added left-balanced kd-tree construction as another testcase
2011-02-09 02:13:52 +01:00
Wenzel Jakob
9c1c16ab87
added a point kd-tree class
2011-02-09 01:32:35 +01:00
Wenzel Jakob
a9efb5cd1a
AABB bugfixes, generic kd-tree
2011-02-07 15:59:13 +01:00
Wenzel Jakob
4396a4618d
naming conventions
2011-02-04 18:15:11 +01:00
Wenzel Jakob
11bf7be59f
column and row access
2011-02-04 18:08:53 +01:00
Wenzel Jakob
6f5f0c11d2
matrix scalar division
2011-02-04 17:15:47 +01:00
Wenzel Jakob
8ea4716dd8
fixed a typo
2011-02-04 12:20:22 +01:00
Wenzel Jakob
4ec8a1dd81
for convenience: support matrix-vector multiplication directly in the dense matrix classes
2011-02-03 16:37:52 +01:00
Wenzel Jakob
806e9b1733
missed an obvious optimization
2011-02-03 15:25:22 +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
07bc3a23fe
Scheduler: ability to return the number of local workers
2011-01-12 02:07:34 +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
683c5e463d
worker priority chooser UI
2010-12-01 22:14:28 +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
20f3b7e0dc
heterogeneous medium: don't require an orientation field
2010-12-01 01:27:33 +01:00
Wenzel Jakob
c2d7903f54
much nicer FP exception system
2010-12-01 00:46:06 +01:00
Wenzel Jakob
052f5f0bb8
flake model bugfixes
2010-11-30 21:56:21 +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
94e1d825b7
miscellaneous bugfixes and improvements
2010-11-23 23:01:47 +01:00
Wenzel Jakob
7a581340ee
win32 bugfixes
2010-11-22 18:24:25 +01:00
Wenzel Jakob
9ffca1b6b9
another merge
2010-11-21 12:17:58 -08:00
Wenzel Jakob
5f924f5085
get rid of secure SCL warnings
2010-11-21 12:12:27 -08:00
Wenzel Jakob
d631da2187
miscellaneous bugfixes
2010-11-21 02:50:15 +01:00
Wenzel Jakob
221e063330
merged with the build system rearrangement branch
2010-11-21 01:53:24 +01:00
Wenzel Jakob
5bb3812861
moved dependencies out of the main repository, switch to boost 1.44
2010-11-20 07:30:50 -08:00
Wenzel Jakob
87ac8b57bd
generalized the XML schema
2010-11-19 14:07:14 +01:00
Wenzel Jakob
2cc242e5e7
merged with the time-aware branch
2010-11-17 21:10:40 +01:00
Wenzel Jakob
6a42b631f7
merged with main branch
2010-11-17 12:58:03 +01:00
Wenzel Jakob
da6f122ccc
windows compilation fix
2010-11-16 11:41:56 -08: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
5452a0d30b
more work on importing animations
2010-11-15 17:27:42 +01:00
Wenzel Jakob
710890d894
initial support for importing animation tracks
2010-11-15 16:05:50 +01:00
Wenzel Jakob
c82899de89
expose texture wrapping
2010-11-14 14:27:32 +01:00
Wenzel Jakob
e394456621
fix annoying win32 template static member linkage errors
2010-11-12 19:35:15 -08:00
Wenzel Jakob
f2f4f94bdf
changed dimension functions to constants to fix compilation on windows
2010-11-13 02:14:22 +01:00
Wenzel Jakob
81982c8932
MtsBlend: refresh feature
2010-11-12 15:43:07 +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
bd69a0fb0b
added a basic quaternion data structure
2010-11-12 14:16:47 +01: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
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
cd80c15814
further generalizations
2010-11-09 15:48:20 +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
f87a6a78a2
renamed isnan function
2010-11-04 23:04:40 +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
af27507674
switched object reference counting to atomics
2010-11-01 23:48:28 +01:00
Wenzel Jakob
ba5a9654d9
documentation updates, allow to specify the configuration file
2010-11-01 22:33:00 +01:00
Wenzel Jakob
7036116997
further documentation updates
2010-10-31 16:20:58 +01:00
Wenzel Jakob
6433604064
documentation updates
2010-10-31 16:06:26 +01: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
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
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
589398f61a
hair primitive compiles again
2010-10-23 21:54:11 +02:00
Wenzel Jakob
914b959ef9
windows compilation fix
2010-10-22 12:13:12 -07:00
Wenzel Jakob
1fe416408f
env map bugfix, cleanups
2010-10-22 19:49:47 +02:00
Wenzel Jakob
bcf57026cf
cylinder clipping viewer
2010-10-22 11:20:17 +02:00
Wenzel Jakob
10abd101f3
support GLUT-style viewer applications
2010-10-21 23:53:40 +02:00
Wenzel Jakob
e8d6be6259
further win64 compilation fixes
2010-10-19 21:15:57 +02:00
Wenzel Jakob
36c341f1a7
fixed various win64 compilation problems
2010-10-19 21:04:47 +02:00
Wenzel Jakob
f531af3e2d
fix fast-math kd-tree building problem on windows
2010-10-19 19:19:12 +02:00
Wenzel Jakob
a057677e89
windows compilation fixes, part 3
2010-10-18 17:04:47 -07:00
Wenzel Jakob
d41876fc4f
windows compilation fixes, part 2
2010-10-18 16:50:16 -07: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
2006538af3
forgot to add the atomics header file
2010-10-18 16:15:11 +02:00
Wenzel Jakob
c42f31751d
slimmed down the shape interface
2010-10-17 00:08:55 +02:00
Wenzel Jakob
fbfe3e395d
the octree-class is now completely lock-free (using atomic exchange operations)
2010-10-16 14:10:10 +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
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
0d085fc2dc
serious bugfixes to the builder
2010-10-13 22:35:15 +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
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
efb75bbf7b
typo
2010-10-12 17:56:27 +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
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
d36827be4e
do a better job at keeping track of node statistics
2010-10-11 10:09:39 +02:00
Wenzel Jakob
fa26a1a271
switched node allocator to a blocked vector
2010-10-11 09:00:14 +02:00
Wenzel Jakob
0df829eede
cleanups
2010-10-10 22:38:40 +02:00
Wenzel Jakob
bb83ad08cf
fixed the transition from MinMax binning to exact evaluation
2010-10-10 18:18:14 +02:00
Wenzel Jakob
a1ca92bda2
do a better job at keeping track of statistics
2010-10-10 18:10:14 +02:00
Wenzel Jakob
87b82cc5e1
added the empty space bonus
2010-10-10 13:23:04 +02:00
Wenzel Jakob
1058cfe7a7
cleanups
2010-10-10 13:06:42 +02:00
Wenzel Jakob
83958d8f91
clipping now also works
2010-10-10 13:06:16 +02:00
Wenzel Jakob
679cd18613
exact SAH-optimized kd-tree builder works for the first time (without primitive clipping)
2010-10-10 12:23:55 +02:00
Wenzel Jakob
577a732cd0
SAH costs seem more reasonable now
2010-10-10 12:05:32 +02:00
Wenzel Jakob
2144ce41bb
accelerated the case without perfect splits
2010-10-10 04:04:13 +02:00
Wenzel Jakob
ba8e333629
all pieces are now there -- time to track down allocator bugs
2010-10-10 03:33:45 +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
8102eb91d3
efficient storage for classification results
2010-10-09 22:54:06 +02:00
Wenzel Jakob
fc01e4485e
SAH minimization sweep
2010-10-08 20:25:48 +02:00
Wenzel Jakob
13ada869dd
show statistics similar to [Wald and Havran]
2010-10-08 20:01:15 +02:00
Wenzel Jakob
66e9033d3b
some statistics
2010-10-08 19:48:53 +02:00
Wenzel Jakob
075fec5496
about to replace the current binning code with something numerically better-behaved
2010-10-08 19:02:17 +02:00
Wenzel Jakob
6cd1062fe6
bad refines heuristic
2010-10-08 18:33:46 +02:00
Wenzel Jakob
d900a92a86
still debugging...
2010-10-08 16:16:45 +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
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
8351aa5b02
extended the remaining medium classes to handle compound stencil geometry
2010-10-06 21:56:36 +02:00
Wenzel Jakob
76a501b291
faster builds
2010-10-06 20:46:16 +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
88c0caad3d
beginning work on a new KD-tree implementation
2010-10-05 11:02:05 +02:00
Wenzel Jakob
80e4b35c22
merged with main branch
2010-10-05 07:35:24 +02:00
Wenzel Jakob
082facab36
union cast
2010-10-05 07:34:55 +02:00
Wenzel Jakob
4bb5e8c3d6
vertex color and PLY loading support
2010-09-28 19:47:16 +02:00
Wenzel Jakob
ef55697dd9
importance sampling support for environment maps
2010-09-21 02:45:25 +02:00