NULL-COLLISION ALGORITHMSPART 2 TRANSMITTANCE ESTIMATION In this - - PowerPoint PPT Presentation

null collision algorithms part 2 transmittance estimation
SMART_READER_LITE
LIVE PREVIEW

NULL-COLLISION ALGORITHMSPART 2 TRANSMITTANCE ESTIMATION In this - - PowerPoint PPT Presentation

NULL-COLLISION ALGORITHMSPART 2 TRANSMITTANCE ESTIMATION In this second part, we will look at algorithms for transmittance estimation that are based on null collisions. DELTA TRACKING Extinction A B A B ransmittance T Distance A B


slide-1
SLIDE 1

NULL-COLLISION ALGORITHMS—PART 2 TRANSMITTANCE ESTIMATION

In this second part, we will look at algorithms for transmittance estimation that are based on null collisions.

slide-2
SLIDE 2

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

DELTA TRACKING

2 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B A B

Delta tracking can be used as a track-length estimator to estimate transmittance in the following way. We perform the tracking and record the distance to the first real

  • collision. If the distance is shorter than the distance of the segment of interest (here the distance to point B), the transmittance is approximated as 0. If the delta-tracking

sample exceeds the distance to B, then transmittance is estimated as 1. We can plot the transmittance approximation (pink curve), given by a single instance of delta tracking, which takes a form of a step function dropping from 1 to 0 at the distance of the real collision. Such binary approximation is very crude. We can refine it by averaging multiple instances of the tracker.

slide-3
SLIDE 3

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

DELTA TRACKING

3 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B A B

2 samples

Here we tracked another instance. The pink function shows the average of the two instances.

slide-4
SLIDE 4

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

DELTA TRACKING

4 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B A B

3 samples

3 instances

slide-5
SLIDE 5

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

DELTA TRACKING

5 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B A B

4 samples

4 instances… Refining the transmittance function estimate by invoking tracking multiple distances is however fairly expensive and computationally inefficient (in most cases).

slide-6
SLIDE 6

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

DELTA TRACKING

6 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B A B

Each collision provides only binary inf

  • rmation

During a single tracking, we extract a fair amount of information about the medium (the collision coefficients at each individual tentative collision), but we reduce the information to only a binary value by probabilistically classifying the collision as either real or null. It seems somewhat inefficient to just flip a coin and reduce all the information to a binary outcome.

slide-7
SLIDE 7

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RATIO TRACKING

7 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B A B

1) Remove termination 2) Compute weight

Y

i

µn(xi) ¯ µ

[Cramer 1978, Novák et al. 2014]

Ratio tracking addresses the inefficiency of delta tracking. The idea of ratio tracking is to remove the random termination, and replace it by its expectation, which serves as a weight (this is also known as Rao-Blackwelization). Instead of scoring a binary answer, the tracker scores a rational weight: the product of ratios (of the null-collision coefficient to the majorant) at all points visited before reaching distance B. The resulting approximation of transmittance is piecewise constant (instead of binary).

slide-8
SLIDE 8

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RATIO TRACKING

8 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B

1) Remove termination 2) Compute weight

Y

i

µn(xi) ¯ µ Let us know consider the impact of the amount of the fictitious material on the resulting transmittance approximation.

slide-9
SLIDE 9

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RATIO TRACKING

9 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B

1) Remove termination 2) Compute weight

Y

i

µn(xi) ¯ µ In cases when a significant amount of null collisions is added, the distance samples tend to be short (and many) and the local collision weights are relatively high. The piecewise-constant approximation contains many steps and estimates the transmittance fairly accurately.

slide-10
SLIDE 10

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RATIO TRACKING

10 — DISTANCE SAMPLING

Distance Extinction T ransmittance A B A B

1) Remove termination 2) Compute weight

Y

i

µn(xi) ¯ µ

Extra steps => higher cost than delta tracking

In the opposite extreme when no fictitious material is added, the ratio at the first collision will be zero, and the transmittance approximation becomes again a binary function (as in the case of delta tracking). One caveat is that the ratio tracking would keep going further until reaching the desired distance B performing (unnecessary) steps that do not further refine the transmittance estimate—it is already zero. In practice, it is best to start with ratio tracking and once the product of weights drops below a certain threshold (e.g. 0.1), then switch to delta tracking by invoking the probabilistic termination of the walk.

slide-11
SLIDE 11

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RATIO TRACKING

11 — DISTANCE SAMPLING

Probabilistic TERMINATION replaced by WEIGHTING

  • Rational score instead of binary
  • Requires more steps than a delta-tracking estimator (must reach B)
  • Reduces the need for tight majorants
  • Loose majorants produce (more null collisions and therefore) finer estimates

The main benefit of ratio tracking is the robustness against loose majorants. The cost of the tracker increases in such cases, but the estimation error is significantly reduced by obtaining a fine, piecewise-constant estimate of the transmittance function.

slide-12
SLIDE 12

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RESIDUAL RATIO TRACKING

12 — DISTANCE SAMPLING

Compute part of the transmittance analytically

  • [Novák et al. 2014]

Ratio tracking can be also combined with the idea of decomposition tracking. The resulting weighted track-length estimator often further reduces estimation variance by treating part of the computation in closed form.

slide-13
SLIDE 13

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RESIDUAL RATIO TRACKING

13 — DISTANCE SAMPLING

CONTROL 
 component RESIDUAL 
 component Distance

C

  • n

t r

  • l

t r a n s m i t t a n c e 
 c

  • m

p u t e d a n a l y t i c a l l y Residual transmittance
 estimated via
 ratio tracking

The transmittance in the homogeneous, control component (bottom) is computed analytically. The transmittance in the heterogeneous, residual component (top) is estimated using ratio tracking.

slide-14
SLIDE 14

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RESIDUAL RATIO TRACKING

14 — DISTANCE SAMPLING

Distance

Piecewise exponential transmittance T rue transmittance

hT(t)i = Tcontrol(t) hTresidual(t)i The transmittance in the combined medium is then obtain as the product of the two transmittance functions yielding a piecewise-exponential approximation to the ground-truth function.

slide-15
SLIDE 15

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

RESIDUAL RATIO TRACKING

15 — DISTANCE SAMPLING

HOMOGENEOUS and RESIDUAL HETEROGENEOUS components

  • Reduces noise by handling part of the transmittance analytically
  • Requires a space-partitioning data structure (e.g. octree) to be practical
  • Can handle negative residual extinctions
slide-16
SLIDE 16

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

NEXT-FLIGHT ESTIMATORS

16 — DISTANCE SAMPLING

Score a weight at every tentative collision

  • Cramer [1978] combines next-flight estimation with delta and ratio tracking

NEXT-FLIGHT DELTA TRACKING

hT(t)i = T¯

µ(0, t) + n

X

j=1

µn(tj) ¯ µ(tj) T¯

µ(tj, t)

T ransmittance along the remaining segment through real + fictitious matter A B Fraction of fictitious matter

There is one other approach that is based on null collisions—developed by Cramer for deep-penetration problems—that has not been yet fully evaluated in the context of rendering. Cramer applies the idea of next-event estimation to delta-tracking and ratio-tracking based transmittance estimators. In the case of delta tracking, he proposes to score a “next-flight” contribution (analogous to a shadow ray) at each tentative collision, which amounts to the transmittance along the remaining segment towards point B, weighted by the local u_n/bar{u} ratio. Next-flight ratio tracker works in a similar way. Please see the original publication or our EG STAR from 2018 for additional details.

slide-17
SLIDE 17

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

SUMMARY

17 — DISTANCE SAMPLING

DELTA TRACKING estimator

  • Relatively cheap but binary, inefficient w/ loose majorants

RATIO TRACKING estimator

  • More expensive, but also more accurate especially w/ loose majorants

RESIDUAL TRACKING estimators

  • Reduces variance by employing analytic computation for part of the transmittance function

NEXT-FLIGHT estimators

  • Further improve performance by scoring a weight at each step
  • Not fully explored yet in the context of rendering…
slide-18
SLIDE 18

MONTE CARLO METHODS FOR PHYSICALLY BASED VOLUME RENDERING

ACKNOWLEDGEMENTS

18 — DISTANCE SAMPLING

Peter Kutz f

  • r tracing down many of the early delta tracking papers

Maurizio Nitti f

  • r help w/ illustrations