Building with React and Three.js using React Three Fiber

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 160

  • @matthewao
    @matthewao 4 роки тому +26

    I swear to god your content is too good for UA-cam. Thank you SO much for making this content available for free.

    • @vint6470
      @vint6470 3 роки тому

      TKS kids are everywhere 0,o

  • @DesigedByNino
    @DesigedByNino 4 роки тому +35

    Fantastic, this is the way to learn. This guy actually makes me feel uncomfortable paying for courses and tutorials with this production quality here on yt. Couldn’t be more grateful for a creator like this ;)

    • @WrongAkram
      @WrongAkram  4 роки тому +4

      Oh wow! This comment is gold :)) Thank you for supporting the channel!

  • @WrongAkram
    @WrongAkram  4 роки тому +15

    No face today, I am currently out of town! But I hope you enjoy this awesome R3F Video :) I just put out a poll about a course I am doing. Be sure to vote on it! Take care guys.

    • @StEvUgnIn
      @StEvUgnIn 4 роки тому

      I want to build a mobile app for a smart product and I think that I will write the UI in react-native using react-three-fiber and drei.

    • @WrongAkram
      @WrongAkram  4 роки тому

      sure!

    • @StEvUgnIn
      @StEvUgnIn 4 роки тому

      @@WrongAkram It would be awesome.

    • @StEvUgnIn
      @StEvUgnIn 4 роки тому

      @@WrongAkram Can you submit a proposal for your talk?

  • @deathdefier45
    @deathdefier45 3 роки тому

    The quality of the content you post brother is unparalleled, thank you so much for this.

  • @Connor-pj2tg
    @Connor-pj2tg 4 роки тому +2

    Love your videos Akram, only been subbed for a week and your tutorials are miles ahead of most discussing react

  • @kalyyandeka7297
    @kalyyandeka7297 4 роки тому +3

    Your channel is filled with so much quality content bruh! ❤️ Thank you for your contribution!

  • @Zvyru.
    @Zvyru. 3 роки тому

    I'm getting started with 3d now, your stuff was my first choice for info, thanks for all you do, how've you been? Stay safe.

  • @davidch6746
    @davidch6746 2 роки тому

    We need an update for the 2022's, this is awesome. Thank you very much

  • @kyryloren
    @kyryloren 4 роки тому

    Been waiting for a while for this to come out. Saw it on twitter earlier. Love the content man!

  • @pramilkesarwani4079
    @pramilkesarwani4079 3 роки тому

    This tutorial really helped me in my another project related to 3d model , ty for the content.....

  • @elissitdesign
    @elissitdesign 2 роки тому

    .GLTF stands for Good Lord The Fug.
    Brah you make this look so easy! I have long way to go before tackling this. Just now learning React.

  • @io-rf7ib
    @io-rf7ib 4 роки тому

    how dare you leave us for 4 weeks!! we missed you & as always great video I always love your web apps! clean and awesome

    • @WrongAkram
      @WrongAkram  4 роки тому

      lol sorry, I got lots going on :)

  • @jrkdigital
    @jrkdigital 4 роки тому

    Thanks for the video! Not many people showing off this technology.

  • @SaurabhNative
    @SaurabhNative 3 роки тому

    Awesome tutorial and site looks pretty cool. Thanks for making such great content.

  • @simobermaki
    @simobermaki 4 роки тому

    This looks godly!! Let's go, I'm at home anyways. Imma watch this entirely ❤️

  • @rehszi
    @rehszi 2 роки тому

    really appreciate your videos man, super super helpful!

  • @arpitjangir3349
    @arpitjangir3349 2 роки тому

    Amazing video, a shitty developer like me got to learn so much from it in just an hour. Thank you and hands down!

  • @maxbalej6591
    @maxbalej6591 4 роки тому

    Oh yes I was waiting for a new video!!

  • @alirezamohammadi1771
    @alirezamohammadi1771 2 роки тому

    چوخ عالیده ، الریی اغور ماسون tnx

  • @shahrozeaslam102
    @shahrozeaslam102 4 роки тому

    Yes this a unique and quality content👍 loved it

  • @joshuakirby6952
    @joshuakirby6952 4 роки тому +1

    Awesome video! Would you be able to show us how to implement a way to click on parts of a model to display a description? Like clicking part of the furniture would display "Cushion" or "Chair Leg" Looking forward to more tutorials! :)

  • @mateuszmalanowski3819
    @mateuszmalanowski3819 4 роки тому

    You are great teacher, thank you.

  • @holyfroggy792
    @holyfroggy792 4 роки тому +4

    This is the exact tutorial that I was looking for! Thank you for such an informative content!
    Btw, I ran into one issue... I no longer see Html contents once I wrap it with Section component (around 13:31)
    Do you, by any chance, know what might be causing this? Thank you again in advance!

    • @WrongAkram
      @WrongAkram  4 роки тому +2

      You will need to define the position y. I don’t really like this method and will find a better way of display content in a scrolling rig.

  • @tolgaatar7
    @tolgaatar7 2 роки тому +1

    Thanks for amazing tutorial I hope you will
    I have problem with open the project I dont know why, npm install gives ann error do u know how can I solve this

  • @sikritidakua
    @sikritidakua 4 роки тому

    Ohhh react three fiber I love it
    Keep up your awesomeness 🔥

  • @mirzairshad4063
    @mirzairshad4063 4 роки тому

    Wow, Simply Amazing 👌🏻😘💕✌🏻

  • @sam974fe
    @sam974fe 3 роки тому +1

    I'm following this wonderful tutorial buy my issue came when I try to load my model. My model is in public too but nothing shows up when I call the function in the app.

  • @gouranshsachdeva6097
    @gouranshsachdeva6097 4 роки тому

    Thank you so much.

  • @ol1175
    @ol1175 3 роки тому

    Amazing!!!

  • @Francois3k
    @Francois3k 4 роки тому

    First comment an yes ur back bro. I was waiting for this tutorial. Thanks for the upload. 1# fan😍😍😍😍

  • @timiland5881
    @timiland5881 3 роки тому

    Excellent Tutorial would be excellent if you include how to deploy the site. I find that is where issues start occurring for Three JS, especially when loading in custom 3D assets.

  • @venkateshy627
    @venkateshy627 4 роки тому

    I'm just learning react because of you..

  • @lavosbit
    @lavosbit 2 роки тому

    I tried getting started on this project and out of the gate when I'm using `npm i` I'm getting a lot of deprecated packages so @node_modules aren't being installed.

  • @youssefmuhamad3213
    @youssefmuhamad3213 4 роки тому

    That's gold!

  • @chrisw.1252
    @chrisw.1252 3 роки тому

    Nice Video here. I learned a lot. Do you know if you can do the same thing in NextJS?

  • @fsmutimeer
    @fsmutimeer 2 роки тому

    i wonder, how can i add that locomotive-scroll type scrolling in my nextjs app. is there any easy way to do that.

  • @jeancarlomoraes8644
    @jeancarlomoraes8644 3 роки тому

    Fantastic....tks

  • @patryan7308
    @patryan7308 3 роки тому

    I am super confused as to how there is a shadow at 18:41 before the lights are added. Is this built in to the gltf? I had to switch to useFBX, GLTF was not working for me with next.js.

    • @marcelajaklova6560
      @marcelajaklova6560 3 роки тому

      I have the same question. Did you found out?

    • @patryan7308
      @patryan7308 3 роки тому +2

      @@marcelajaklova6560 I had forgotten about this, just opened the GLTF in blender. It is a false shadow. There is a floor plane that has an image texture of a shadow. I've recently been using drei's gltfjsx to convert gltfs to .js components. With this you can easily remove any included geometry you don't want, like the false shadow for example.

    • @marcelajaklova6560
      @marcelajaklova6560 3 роки тому

      @@patryan7308 Thank you!

  • @TechWithBeni
    @TechWithBeni 3 роки тому

    I just subscribed this is awsome

  • @parmeet44
    @parmeet44 4 роки тому +6

    One doubt:
    Will it work well on mobile devices? Just curious

    • @WrongAkram
      @WrongAkram  4 роки тому +2

      Absolutely! I'll make a r3f on mobile in the near future :)

    • @iagobarretoc8194
      @iagobarretoc8194 4 роки тому

      @@WrongAkram you can even use r3f with react-native expo experience!!

    • @asdfkerub
      @asdfkerub 4 роки тому +1

      @@WrongAkram oh please a mobile responsive video too. I always struggle with mobile responsiveness and threejs

    • @uvidstudio2011
      @uvidstudio2011 4 роки тому

      He s please mobile responsive please

    • @iagobarretoc8194
      @iagobarretoc8194 4 роки тому

      Guys it is already responsive. But with react native we can improve performance a little I guess. I will try it out later and maybe write a article on this

  • @wafaat14
    @wafaat14 3 роки тому

    thanks for this amazing tutorial 😍, what mockup you use at the beginning of the tutorial showing the website?!

  • @usamasaleem5624
    @usamasaleem5624 4 роки тому

    U deserve many subs and u can

  • @Laughatyouhaha
    @Laughatyouhaha 4 роки тому

    Could you please update more often. Content way too good and I can not wait at all.

    • @WrongAkram
      @WrongAkram  4 роки тому +1

      Yep, lots of great stuff coming!

  • @jpm8288
    @jpm8288 3 роки тому

    Do you have a link to where Paul provided the pre-made scrolling interaction?

  • @B4rthezzz
    @B4rthezzz 3 роки тому +1

    Thank you so much Wrong Akram for your amazing lessons. Really helpful :) I was wondering, what VS code plugins do you use to fasten your work process?

  • @cereproductions7980
    @cereproductions7980 3 роки тому

    Hi man, im having some trouble. When I modify any property of the canvas (camera position, fov...) my 3D model disappears

  • @jurajzovinec
    @jurajzovinec 4 роки тому

    Fantastic ! Please do you know if there is any workaround how to load data from JSON/string not from file with r3f ?

  • @j45t7
    @j45t7 3 роки тому

    Hey! Great video! Waiting for more about 3D! :) I'm getting a horizontal scroll, any idea how to get rid of it???

  • @nrx9040
    @nrx9040 3 роки тому

    please i have a Drei error, i can't import anything from drei, do you know why is this happening?
    i downloaded the latest three.js as well as drei, and it still doesnt wanna work

  • @ecaIos
    @ecaIos 2 роки тому

    Is there any way you could make a tutorial on how to deploy a project like this. Ive had so many issues with deploying to something like github pages and all the errors make it impossible to have to render anything on the page.

  • @yag7769
    @yag7769 4 роки тому

    You're the boss !!!!

  • @Blure
    @Blure 3 роки тому

    How can I soften the shadows of my scene? To make it more "real" and less pixelated. Great content mate!

    • @purgex2286
      @purgex2286 2 роки тому

      you can import "softShadows" function from drei library and invoke it inside your component.

  • @rens652
    @rens652 3 роки тому

    Could you maybe specify in your video's which version of react you are using? I've been having a lot of issues with compatibility and it would help me out alot! Thanks in advance.

  • @avneet12284
    @avneet12284 4 роки тому

    Excellent. Isn't Suspense experimental?

  • @maxibenner
    @maxibenner 3 роки тому

    Do you know if we can use alternative renderers like erichlofs PathTracing Renderer together with react-three-fiber?

  • @shradhabafna8894
    @shradhabafna8894 3 роки тому

    How can I enable the glb object to move based on cursor movement

  • @StarCourtesan
    @StarCourtesan 4 роки тому

    Could you share the codepen for that section.js thingy? I'm curious what even is that - why do it that way

  • @gliderjewels
    @gliderjewels 4 роки тому

    Edit: I got it to work!
    My gltf file has reflections, but the reflections seems to show as very dark or black on the site. How can I make them coloured and bright? Do i need an environment? And if so how do I add one? Thanks!

  • @zhxnrs
    @zhxnrs 4 роки тому

    Please keep making react/three/framer videos :)

  • @rashad6459
    @rashad6459 3 роки тому

    How do you handle routing between the canvas and the DOM?

  • @toannew
    @toannew 2 роки тому

    How to:
    09:30 add HTML in Canvas

  • @danielbrannon8371
    @danielbrannon8371 2 роки тому

    This Html tag only seems to allow 1 word before wrapping it, is there a way to turn this off?

  • @sourabpramanik996
    @sourabpramanik996 3 роки тому

    Can you please tell me how to increase the size of our gltf object?

  • @popnfreshism
    @popnfreshism 4 роки тому

    When you define the position by sets of 250, is that a pre-defined value by the section component, if you had it so the positionY would be 100, 0, -100 would this also be ok, would it just mean adjusting the camera? Love your content by the way, really excellent.

  • @panchcw
    @panchcw 4 роки тому

    superb

    • @WrongAkram
      @WrongAkram  4 роки тому +1

      Thanks 🤗

    • @panchcw
      @panchcw 4 роки тому

      @@WrongAkram we need more this kind of tutorial. youtube doesn't have this kinda tuto

  • @ampomahwinston3878
    @ampomahwinston3878 3 роки тому

    My problem is that other 3D asset appears really small, but your assets are large, I tried scaling but realize that there are inbalances that comes with it.

  • @James-uv7zt
    @James-uv7zt 4 роки тому

    yo could you share or create video on your visual studio code setup re extensions etc... seems so clean and intuitive..

    • @WrongAkram
      @WrongAkram  4 роки тому +1

      Mhmm maybe in a live stream or something

    • @James-uv7zt
      @James-uv7zt 4 роки тому

      @@WrongAkram amazing! also in the video you spoke about Paul's codepen re the hook/responsive height being in the description but it's not nor can I find it from google? Any help there? many thanks in advance

  • @alfredrodriguezgarcia2383
    @alfredrodriguezgarcia2383 4 роки тому

    more videos with threejs and react pls

  • @gauravrathod5858
    @gauravrathod5858 4 роки тому

    Yo nice job

  • @phantazzor
    @phantazzor 3 роки тому

    is it possible to do textGeometry with Drei ?

  • @iagobarretoc8194
    @iagobarretoc8194 4 роки тому

    If i download models from sketch fab they came without textureCompressed folder. how should i do the loading from the gltf files then?

    • @WrongAkram
      @WrongAkram  4 роки тому +1

      They should come with a texture folder. I added the compressed to the name since I compressed the image sizes. Download then and drag them to your public or build folder

    • @iagobarretoc8194
      @iagobarretoc8194 4 роки тому

      @@WrongAkram i forgot to change the uri inside the .gltf file, once you change the name of the .bin(nary) file. should change also the path to the bin.

    • @iagobarretoc8194
      @iagobarretoc8194 4 роки тому

      Another thing I wonder is how to resize the model to be big or smaller

  • @naturegirl8835
    @naturegirl8835 3 роки тому

    How we can develop AR website using React Three fiber?

  • @patroclusTractors
    @patroclusTractors 4 роки тому

    Nice work. only that I don't know any react yet. would be great if you could do one tutorial with just js and css?

  • @SowedCastelli
    @SowedCastelli 4 роки тому +1

    **I am a simple man. I see a Wrong Akram video, I click on it, Pause it, Smash the like button and resume**, every single time.

  • @fahadhayat_
    @fahadhayat_ 4 роки тому

    Akram where do you get your bg music from?

    • @WrongAkram
      @WrongAkram  4 роки тому +1

      I grab all my music from epidemic sounds. I should start adding song credits in the description huh?

    • @fahadhayat_
      @fahadhayat_ 4 роки тому

      @@WrongAkram Haha all good, the music blends very well with the video. I couldn't find good ones there for my video, or I'm just not good at picking one

  • @gersonricardotoribioossio9720
    @gersonricardotoribioossio9720 4 роки тому

    :) that is nice video, i followed all your steps but on windows the scroll is not working :/ , it is not clickable or draggable

    • @gersonricardotoribioossio9720
      @gersonricardotoribioossio9720 4 роки тому

      For those people that is using windows, the problem is the z-index. I added on and inside the scrollArea scss I added z-index equals to 100. That solves the problem :). Btw really good video

  • @AkshayKumar-cl4il
    @AkshayKumar-cl4il 3 роки тому

    useUpdate is not exported from ' react-three-fiber'
    Anyone please help

  • @russelp9666
    @russelp9666 4 роки тому

    Thanks very much! Could you extent this context to make a course about creative web programming and design? I will definitely buy it!

    • @WrongAkram
      @WrongAkram  4 роки тому

      Sure thing!

    • @russelp9666
      @russelp9666 4 роки тому

      @@WrongAkram Woaw!!! When will the course be released?

  • @muhammadsulman7863
    @muhammadsulman7863 4 роки тому

    hellow sir
    i got this error on all three models please help
    index.js:1 Error: THREE.GLTFLoader: Failed to load buffer "armchairGray.bin".
    at Object.onError (GLTFLoader.js:2006)
    at XMLHttpRequest. (three.module.js:36519)

    • @WrongAkram
      @WrongAkram  4 роки тому

      Do you have a “/“ before the file name?

    • @muhammadsulman7863
      @muhammadsulman7863 4 роки тому

      @@WrongAkram sir i just clone master branch but its not working even i download new models but it still not working

    • @muhammadsulman7863
      @muhammadsulman7863 4 роки тому

      function Model({ url }) {
      const gltf = useGLTFLoader(url, true);
      return ;
      }

    • @muhammadsulman7863
      @muhammadsulman7863 4 роки тому

      even i update paths in .gltf file do every thing that you teach in video but its not working

  • @Github_tech_with_ty
    @Github_tech_with_ty 3 роки тому

    Make sure to update drei and react three fiber on npm these are deprecated

  • @harshvijaybhaargavh4829
    @harshvijaybhaargavh4829 4 роки тому

    do i need to learn REACT for this tutorial?

  • @pankajjaiswal1778
    @pankajjaiswal1778 4 роки тому

    Man When you dropping new ep on awwwards rebuild series ?

    • @WrongAkram
      @WrongAkram  4 роки тому +1

      Next Awwwards rebuilt will be a full paid course.

    • @pankajjaiswal1778
      @pankajjaiswal1778 4 роки тому

      @@WrongAkram oh damn this is soo good

  • @enimos9
    @enimos9 3 роки тому

    S🅱️innala

  • @jameskobe1716
    @jameskobe1716 3 роки тому

    I love you

  • @TheGrumberg
    @TheGrumberg 4 роки тому

    i dream it Wrong Akram made it i love your content bro keep doing what you're doing

  • @amirhaddad5985
    @amirhaddad5985 4 роки тому

    Bro long time no see

    • @WrongAkram
      @WrongAkram  4 роки тому

      Yeah I know. I need to stay consistent.

  • @rayyanshaikh4277
    @rayyanshaikh4277 2 роки тому

    17:11

  • @ValentinLaurentiu
    @ValentinLaurentiu 3 роки тому +1

    Song ID pls --- ^__^

  • @OfficialGOD
    @OfficialGOD 3 роки тому +2

    Bad code capital

  • @BlackSlimShady
    @BlackSlimShady 3 роки тому

    This must be out of date, You do not specify anywhere that the lights have to cast shadows, you havent even created a pane for the shadows to cast too, yet they magically appear etc

  • @metroexperiments
    @metroexperiments 4 роки тому

    Notification Gang

  • @yassinedamiri1063
    @yassinedamiri1063 2 роки тому

    The demo isn't responsive at all... Can you do a tutorial with a responsive design ?

  • @rutvikshah4589
    @rutvikshah4589 4 роки тому

    Bro contact to brad traversy and post one of your video there on his channel ! You will surely get new subscribers.

  • @mhpavel4918
    @mhpavel4918 2 роки тому

    there is nothing in drei as useGLTFLoader

  • @ManojChauhan-kl3dh
    @ManojChauhan-kl3dh 4 роки тому +1

    hi sir, nice tut but could you please make a small tutorials like how to load obj/gltf model and some interactivity,as mentioned in this tutorial," ua-cam.com/video/1TeMXIWRrqE/v-deo.html" . Actually in this tutorial I followed each and every steps but didn't get exact results,I think there is something wrong in his tutorial ,clould you please make one like this for me ?,thanx in advance sir..!

  • @Miguelmigs24
    @Miguelmigs24 2 роки тому

    This is outdated, Drei changed a few things

  • @hilalalaidi5846
    @hilalalaidi5846 4 роки тому

    hot voice

  • @masonwang8726
    @masonwang8726 4 роки тому

    not first :(