Open chatelao opened 2 years ago
There is something we call realistic preview, but that has nothing to do with an actual 3d preview. We just display the svg stitch plan with some svg filters applied to it in the simulator and the pdf print preview. The simulator uses the electron browser.
In which part of the code could I find this?
The svg with filters? Have a look here: https://github.com/inkstitch/inkstitch/blob/main/lib/svg/rendering.py and also here: https://github.com/inkstitch/inkstitch/blob/main/electron/src/renderer/assets/js/simulator.js
If you have ideas to make the realistic view better, I'd love to see them! This was the best I could figure out but there's definitely room for improvement.
Is there any 3D preview function included?
The (anisotropic) reflections are best seen, if the light or the embrodery can be shown 3D on some kind of turntable.
Question: