How to Build a 3D Slideshow with React Three Fiber

Sdílet
Vložit
  • čas přidán 1. 07. 2024
  • Welcome to the Wawa Lab, together, we will learn how to build a 3D Slideshow between 3D scenes using Three.js with React Three Fiber
    View the final version here 👉 r3f-3d-slideshow.vercel.app/
    In this video we will discover how to use CameraControls to animate the camera smoothly and RenderTexture component to render 3D scenes and use them as textures.
    Get the final project here 🔗
    github.com/wass08/r3f-3D-slid...
    #threejs #r3f #slideshow
    ▬▬▬▬▬▬ Useful L I N K S 🔗 ▬▬▬▬▬▬
    Learn React Three Fiber with my complete course
    lessons.wawasensei.dev/course...
    CameraControls
    github.com/pmndrs/drei#camera...
    github.com/yomotsu/camera-con...
    RenderTexture
    github.com/pmndrs/drei#render...
    React Three Fiber documentation
    docs.pmnd.rs/react-three-fibe...
    R3F Drei
    github.com/pmndrs/drei
    ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
    00:00 - Intro
    01:09 - 3D scenes
    02:27 - Theory
    05:15 - RenderTexture
    09:39 - CameraControls
    14:21 - HTML Overlay
    17:04 - Responsive
    20:00 - Mobile result
    20:24 - Thank you!
    ▬▬▬▬▬▬ Support the channel 🙏 ▬▬▬▬▬▬
    Become a member to get access to awesome perks:
    / @wawasensei
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    💻 The Discord Community
    / discord
    📸 Instagram :
    / wawa.sensei
    🎎 Facebook :
    / wawasenseiyt
    🐦Twitter :
    / wawasensei
    🐦TikTok :
    / wawasensei08
    💻 My website :
    www.wawasensei.dev
  • Věda a technologie

