Texture rendering
-
Is it possible to apply a texture to a solid? Is it foreseen in the future?
If that's not possible, what makes implementation difficult?
Thank you -
@Pippo-LoVe as mentioned, JSCAD focuses on designs for 3D printing, and therefore colors are essential. Colors are assigned to a geometry / shape after completing all operations.
Colors can also be assigned to individual polygons on 3D geometries.
Having said the above, textures may be possible. But there have not been many requests for this support.
-
If it is not intended in jscad, I have some code that converts jscad models to three.js BufferGeometry ...
I have intentionally skipped generating normals (hoping it would give me more speed).
without normals polygons can be colored, but image texture can not be applied correctly, but fortunately it should not be too difficult.
https://threejsfundamentals.org/threejs/lessons/threejs-custom-buffergeometry.html