TkDOPNode::LineCheckBounds

The slab testing algorithm is based on the following papers.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/kDOP.h

Include

#include "kDOP.h"

Syntax

void LineCheckBounds
(
    TkDOPLineCollisionCheck< COLL_DATA_PROVIDER, KDOP_IDX_TYPE > & Check,
    FVector4 & HitTime,
    int32 NodeHit
) const

Remarks

The slab testing algorithm is based on the following papers. We chose to use the faster final hit determination, which means we'll get some false positives.

"A Cross-Platform Framework for Interactive Ray Tracing" Markus Geimer, Stefan Mueller http://www.uni-koblenz.de/~cg/publikationen/cp_raytrace.pdf

"Efficiency Issues for Ray Tracing" Brian Smits http://www.cs.utah.edu/~bes/papers/fastRT/paper-node10.html

We don't need to handle +/- INF, but we have permission to use Thierry Berger-Perrin trick available below.

http://www.flipcode.com/archives/SSE_RayBox_Intersection_Test.shtml

Parameters

Parameter

Description

Check

Information about the ray to trace

HitTime

[out] Time of hit

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss