この記事はthreejs journeyを利用しての学習メモです。 このthreejs journeyはthree.jsを学ぶのに非常に有用ですので、是非視聴してみてください。おすすめです!! Raycasterとは Three.jsで光線(Ray)を使ってオブジェクトとの交差を検出するためのものです。これを利用 ...
オブジェクトをクリックして色を変えたり、マウスをホバーさせてアニメーションを加えたり…。Three.jsでインタラクティブな表現をするには**「Raycaster」**を使う、と以前目にしました。 そこで今回は、そのRaycasterの勉強をしてみました。(主に「Three.js ...
Welcome to my raycaster program! If you don't know what a raycaster is, put simply, it's a 3D simulation of a 2D space. This simulation is accomplished by sending rays out from the player's position ...