Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PathingAPI use SignalR with MessagePack to transfer large chunk of geometry data from c# backend to BabylonJS frontend #668

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

Xian55
Copy link
Owner

@Xian55 Xian55 commented Jan 27, 2025

Key Changes:

  • PPather: PathGraph: Improved TestPoints handling. It's used during pathfinding, visualizing the considered Spots. Optimized FollowTraceBackLocations
  • PPather: MeshFactory: No longer allocates and requires a working array. TriangleType: Added ToIndex
  • Solution: Added MessagePack with SignalR
  • PathingAPI: WatchHub Added SignalR hub to transfer large volume of geometry data from c# backend to javascript more efficiently
  • PathingAPI: refactor Watch.razor and babylonjs.js to take advantage of SignalR and Messagepack with LZ compressed geometry data transferring
  • PathingAPI: Watch.razor added indicators for which features are enabled(green)
  • PathingAPI: significant memory reduction while using the Watch.razor and Search.razor page!
  • BabylonJS: Added scene inspector as debugging feature

…hfinding, visualizing the considered Spots. Optimized FollowTraceBackLocations

PPather: MeshFactory: No longer allocates and requires a working array. TriangleType: Added ToIndex

Solution: Added MessagePack with SignalR

PathingAPI: WatchHub Added SignalR hub to transfer large volume of geometry data from c# backend to javascript more efficiently

PathingAPI: refactor Watch.razor and babylonjs.js to take advantage of SignalR and Messagepack with LZ compressed geometry data transferring

PathingAPI: significant memory reduction while using the Watch and Search page!
@Xian55 Xian55 added refactor This ticket concerns the possible simplification of code/data. enhancement This pull request implements a new feature. labels Jan 27, 2025
@Xian55 Xian55 merged commit bb66dd3 into dev Jan 27, 2025
1 check passed
@Xian55 Xian55 deleted the feature/pathingapi/messagepack branch January 27, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This pull request implements a new feature. refactor This ticket concerns the possible simplification of code/data.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant