question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Precomputed mesh chunk loading

See original GitHub issue

I am able to generate multiresolution meshes and load them into neuroglancer. The meshes look good and the transitions seem okay at the lower resolutions, but towards the higher resolutions I notice that they don’t seem to load in an order that makes sense; in some cases things far off appear to load at higher resolutions before things up close. In some cases, the things up close never load at the high detail I would expect. See attached images, where the high res mesh has loaded for the part of the object that is farther away but never loads for the part that is closer (you can see the seam between chunks). Would this be expected where lower res chunks meet? Could this be because my higher resolution meshes take up too much memory? Or could this have to do with the fact I am setting grid_origin and vertex_offsets to [0,0,0], and calculate fragment_positions based on a given chunk’s overall position in the dataset? image image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jbmscommented, Apr 16, 2021

I’m still investigating, but it appears that there is a problem with the octree that Neuroglancer constructs from the index file. I suspect it is a bug in Neuroglancer.

0reactions
davidackermancommented, Apr 16, 2021

That did it, thanks so much! I naively was calculating Zorder using absolute fragment positions rather than their absolute positions divided by the chunk shape.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Precomputed neuroglancer format - NeuroData
The precomputed format specification is a data source format for loading data into neuroglancer. This page documents how to generate precomputed compressed ...
Read more >
Implementing ChunkDownloader Ingame
ChunkDownloader is a patching solution for Unreal Engine. It downloads assets from a remote service and mounts them in memory for use in...
Read more >
Chunk loading performance is too slow : r/VoxelGameDev
I got smooth framerate over 1000FPS. Just the loading of chunks take too long. So for now i don't need greedy mesh. But...
Read more >
Splitting dynamic terrain to chunks - Questions - Babylon.js
I'm working with dynamic terrain and trying to split it to multiple chunks. I want to load zone mapData depending on player's position....
Read more >
How does Hierarchical Pathfinding deal with obstructions in ...
Partitioning the chunk into two might result in additional entrances (nodes) in the graph, but otherwise there is nothing special that ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found