Coding Magic: Interactive Earth with Three.js

Поделиться
HTML-код
  • Опубликовано: 26 янв 2025
  • ХоббиХобби

Комментарии • 23

  • @fiuzzii
    @fiuzzii 4 месяца назад +1

    thank you for your tutorials. Idk if you know how much it's helpful. Keep going man

    • @robotbobby9
      @robotbobby9  4 месяца назад

      Thank you @fiuzzii - the feedback is most welcome!

  • @Anonymous-zf7ss
    @Anonymous-zf7ss 4 месяца назад

    I love it

  • @DarkGourmand
    @DarkGourmand 4 месяца назад +2

    Great work!

  • @fwdflashwebdesign
    @fwdflashwebdesign 4 месяца назад

    Great video, you are getting better!

  • @BooksWeCanRead
    @BooksWeCanRead 4 месяца назад

    That’s awesome!! 👏👏👏

  • @agendaaaa
    @agendaaaa 4 месяца назад +1

    really cool

  • @skilledcamman4752
    @skilledcamman4752 3 месяца назад

    Hey, could you help me on a personal project im working on for school, basically create near earth objects in three.js

    • @robotbobby9
      @robotbobby9  3 месяца назад

      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?

    • @skilledcamman4752
      @skilledcamman4752 3 месяца назад +1

      @@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

    • @robotbobby9
      @robotbobby9  3 месяца назад

      Please let me know how things progress, feel free to PM me

  • @sagar-tt4ub
    @sagar-tt4ub 4 месяца назад

    how do you handle when the raycaster co-ordinates and mouseUV are not same?

    • @robotbobby9
      @robotbobby9  4 месяца назад

      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;
      }`

    • @sagar-tt4ub
      @sagar-tt4ub 4 месяца назад

      @@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

  • @Ehti-u4r
    @Ehti-u4r 9 дней назад

    Can we add marker?

    • @robotbobby9
      @robotbobby9  8 дней назад

      Yes, with the lat / long data, we can use the same geoJSON functions I think

  • @sagar-tt4ub
    @sagar-tt4ub 3 месяца назад

    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