You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* Optimized wireframe drawing. As a part of rearranging the code to make use of the upcoming ProcessHeightsFromRegion, the number of calls to GetHeight could be reduced, dropping the refresh time in my test case from 2550 ms to 1068 ms. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Change refresh to only happen on wireframe draws. This helps ensure that multiple data changes in a single frame don't cause multiple refreshes, and prevents us from taking a refresh penalty when the wireframe isn't being drawn at all. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Change debugger to update wireframes incrementally. This works by having a fixed NxN grid of sectors. The camera is always considered as being in the center of the grid, so anytime the camera's grid square changes, only a subset of sectors are updated to have the new wireframe data. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Bugfix - sector vertex count was 4x too high. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Bugfixes & comments. Fixed initial "mark dirty" refresh - the dirty region Z value needed to be ignored. Added copious comments for the math & logic, and simplified some of the math. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Small update to comment for better readability. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> * Addressed PR feedback. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com> |
4 years ago | |
|---|---|---|
| .. | ||
| TerrainHeightGradientListComponent.cpp | 4 years ago | |
| TerrainHeightGradientListComponent.h | 4 years ago | |
| TerrainLayerSpawnerComponent.cpp | 4 years ago | |
| TerrainLayerSpawnerComponent.h | 4 years ago | |
| TerrainPhysicsColliderComponent.cpp | 4 years ago | |
| TerrainPhysicsColliderComponent.h | 4 years ago | |
| TerrainSurfaceDataSystemComponent.cpp | 4 years ago | |
| TerrainSurfaceDataSystemComponent.h | 4 years ago | |
| TerrainSurfaceGradientListComponent.cpp | 4 years ago | |
| TerrainSurfaceGradientListComponent.h | 4 years ago | |
| TerrainSystemComponent.cpp | 4 years ago | |
| TerrainSystemComponent.h | 4 years ago | |
| TerrainWorldComponent.cpp | 4 years ago | |
| TerrainWorldComponent.h | 4 years ago | |
| TerrainWorldDebuggerComponent.cpp | 4 years ago | |
| TerrainWorldDebuggerComponent.h | 4 years ago | |
| TerrainWorldRendererComponent.cpp | 4 years ago | |
| TerrainWorldRendererComponent.h | 4 years ago | |