xibyte / jsketcher

Parametric 2D and 3D modeler written in pure javascript
http://web-cad.org
Other
1.49k stars 279 forks source link

How do I add textures to the model #205

Open ChenZongHeng opened 1 year ago

ChenZongHeng commented 1 year ago

When creating cubes and spheres, they are all created through BufferGeometry. uv attribute is not given in the source code, so I want to give the cube texture map, which does not take effect. Will uv attribute be added in the subsequent version?