UVtools icon indicating copy to clipboard operation
UVtools copied to clipboard

[FEATURE REQUEST] Difference view with multiple layers.

Open bartoszek opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe

Would be nice to have ability to view multiple layers in the difference view to assess how many layers there's till island gets reconnected without having to slowly cycle through a bunch of layers.

Describe the solution you'd like

Add a two alternating colors with a value gradient, showing multiple layers in the difference view.

Screenshots

Example of 4 layers difference view. xenomorph_torso_head_hollowed_35,5ml_8h50m_difference_proposal

bartoszek avatar Nov 08 '22 09:11 bartoszek

This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌

github-actions[bot] avatar Nov 08 '22 09:11 github-actions[bot]

Nex step would be to add voxel rendering to inspect print file in glorious 3d 😏

bartoszek avatar Nov 09 '22 09:11 bartoszek

how many layers there's till island gets reconnected

This is a performance problem, is not viable to do it "live" while you change layers. Anything that require comparing images, search for a feature and iterate is very slow and can't afford in a live nativation.

...add voxel rendering to inspect print file..

Do not expect that to happen soon either, the 3d mesh reconstruction from 2D is very slow and generate ton of triangles which is impossible for most machines to render from RAM. Try to export your layers to mesh using the layer actions, open in a software and see the result

sn4k3 avatar Nov 09 '22 19:11 sn4k3

the 3d mesh reconstruction from 2D is very slow and generate ton of triangles

No no no, just do a voxel rendering, like the VTK does: just color the voxel in accordance with detected issue and set transparency with layer makes and type of issue. 1ab4daf8846d19097b43751c3eb8cf1ac67486c3.gif Perhaps it would be beneficial performance wise to use Kitware.VTK to display the layer view after all ¯⁠\⁠⁠(⁠ツ⁠)⁠⁠/⁠¯ https://vtk.org/Wiki/VTK/CSharp/ActiViz.NET vtkImageCroppingWidget.gif This could give a possibility to e.g: dig arbitrary orientation 3D holes in the print by placing cylinder in the viewport, and masking voxels overlapping with its inside.

bartoszek avatar Nov 11 '22 12:11 bartoszek

openCV compiles the VTK module but never tried, documentation is lacking. An extra problem is to make the render to work integrated, it must be displayed inside current UI framework and integrate with other elements which is no easy task. I'm still waiting for thier openTK implementation, currently openGL can't be used on windows bug-free

sn4k3 avatar Nov 11 '22 16:11 sn4k3