Is there a way to view the raw voxels? #82
Replies: 4 comments 1 reply
-
|
Unfortunately I can't answer your question and would like to hear if there is a solution for your matter - but assume there is none. As written in this discussion the voxels object is not just discrete. I assume you have to create a scalar field from it and then probe it/count the voxels in a certain region as described in that discussion by Lin. Let me also elaborate: If you really need the cubical mesh or to change the type of smoothing, changes at the backbone of PicoGK's runtime would be necessary. Best |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hello @evanmjensen, This might be a bit late, but I have found a way to get what you want. When it is exported, you can now open the output vdb file in Paraview (it is an open-source post-processing visualization engine). Use Paraview version 5.10 or above (versions 6.0 and above do not support VDB files).
Now you should have a box full of voxels. The useful geometry is hidden inside. To filter the output, click on the button to apply a threshold to the voxels (red box). Then change the Upper Threshold to 0 (green box), click Apply. Finally, change the representation to Surface With Edges and voilà!
Best, |
Beta Was this translation helpful? Give feedback.
-
|
Eliott, Thank you for this! I was able to get this working on Paraview 5.13.3, but not on 5.10.1 (for anyone else trying). This is also a much richer visualization than default PicoGK which is great for early prototyping. Thank you for taking the time to write out the answer. I'll mark it when i get into my other account. |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'll elaborate slightly... I've built a coil in code. I'm interested in seeing exactly how many voxels are in the cross-section of the coil. I know the diameter of course, and I can estimate it by my dimensions in my call to PickGK.Library.Go(0.3f, OurClass.Helix);, however I'd love to see a mode where there is no tessellated interpolation and I can view the output more like "minecraft" where I can see the exact data in voxelized form.
I've been successful in exporting the voxelized form to a vdb file by using: voxLat.SaveToVdbFile(), however I have trouble viewing it effectively in blender. Is there a way to view the part in voxel-space natively at "design time" while writing code?
I'm trying to hit critical machine dimensions for laser powder bed fusion so the voxel-by-voxel interaction is critical in my application.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions