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

Precompute portal node graphs #4

Conversation

jere8184
Copy link

@jere8184 jere8184 commented Oct 15, 2024

WIP

heinezen and others added 30 commits September 8, 2024 01:29
Change recommended entrypoint for Windows build
Update syntax of GlUniformBuffer to match that of GlUniformInput SFTtech#1683
correction of a few grammatical errors and typos
Co-authored-by: Christoph Heine <6852422+heinezen@users.noreply.github.com>
Co-authored-by: Christoph Heine <6852422+heinezen@users.noreply.github.com>
Fix tex unit assignment to `std::optional` type
includes DbgHelp.h after windows.h to prevent errors
Copy link
Owner

@heinezen heinezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor points, but it already looks pretty refined.

libopenage/pathfinding/grid.cpp Outdated Show resolved Hide resolved
libopenage/pathfinding/grid.cpp Outdated Show resolved Hide resolved
libopenage/pathfinding/grid.cpp Outdated Show resolved Hide resolved
libopenage/pathfinding/grid.h Outdated Show resolved Hide resolved
libopenage/pathfinding/grid.h Show resolved Hide resolved
libopenage/pathfinding/pathfinder.cpp Outdated Show resolved Hide resolved
libopenage/pathfinding/pathfinder.cpp Outdated Show resolved Hide resolved
libopenage/pathfinding/pathfinder.h Outdated Show resolved Hide resolved
libopenage/pathfinding/pathfinder.h Outdated Show resolved Hide resolved
libopenage/pathfinding/pathfinder.h Outdated Show resolved Hide resolved
@jere8184 jere8184 force-pushed the precompute_portal_node_graphs branch 2 times, most recently from b2552cb to 64790d4 Compare November 9, 2024 01:39
@jere8184 jere8184 requested a review from heinezen November 10, 2024 18:53
Copy link
Owner

@heinezen heinezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final change requests I hope :D

libopenage/pathfinding/pathfinder.cpp Outdated Show resolved Hide resolved
libopenage/pathfinding/pathfinder.h Outdated Show resolved Hide resolved
libopenage/pathfinding/pathfinder.h Outdated Show resolved Hide resolved
@jere8184 jere8184 force-pushed the precompute_portal_node_graphs branch 2 times, most recently from 7cc49be to d0b8fb9 Compare November 14, 2024 20:26
@jere8184
Copy link
Author

jere8184 commented Nov 15, 2024

I'm now seeing a performance decrease. I've messed around with valgrind and from a quick glance I think the map look ups are causing this. :/.

edit: I've got a plan.

@jere8184 jere8184 force-pushed the precompute_portal_node_graphs branch from d0b8fb9 to 0763aaf Compare November 15, 2024 14:48
@jere8184
Copy link
Author

@heinezen feel free to take a look, pretty decent performance increase observed :)

@jere8184 jere8184 requested a review from heinezen November 16, 2024 16:41
@heinezen
Copy link
Owner

Nice, I think this should be ready now :) We can always improve the code later.

I have just a few requests before merging:

@jere8184 jere8184 force-pushed the precompute_portal_node_graphs branch from f3003dc to 6d232d9 Compare November 18, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants