I love it
how do you handle when the raycaster co-ordinates and mouseUV are not same?
Not sure I understand, since the mouseUV uniform gets it's value from the raycaster
`function handleRaycast() {
raycaster.setFromCamera(pointerPos, camera);
const intersects = raycaster.intersectObjects([globe], false);
if (intersects.length > 0) {
globeUV.copy(intersects[0].uv);
}
uniforms.mouseUV.value = globeUV;
}`
@@robotbobby9 I didn't explain my problem better. Sorry for that, English isn't my primary language
I wasnt rotating the wireframed mesh underlying the ShaderMaterial that was causing problems with uv co-ordinates.
Anyway, the problem has been fixed now.
Great videos
Hey, could you help me on a personal project im working on for school, basically create near earth objects in three.js
Interesting stuff! I found this image:
en.wikipedia.org/wiki/Near-Earth_object#/media/File:Potentially_Hazardous_Asteroids_2013.png
Are you going to track actual objects or just simulate / approximate them?
@@robotbobby9 tracking the object is out of my scope, simulate is the way to go, at least for me, most of the object wont even move significantly for at-least another few months
and are you on twitter? I post about projects I learn from your videos, I'd like to tag you if you have an account
thank you for your tutorials. Idk if you know how much it's helpful. Keep going man
Thank you @fiuzzii - the feedback is most welcome!