On codepen I am making a Vase. Currently it is built up off hexagons.
The code:
https://codepen.io/michielschukking/pen/gbMKajE?editors=0012
The result:
https://codepen.io/michielschukking/full/gbMKajE
Next thing that is needed is adding thickness to the hexagons. It needs to go to the 3D printer.
https://codepen.io/michielschukking/pen/ByzGeKe
https://codepen.io/michielschukking/full/ByzGeKe
Now adding light would be handy or else I can’t see what I am doing on the edges of each hexagon.
The geometry was a fairly complex task so I hope it is possible.
The THREE.PointLight added to the scene doesn’t seem to do anything. Then I tried changing the material, but then the whole drawing disappears. I used MeshPhongMaterial, MeshLambertMaterial, and MeshStandardMaterial. I get a black screen with nothing on it. Maybe I did it wrong.
Would be nice if I could start working with light in my parametric design.
(Also OrbitControls, how do I add it in this coding style.)


