diff options
author | Magnuz Binder | 2015-05-04 10:51:04 +0200 |
---|---|---|
committer | Michael Cerquoni | 2015-05-04 12:44:58 -0400 |
commit | c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17 (patch) | |
tree | db37109d4a9d73fc149825cee0b53200dbe71240 /bin | |
parent | add new config parameters for llCastRay to OpenSimDefaults.ini (diff) | |
download | opensim-SC-c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17.zip opensim-SC-c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17.tar.gz opensim-SC-c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17.tar.bz2 opensim-SC-c96ee68953eb31fc2ad6d1df9b7a4bb19c584e17.tar.xz |
Patch llCastRay fully-simplified to V2.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/OpenSimDefaults.ini | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 275c207..4e1b7ca 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -1397,11 +1397,6 @@ | |||
1397 | ; Maximum number of external urls that scripts can set up in this simulator (e.g. via llRequestURL()) | 1397 | ; Maximum number of external urls that scripts can set up in this simulator (e.g. via llRequestURL()) |
1398 | max_external_urls_per_simulator = 100 | 1398 | max_external_urls_per_simulator = 100 |
1399 | 1399 | ||
1400 | ; Use version 1 of llCastRay as default if true. If set to false, the new | ||
1401 | ; version of llCastRay will be used. This gives better accuracy but | ||
1402 | ; uses more CPU and may may be slow on some servers | ||
1403 | UseLlCastRayV1 = true | ||
1404 | |||
1405 | ; Use size boxes instead of meshed prims, sculpts and mesh when calculating bounding boxes. | 1400 | ; Use size boxes instead of meshed prims, sculpts and mesh when calculating bounding boxes. |
1406 | ; Speeds up calculations but can make them inaccurate, in some cases very inaccurate. | 1401 | ; Speeds up calculations but can make them inaccurate, in some cases very inaccurate. |
1407 | UseSimpleBoxesInGetBoundingBox = false | 1402 | UseSimpleBoxesInGetBoundingBox = false |
@@ -1494,6 +1489,14 @@ | |||
1494 | ; Worst case is twisted tube, 0.5+sqrt(1.25) | 1489 | ; Worst case is twisted tube, 0.5+sqrt(1.25) |
1495 | PrimBoundingBoxSafetyCoefficientZ = 1.618034 | 1490 | PrimBoundingBoxSafetyCoefficientZ = 1.618034 |
1496 | 1491 | ||
1492 | ; Use new version 2 of llCastRay as default if true | ||
1493 | ; This gives better accuracy and speed on some servers, but may be slower on other servers | ||
1494 | UseLlCastRayV2 = false | ||
1495 | |||
1496 | ; Irregular bit flag to use after RC_DATA_FLAGS in calls to llCastRay to use version 2 | ||
1497 | ; Bit flags RC_GET_NORMAL = 1, RC_GET_ROOT_KEY = 2 and RC_GET_LINK_NUM = 4 are already in regular use | ||
1498 | RC_USE_V2 = 512 | ||
1499 | |||
1497 | ; Accepted calculation precision error in calculations in llCastRay | 1500 | ; Accepted calculation precision error in calculations in llCastRay |
1498 | FloatToleranceInLlCastRay = 0.000001 | 1501 | FloatToleranceInLlCastRay = 0.000001 |
1499 | 1502 | ||
@@ -1518,9 +1521,6 @@ | |||
1518 | ; Detect attachments in llCastRay if true | 1521 | ; Detect attachments in llCastRay if true |
1519 | DoAttachmentsInLlCastRay = false | 1522 | DoAttachmentsInLlCastRay = false |
1520 | 1523 | ||
1521 | ; Use legacy version 1 of llCastRay if true | ||
1522 | UseLlCastRayV1 = true | ||
1523 | |||
1524 | [DataSnapshot] | 1524 | [DataSnapshot] |
1525 | ; The following set of configs pertains to search. | 1525 | ; The following set of configs pertains to search. |
1526 | ; Set index_sims to true to enable search engines to index your searchable data | 1526 | ; Set index_sims to true to enable search engines to index your searchable data |