Komentáře • 60

  • @martrom0
    @martrom0 Před měsícem

    Thank you very much !! Most of your tutorials fit perfectly what I've been looking for a long time ! Bravo !!!

  • @rachelsabo9076
    @rachelsabo9076 Před 9 měsíci +1

    Thankyouuu! You still make the best R3F tutorials available 💯🙏

    • @WawaSensei
      @WawaSensei  Před 8 měsíci

      I appreciate that, thanks a lot, that's very motivating!

  • @giacomopasquali4836
    @giacomopasquali4836 Před měsícem

    Very nice video and project! Useful, clear and perfectly clean.🔥🔥

  • @Syfrost
    @Syfrost Před 9 měsíci

    Your video is always very good for learning different ways to use three.js 👌Thx for this !

    • @WawaSensei
      @WawaSensei  Před 9 měsíci

      🙏 very happy that you appreciate it! Thanks ☺️

  • @stanleychukwu
    @stanleychukwu Před 9 měsíci +1

    this is crazy brilliant, thank you great teacher!!!

    • @WawaSensei
      @WawaSensei  Před 9 měsíci +1

      You're very welcome! ❤️

  • @alaminabubakar7206
    @alaminabubakar7206 Před měsícem

    Love this video format. But honestly I prefer the live coding also because I learn better working with the process. Was about to ask if there's one for this tutorial

  • @Ibrahim-oc5ql
    @Ibrahim-oc5ql Před 4 měsíci

    Always refer to one of your videos whenever I wanna build a new project. Sensei of R3F hands down. Thank you sir

  • @yonnierenton6177
    @yonnierenton6177 Před 9 měsíci

    Cheers, Yep love the style of explaining the code, methods and the why, rather than live code. Hope your Holiday is awesome! Surely you deserve it.

    • @WawaSensei
      @WawaSensei  Před 9 měsíci +2

      So happy to read it, I took so much more fun with this video as I could focus on the project more than the steps to reproduce it during the recording session
      Thank you very much 🙏

  • @tarunsukhu2614
    @tarunsukhu2614 Před 9 měsíci

    You are already a r3f legend

    • @WawaSensei
      @WawaSensei  Před 9 měsíci

      😍 thank youuu, hope I will build more and more good projects!

  • @inteligenciafutura
    @inteligenciafutura Před 9 měsíci +1

    splendid, now I put it into practice

    • @WawaSensei
      @WawaSensei  Před 9 měsíci +2

      Thank you! Yes, that opens a lot of creative possibilities, don't hesitate to share if you build nice things 🤩

  • @matt_greene
    @matt_greene Před 9 měsíci

    this is so good. thanks wawa

  • @londelidess
    @londelidess Před 5 měsíci

    Best tutorial for 3d slider

  • @mirjalol49
    @mirjalol49 Před 9 měsíci

    damn bro, thanks for free lesson, love it. Keep doing

    • @WawaSensei
      @WawaSensei  Před 9 měsíci

      😍 you're welcome, love doing it with such an amazing community! Thank you

  • @VoodooChino
    @VoodooChino Před 9 měsíci

    I loooooove so much your channel, am just begining to learn blender but sooon I will make all of your tutorials, thanks for all, have a great vacations! and sorry my english

    • @WawaSensei
      @WawaSensei  Před 9 měsíci +1

      Thank you so much! Have a great learning journey with Blender and R3F 🙌 I also plan to improve my blender skills in the near future

  • @Venkatesh-vm4ll
    @Venkatesh-vm4ll Před 9 měsíci

    This one looks cool ❤

  • @chokdeesam2365
    @chokdeesam2365 Před 9 měsíci

    Excellent !

  • @julianvelez6563
    @julianvelez6563 Před 9 měsíci +1

    Awesome work bro you are the Best ❤

    • @WawaSensei
      @WawaSensei  Před 9 měsíci +1

      You are the best! Thanks a lot for your support every time 🙌

    • @julianvelez6563
      @julianvelez6563 Před 9 měsíci +1

      @@WawaSensei i love bro

  • @andressalazar9671
    @andressalazar9671 Před 9 měsíci

    Very nice, I like the way you teach and the designs are very beautiful 🔥

  • @rec-trick
    @rec-trick Před 9 měsíci

    awesome

  • @soyelchicodelanus8471
    @soyelchicodelanus8471 Před 9 měsíci

    i love your content!

  • @b166er4
    @b166er4 Před 9 měsíci

    beautyfull 👍

  • @Still_thinking-D
    @Still_thinking-D Před 9 měsíci

    Woohhh… Creativity 💯…
    please make one minimal yet interactive & creative game / puzzle…

    • @WawaSensei
      @WawaSensei  Před 9 měsíci

      Thank you! What do you think about an 3d escape room like game?

    • @Still_thinking-D
      @Still_thinking-D Před 9 měsíci

      @@WawaSensei ​​⁠ escape room can be a good idea.
      I do have two ideas / suggestions :
      1st, what about something like racing but with a web socket? I mean, random people can join the party and race. just imagine… small cute cars, one small loop with small buildings and trees, or 2-3 levels...
      2nd, recreate some good level of Awwwards sites or functionality on live or make a playlist.. like, for example, the nextjs conf site has minimal yet creative puzzle and then Bruno Simon’s portfolio or anything( not necessarily three-js-based).

  • @ahmadullahnikzad2850
    @ahmadullahnikzad2850 Před 4 měsíci

    it seems a little bit overwhelming i don't know will i learn threejs or not. Today was my first day learning threejs. I feel overwhelmed. Thank you bro for your top videos

    • @WawaSensei
      @WawaSensei  Před 3 měsíci

      Thank you! Take your time, it’s a fascinating world, a lot to discover, just don’t put too much pressure on yourself 🙌

  • @mheadeevillacarlos2292
    @mheadeevillacarlos2292 Před 5 měsíci

    Thank you so much for sharing your golden time with us. I am having difficulty on animating the text and any mesh opacity as user Scrolls. What hook should I use to make it gradually disappear and zoom out and zoom in base on scroll. Please can you help me with this. ❤

    • @WawaSensei
      @WawaSensei  Před 5 měsíci

      Thank you!
      In this tutorial I make something like this, maybe it will help you 👉 czcams.com/video/8r8rzp8t2aM/video.htmlsi=bxvV6MyQib4V2elD

  • @aaronenyetu543
    @aaronenyetu543 Před 6 měsíci

    Awesome work Wawa Sensei and thank you for the tutorial. Is that 'TESLA' word above an SVG image or text? How did it get there?

    • @WawaSensei
      @WawaSensei  Před 6 měsíci

      Thank youu!
      This is the SVG you can see in the Overlay component here 👉 github.com/wass08/r3f-3d-slideshow/blob/main/src/components/Overlay.jsx
      (got it from Tesla official site)

  • @dcrecords100
    @dcrecords100 Před 8 měsíci

    Awesome content as always! One question though: Why does both the CameraControls and the OrbitControls overtake the scroll on mobile? I have a scene that stretches to the entire screen, and I want the user to be able to scroll down. Based on the scroll, I want to move the camera around. It all works on desktop, but on mobile, I'm not able to scroll. I disabled the zoom, pan and rotation, and still it seems like the CameraControls is overtaking the scroll abbility. Nobody seems to be able to tell me how to fix this and still allow the user to scroll. Do you have any idea?
    Huge thanks and keep up the good work!

    • @WawaSensei
      @WawaSensei  Před 8 měsíci

      Thank you very much! About your question, can you share a code sandbox so I can have a look and share with you a simple way to do it?

  • @akshay-speaks977
    @akshay-speaks977 Před 7 měsíci

    crazy one.
    Can i get the starter one?

    • @WawaSensei
      @WawaSensei  Před 7 měsíci

      Thank you! There's not really a "starter" for this project, I went from the boilerplate r3f project github.com/wass08/r3f-vite-starter to the final one 🙌

  • @scotly_emi
    @scotly_emi Před 9 měsíci

    This is cool please can you show how to add joystick in a project

    • @WawaSensei
      @WawaSensei  Před 9 měsíci

      Thank you! I will do in the future 🙌

  • @amrabdelfattah3620
    @amrabdelfattah3620 Před 9 měsíci

    Ouiiiiiiiiiiiiiiii good job. Tu comptes submit tes projets un jour sur Awwwards ou FWA pour faire connaître ton travail ?

    • @WawaSensei
      @WawaSensei  Před 9 měsíci

      Merciiii ! Très bonne idée, faudrait que je fasse un projet exprès pour Awwwards et une vidéo dédiée 🙌

  • @lucashenriqueramos112
    @lucashenriqueramos112 Před 9 měsíci

    What's the board app you used during the theory part?

    • @WawaSensei
      @WawaSensei  Před 9 měsíci

      Excalidraw excalidraw.com/ 🗡️

  • @eldi
    @eldi Před 8 dny

    extremely laggy