zzsort / monono2

Aion geo viewer
33 stars 42 forks source link

5 - Toggle floor/navmesh. (requires code modification to use). #3

Open Langerz82 opened 4 years ago

Langerz82 commented 4 years ago

I'd like to work on this issue but need a heads up on what needs to be modified. If you could reply any extra information that would be great. Kind regards, ~Langerz.

zzsort commented 4 years ago

The comment relates to the code in the function LoadNavMeshTestData(), which has no UI for configuring the feature. It is configured entirely in compiled code, like which file or level to load, how much data to load, whether to recalculate from the level data or load from already compiled mesh data.

Part of the work for this will be to figure out a good UI, while keeping the code flexible to work with. I see two use cases: 1) you run the app, and just want to look at level data. Or 2) you want to debug navmesh data. For case 1, this is what the above mentioned UI would be for. For case 2, I want to debug navmesh data by making code changes, since I can zero in on specific pieces of data to look at and I don't need to also build and maintain a whole UI to do that.

I have some code changes for viewing the navmesh near the current camera position which I'll try to push soon so you can see the latest code.

Langerz82 commented 4 years ago

Good work man I havent tested it but I'm sure its good. I was going to modify Aion Germany to work with the server files when I get some time today.