Implement llCastRay fully, simplified.

This commit is contained in:
Magnuz Binder
2015-05-03 07:50:13 +02:00
committed by dahlia
parent 30f9e5372e
commit 43b8bd0c35
2 changed files with 797 additions and 1 deletions

View File

@@ -1477,6 +1477,44 @@
; Avatar bounding box, upper Z value, coefficient to multiply with avatar height, when sitting
UpperAvatarBoundingBoxSittingZcoeff = 0.25
; Safety coefficient for max bounding box from prim size box X coordinate
; Worst case is twisted and sheared box, 1+sqrt(2)
PrimBoundingBoxSafetyCoefficientX = 2.414214
; Safety coefficient for max bounding box from prim size box Y coordinate
; Worst case is twisted and sheared box, 1+sqrt(2)
PrimBoundingBoxSafetyCoefficientY = 2.414214
; Safety coefficient for max bounding box from prim size box Z coordinate
; Worst case is twisted tube, 0.5+sqrt(1.25)
PrimBoundingBoxSafetyCoefficientZ = 1.618034
; Accepted calculation precision error in calculations in llCastRay
FloatToleranceInLlCastRay = 0.000001
; Accepted distance difference between duplicate hits in llCastRay
FloatTolerance2InLlCastRay = 0.0001
; Maximum number of returned hits from llCastRay
MaxHitsInLlCastRay = 16
; Maximum number of returned hits per prim from llCastRay
MaxHitsPerPrimInLlCastRay = 16
; Maximum number of returned hits per object from llCastRay
MaxHitsPerObjectInLlCastRay = 16
; Report ray intersections with surfaces on exits from a prim as hits in llCastRay if true
DetectExitHitsInLlCastRay = false
; Filter on parts instead of groups in llCastRay if true
FilterPartsInLlCastRay = false
; Detect attachments in llCastRay if true
DoAttachmentsInLlCastRay = false
; Use legacy version 1 of llCastRay if true
UseLlCastRayV1 = true
[DataSnapshot]
; The following set of configs pertains to search.