userFelixcancel
reporust_rebootcancel

612 Commits over 457 Days - 0.06cph!

4 Days Ago
Advanced on-screen profiling using FrameTimingManager (WIP)
4 Days Ago
Improve Update() performance by caching is_in_motion state for every entity.
4 Days Ago
Improve Update() performance by caching is_in_motion state for every entity.
5 Days Ago
merge from indirect_instancing
5 Days Ago
* Tuned execution order to avoid waiting for jobs the main thread. * Split TransformApplyJob into TransformGatherJob that only extracts matrices to reduce any locks we might place on transform data. * Added a ton more instrumentation to the CrudeProfiler to get more live information about Indirect Instancing, Debug Draw and also some global timings. * Made certain expensive debug features toggleable. * The debug overlay can now render “µ”.
6 Days Ago
merge from indirect_instancing
6 Days Ago
Some fixes and cleanups for the Indirect Instancing debug overlay
7 Days Ago
merge from indirect_instancing
7 Days Ago
rebase on main
7 Days Ago
Properly cull underground objects when Indirect Instancing is enabled
7 Days Ago
Fix culling volumes not working with Indirect Instancing by allowing to inject culling decisions from gameplay code. (pre_culled_mask)
13 Days Ago
merge from indirect_instancing
13 Days Ago
Fix deep sea island terrain not rendering properly when Indirect Instancing is enabled by not instancing all MeshTerrains for now.
13 Days Ago
Fix command count mismatch error spam due to destroyed materials.
13 Days Ago
merge from indirect_instancing (exception fix)
13 Days Ago
Fix a typo causing an access conflict between DamageTrackerRegionScanJob and TransformApplyJob
13 Days Ago
merge from indirect_instancing
13 Days Ago
Fix object popping caused by orphaned motion list entries in multiple ways: * Remove seq_nums from the motion list just before they are unassigned. This piggy-backs off the existing remove_queue to guarantee container safety when objects are destroyed at inconvienient times. No need for a separate motion_stop_queue. * Store parent entity for every InstancedLODComponent. When objects are returned to the pool they are unparented first, but they still need to know who their parent was so they can properly remove their seq_nums from that entity. Bonus: Fix some NREs when Indirect Instancing is disabled in the editor.
15 Days Ago
rebase on main
32 Days Ago
merge from indirect_instancing
32 Days Ago
Keep Indirect Instancing disabled by default (until rare wrong object bug is fixed)
32 Days Ago
rebase on main
32 Days Ago
* Improve job scheduling to make leaving the job phase more robust through loading screens * Fix NRE when trying to remove instances before Indirect Instancing was initialised
32 Days Ago
Remove unused field
33 Days Ago
Fix server build
33 Days Ago
rebase on main
33 Days Ago
* Made switching Indirect Instancing at runtime more robust * Prevent some other possible exceptions * Avoid some unnecessary calls to MotionList
33 Days Ago
* Renamed TransformMemory to MotionList (as it should be) * Use managed HashSet instead of NativeHashSet because there seems to be no performance benefit to using native at the moment. * Fixed exception caused by removing elements from the set while iterating
33 Days Ago
Use negative handles for fallback memory
33 Days Ago
Remove InstanceHandle and use a simple integer instead
33 Days Ago
* Added generic NativeMultiList to replace InstanceHandleList (WIP) * Store Transform.InstanceIDs (and actual nullable Transform references) in PerInstanceMemory, indexed by seq_num * Simplified MotionList add/removal procedures to HashSet operations * Cleared up function naming in BaseEntity.Client.Motion.cs * Consider all entities as a potential motion parent and utilise existing parent/child relations to call MotionStart / MotionStop * Removed IMotionParent interface because it caused more confusion than anything else * Correctly dispose of the hash set storing child instances when an entity is destroyed
35 Days Ago
(WIP) Large refactor: Make BaseEntity responsible for calling StartMotion / StopMotion with (potentially) a single array of numbers to mitigate spikes when large entities set into motion.
35 Days Ago
* Make instances identifiable by a single never changing integer * Speed up adding/removing instances by using various look up tables to find instances instead of staged linear searching
39 Days Ago
Convert seq_num uint → int
39 Days Ago
rebase on main
40 Days Ago
Enable Indirect Instancing by default
40 Days Ago
No longer restrict Indirect Instancing (`indirect_instancing.enabled`) to developer accounts. I'm looking at you, staging players. 👀
40 Days Ago
Allow Indirect Instancing to be toggled in-game any time (Also correctly applies config value when in editor now)
41 Days Ago
* Remove the need for HasValidMesh() on LOD components * Renamed a bunch of things for clarity
41 Days Ago
rebase on main
42 Days Ago
Disable Indirect Instancing by default to unblock editor issues (I'll be back)
42 Days Ago
Disable Indirect Instancing by default to unblock editor issues (I'll be back)
43 Days Ago
Remove wrong assertion
43 Days Ago
Remove wrong assertion
46 Days Ago
merge from indirect_instancing (for real this time)
46 Days Ago
merge from indirect_instancing
46 Days Ago
* Moved fallback bounds transformation to a job * Removed old fallback culling code
46 Days Ago
Cleanup: Remove old MotionList code
46 Days Ago
* Fixed objects in fallback renderer not updating correctly when in motion. * Added profiler markers for draw call submission of instanced and fallback renderers. * Fixed streaming_use_mesh_uv_distribution_metrics not actually doing anything.
47 Days Ago
Fix 2 NREs with Indirect Instancing enabled