Commit 494fe2f
committed
LOD: Remove "Raycast Normals" and associated "Normal Split Angle" settings
"Raycast Normals" was introduced in 4.4 dev and defaulted to "false".
The limited testing results at the time suggested that raycasting
generally reduces normal quality compared to native simplifier results,
at the same time increasing vertex memory and import time.
To play it safe, we introduced a setting that defaulted to false, with
the goal of removing it later in 4.4 development cycle if no regressions
are noticed. Since we already had three dev snapshots and no reports,
this change removes the setting and associated code.
"Normal Split Angle" was only used when raycast normals were enabled;
this change removes it from the settings, but keeps it in the script
binding for compatibility.
Existing meshes import exactly the same after this change (unless they
chose to override raycasting which would be surprising).
split_normals helper was only used in this code path and is also removed
for simplicity; it is unlikely that this code will be useful as is, as
it can only regenerate normals without fixing tangents or updating
positions.1 parent a308047 commit 494fe2f
File tree
5 files changed
+9
-309
lines changed- doc/classes
- editor/import/3d
- scene/resources/3d
5 files changed
+9
-309
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2043 | 2043 | | |
2044 | 2044 | | |
2045 | 2045 | | |
2046 | | - | |
2047 | 2046 | | |
2048 | | - | |
2049 | 2047 | | |
2050 | 2048 | | |
2051 | 2049 | | |
| |||
2474 | 2472 | | |
2475 | 2473 | | |
2476 | 2474 | | |
2477 | | - | |
2478 | 2475 | | |
2479 | | - | |
2480 | 2476 | | |
2481 | 2477 | | |
2482 | 2478 | | |
| |||
2523 | 2519 | | |
2524 | 2520 | | |
2525 | 2521 | | |
2526 | | - | |
2527 | | - | |
2528 | | - | |
2529 | | - | |
2530 | 2522 | | |
2531 | 2523 | | |
2532 | 2524 | | |
2533 | 2525 | | |
2534 | | - | |
2535 | | - | |
2536 | | - | |
2537 | | - | |
2538 | 2526 | | |
2539 | 2527 | | |
2540 | 2528 | | |
| |||
2583 | 2571 | | |
2584 | 2572 | | |
2585 | 2573 | | |
2586 | | - | |
| 2574 | + | |
2587 | 2575 | | |
2588 | 2576 | | |
2589 | 2577 | | |
| |||
0 commit comments