top | item 42819076

(no title)

______ | 1 year ago

The main Raycaster class in three.js (which you can access / use via refs from Threlte) isn't tied to the view, but can be used to cast from any point.

It might get computationally expensive to point that raycaster in many directions and intersect with all leaves. I'm not aware of a way to do "bulk" raycasting in three.js yet.

Separately, the lighting / shadows can compute visually shadow and lighting. But I'm not aware of a way to then easily measure out how much of a mesh is in shadow.

I am also interested in tree simulation -- I'm tinkering on a arborist/lumberjack game where you trim / cut down trees :)

discuss

order

No comments yet.