Accelerate 400x200x1 VoxelGrid visualization: UpdateGeometry #5825
Unanswered
goksanisil23
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm generating a 400x200x1 voxel grid and based on the occupancy of each voxel, I'm recoloring the voxels and then calling UpdateGeometry() in the render loop.
Based on my timing analysis, UpdateGeometry() step takes a lot of time (~x100 the time it takes to update the entire voxel grid color):
updating voxel grid: 0.00397033 sec.
calling UpdateGeometry: 0.115679 sec.
Here's my setup:
Initialize the visualier:
Main perception loop:
Render loop:
As I mentioned, Render loop's UpdateGeometry step seems to be the culprit. But I'm sure updating a 400x200x1 voxel grid should not take so much time. Can somebody point me to what I might be missing?
Hardware: AMD Ryzen 5 2600x, Nvidia GTX1660Ti, 16GB RAM
Beta Was this translation helpful? Give feedback.
All reactions