Picture yourself with an area and placing a camera lens or eye above it. What I'd like to do is create an eclipse on the area to show exactly what the lens or eye can see. So far, I have achieved this:
https://i.sstatic.net/VHWc5.png
You can interact with an example on JSFIDDLE. The example shows a lens pointing towards the center of the area.
Is it possible to outline that eclipse on the area with borders or a different background? I attempted to clip the cone, but was unable to fill the area of the clipped cone (it remained empty inside). Any suggestions on how I can achieve this?
Both elements are THREE.Mesh
, with the area being a THREE.BoxGeometry
and the cone being a THREE.ConeGeometry
(both with THREE.MeshPhongMaterial
material).