Getting Started with THREE.JS in 2021!

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

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

  • @DesignCourse
    @DesignCourse  3 года назад +204

    Excited to learn more Three.js? Me too. Look out for more videos soon!

    • @krupeshanadkat635
      @krupeshanadkat635 3 года назад +3

      ❤️mann! I have already bought Bruno's course, but it is too big to cover in less time.. I really wanted you or Traversy Media to pick this up!! Thanks a tonn for starting. Keep them coming!

    • @animedreamz2009
      @animedreamz2009 3 года назад +1

      I was looking for a course on this thanks, does he cover displacement mapping for image transitions? Good job explaining the essential for a project too.

    • @gad1023
      @gad1023 3 года назад

      awesome stuff! waiting for 1000 more

    • @OnBusinessPlan
      @OnBusinessPlan 3 года назад +3

      @@krupeshanadkat635 I've just finished Bruno's course, take your time and alternate between videos and text transcripts. It's definitely worth the effort!

    • @rukkiecodes
      @rukkiecodes 3 года назад +1

      can't wait 😍😍😍😍😍😍

  • @baliyachtservices7505
    @baliyachtservices7505 3 года назад +78

    This is so awesome, thank you so much!
    Just a note to anyone following along, I found a bit of a confusing error:
    The section between 43:23 and 48:37 should have been removed (he codes it correctly after) -- looks mistake in the edit.
    To add animate START HERE: 48:37 (don't use the code at 43:23)
    Only found out after wasn't rendering and couldn't figure out why...

    • @KangJangkrik
      @KangJangkrik 3 года назад

      Terimakasih 😊

    • @lukaskrojer9534
      @lukaskrojer9534 2 года назад

      Hey there, i just cant find the error. I cant figure the correct code

    • @techz-777
      @techz-777 2 года назад +1

      i think that the right code starts at 46:14

    • @MatichekYoutube
      @MatichekYoutube 2 года назад +1

      yeah, I thought I was having a deja vu :D

    • @AnweshAdhikari
      @AnweshAdhikari 2 года назад

      Man, this made me feel like I was dreaming or could not focus!😂 Finally, after completing the tutorial, I came to comment and check and found yours; thanks, man! I was so confused about what had happened there! For a moment, I wondered if I had mistakenly rewound the video!😂 Took me minutes to figure it out!😂

  • @bogdanyunakov1367
    @bogdanyunakov1367 3 года назад +11

    Gary, thanks for the nice tutorial. I remember when I was a beginner in JS and I decided to watch a couple of your videos about animations, since that moment I become better every day.

  • @leopettecrew5695
    @leopettecrew5695 2 года назад +4

    For anyone running into problems loading their normal map around 26:00, despite their code being correct; just import the normal map into your file, and then pass it through as a variable... e.g.:
    import NormalMap from "./textures/NormalMap.png";
    const textureLoader = new THREE.TextureLoader();
    const normalTexture = textureLoader.load(NormalMap);

    • @walnutsandbeastiality866
      @walnutsandbeastiality866 2 года назад

      Thanks buddy, I was stuck at that part!

    • @viraadbaig6582
      @viraadbaig6582 2 года назад +1

      file location according to this video is '../static/textures/NormalMap.png'

    • @rudyberezin8992
      @rudyberezin8992 Год назад

      Thx, that really helped and a good takeaway

    • @sujayshanbhag2055
      @sujayshanbhag2055 Год назад

      Somehow for me, if I add the normal map and color the object turns black. But if I remove color, I can see the texture. Any solution??

    • @PrimaryKenophobia
      @PrimaryKenophobia Год назад

      Thank you so much!

  • @pandaengine
    @pandaengine 3 года назад +4

    This definitely made me wanna play with JS and front-end stuff. After seeing Bruno's gamified site, I am sold!

  • @enraihakanagi8547
    @enraihakanagi8547 3 года назад +8

    And today I was reading a lot of three.js related articles!! This is just awesome

  • @mplovecraft
    @mplovecraft 3 года назад

    Wow, I started your other newbie Three.js video from 2019 and got 10 minutes in when I had to break. When I got back you have a whole new video for 2021 up. Such luxury!

  • @AbdealiSaria
    @AbdealiSaria 3 года назад +12

    more 3js please Sensei....will absolutely love a full in depth, full of examples 3js tutorial series...thanks!

  • @anettebianca6855
    @anettebianca6855 2 года назад

    12 years after creating my first 3D object in 3D Software I learn how to do it in a browser #Epic! Thank you! ♥

  • @TheMarkDrake
    @TheMarkDrake 3 года назад +2

    Thanks Simon, I've been looking for the right tutorials and training for three.js and I was able to use your code to get a discount. Much appreciated. Thanks for this video!

  • @imprasna2539
    @imprasna2539 3 года назад

    Awesome Gray. Lots of love . Most awaited video playlist to be announced by you. It's finally here. You're the best

  • @johnandreigayeta3991
    @johnandreigayeta3991 3 года назад +47

    AS SOON AS YOU MENTIONED BRUNO I ALREADY KNEW IT, THAT WAS THE GUY WHO HAS A CAR MINIGAME IN HIS PORTFOLIO OH MY GOODNESS

    • @jonasgrnbek7113
      @jonasgrnbek7113 3 года назад +1

      That was why I watched this course! When he mentioned that you cannot build games with three.js I was like "dangit, how did that car guy do it then" haha

  • @kidbrave_7673
    @kidbrave_7673 3 года назад +20

    I'm beyond excited to learn three.js I know this is going to level me up as a vanilla js.

    • @kidbrave_7673
      @kidbrave_7673 3 года назад +1

      @Ayoub Bousetta I appreciate the reply brotha. 😏🤙

    • @MrWickerWeaver
      @MrWickerWeaver 3 года назад

      @Ayoub Bousetta dont you also call everything in threejs with js? Are modules not considered vanilla?

    • @shivankchopra8552
      @shivankchopra8552 3 года назад

      Vanilla would be if you implemented this all using pure webgl in the canvas element, including all 3d model parsing, vertex position determination, etc etc stuff

  • @omkarkottawar8309
    @omkarkottawar8309 3 года назад +26

    This gives me a chance to learn something new in the way I like 👍 💯

  • @Gwittdog
    @Gwittdog 7 месяцев назад

    Thank GOD for you man. THREE JS is so hard to get rolling .

  • @ra4950
    @ra4950 3 года назад

    Stunning! How cool that it is! I am about to fall in love with Three JS. Thanks for your great tutorial!

  • @chaoukimachreki6422
    @chaoukimachreki6422 3 года назад +27

    He laughs everytime he says "balls", other than that he is quite awesome!

  • @squidarmstrong6247
    @squidarmstrong6247 3 года назад +1

    this tutorial is really helpful, love the way you explain things. looking forward to more three.js tutorials from you!

  • @jamesbrooks8680
    @jamesbrooks8680 3 года назад +2

    I just sign-up to Bruno's Three.js Journey course! Thank you Gary for the link!!!!

  • @serjmarkelov9915
    @serjmarkelov9915 3 года назад

    Hey, just wanted to appreciate all your work and all that information that your share. Big thanks

  • @withrejkapermana6087
    @withrejkapermana6087 2 года назад

    I've modeling skill and also complete fullstack developer role. start with ruby and try learn deeply to js after metaprogramming. This time, Three js give me biggest change to increase my power of creativity into the next level of Website art. Thank you! I've subscribe you because your explanation are completely easy to understand.

  • @andresantiago8268
    @andresantiago8268 3 года назад +1

    Thank you very much for sharing knowledge. Please bring more content about ThreeJS

  • @MrTubeyboy
    @MrTubeyboy 3 года назад

    Thank you so much for this tutorial and your other tutorials as well. Your tutorials have definitely given me a push to the right direction and have helped me understand three JS a lot more. Very intuitive and clear tuts.🙏🏽

  • @dafimperator
    @dafimperator 3 года назад

    wow the website with Bruno's course looks amazing. Very well organized information. Wish you success with sales (which is very likely looking at the content)

  • @lavorde9330
    @lavorde9330 3 года назад +1

    This is awesome mate! please continue doing videos about threejs💗💗💗💗💗

  • @djsnipa1
    @djsnipa1 3 года назад +22

    I’m enjoying this video and learning a lot! Thank you! Around 46:12 you have little editing snafu I think. It repeats a section about the “mousemove event listener”. Unless I’m trippin...you might want to edit that part out. Thanks again!

  • @MrMasteryder
    @MrMasteryder 3 года назад

    Love the end result, definitely worth a subscribe

  • @kholiaji
    @kholiaji Год назад +1

    in this i want new text should be displayed while scrolling.....how to achieve this?

  • @marksouzacosta
    @marksouzacosta 3 года назад +1

    Yes! Another new revolutionary JS framework!!!

  • @partisan-bobryk
    @partisan-bobryk 3 года назад +5

    This is soo cool! I really appreciate this. Can't wait to make some 3D models in blender and use them on my website.

  • @davidrhoden
    @davidrhoden 3 года назад +4

    At about 55:55 (right before the phone rings) you added "sphere.position.z += .5 * (targetY - sphere.rotation.x)" inside of 'const tick'. When I do this it just fires with each tick, so it just flies off the screen almost immediately. How did you make it respond to the mouse movements? What did I miss?
    (And is there a 'final' version of the code that we could check against? Everything else is looking good.)

    • @andrecouturier5521
      @andrecouturier5521 3 года назад +2

      same here, the ball disappears as soon as I move the mouse... rotation.y works but x and z don't

    • @mathias_411
      @mathias_411 2 года назад +1

      Same here. As soon as i ad sphere.position the ball disapperas when i move the mouse. Have you found a solution?

    • @davidrhoden9773
      @davidrhoden9773 2 года назад

      @@mathias_411 no, sorry, I gave up.

  • @aionair77
    @aionair77 2 года назад

    I can't thank you enough for all that your videos teach me.

  • @andrianfirmansyah6189
    @andrianfirmansyah6189 3 года назад

    Thank you so much for your tutorial, I learn a lot from this channel. so I'm a newbie to this world!

  • @majdshaheen8136
    @majdshaheen8136 3 года назад +1

    beautiful course and a beautiful majesty

  • @yahyaelganayni4055
    @yahyaelganayni4055 2 года назад

    this was very exciting I really want to learn three js now ^^
    thank you very much for your content

  • @mohamedelidrissi810
    @mohamedelidrissi810 3 года назад

    Just got Bruno's course using your code. Thanks! I have a cool project idea that I wanna create using three.js! 🤗

  • @sdwone
    @sdwone 2 года назад

    Just what we need... Another frontend framework! Yay!

  • @stanislavdidenko8436
    @stanislavdidenko8436 3 года назад

    For the first time on programming tutorial I really literally smashed the like button. I am in.

  • @marekkaminski5496
    @marekkaminski5496 2 года назад

    instead of doing weird second body css style in 54:06 we can
    body {
    overflow-x: hidden;
    }
    add overflow-x: hidden; to first block and place
    html {
    max-width: 100%;
    }
    in styles

  • @soulriderist
    @soulriderist 3 года назад

    Great tutorial. Very well explained. I always love your tutorials. Keep up the great work.

  • @OleksandrDanylchenko2k
    @OleksandrDanylchenko2k 3 года назад

    Great video. Explains basic concepts and shows that it's not that extra mysterious and hard

  • @witooz
    @witooz 3 года назад

    I wanted to look at it for months, but was discouraged because of the time I would need to put in because of the trial and error. Definitely looking forward to the playlist!

  • @dosflow
    @dosflow 3 года назад

    Three.JS is just mind blowing

  • @bobobobbyboy
    @bobobobbyboy 2 года назад +2

    is the Normal Map Generator not working for anyone else? I load in the provided photo and nothing happens

  • @Carlosperezvillacreses
    @Carlosperezvillacreses 2 года назад

    the best introduction to three.js ever

  • @AntonyNorthcutt
    @AntonyNorthcutt 3 года назад

    One word - BRILLIANT.

  • @kimlee8796
    @kimlee8796 3 года назад +2

    Yess ! Thank you for this tutorial !

  • @zshn
    @zshn 3 года назад

    Simon's course and website is legit!

  • @kaladoize
    @kaladoize 2 года назад

    Amazing course! I learnt a lot from this.

  • @charlesTheaweDeveloper
    @charlesTheaweDeveloper Год назад

    Can’t run all of your threejs projects I don’t if the packages are outdated or what I’ve been trying for hours, nothing seems to work.

  • @DuyTran-ss4lu
    @DuyTran-ss4lu 2 года назад

    How fascinating it is. Great work

  • @73dines
    @73dines 3 года назад

    Kudos on Bruno, animation king!

  • @eddyamoke5009
    @eddyamoke5009 2 года назад

    i realized many people are having an issue with the texture loader , to solve this kindly change this textureLoader to this TextureLoader in all references, finally make sure you use this material.normalMap= normalTexture;. that should solve the issue.

  • @muftaudeenjimoh9678
    @muftaudeenjimoh9678 Год назад

    Well explained... Thanks for the tutorial 🙏🏾

  • @philippmakarov
    @philippmakarov 2 года назад

    Wow... So detailed. You explained it very well.

  • @hossamashraf4885
    @hossamashraf4885 3 года назад

    Thx alot, I extremely like three.js and I think it really makes any webpage look great.

    • @DesignCourse
      @DesignCourse  3 года назад +1

      Of course, that's entirely dependent on who's using it to do what. It can definitely make any web page look like garbage, too. 😂

    • @rvb6516
      @rvb6516 3 года назад

      @@DesignCourse you definitely need serious art skills to use it ^^

  • @mrdoob
    @mrdoob 3 года назад +4

    After watching this video I updated the material browser in the docs so it's easier to see what roughness and metalness do 👍

  • @huseynovvusal
    @huseynovvusal 3 года назад

    Thanks very much, your THREE.js tutorials are very good

  • @69guigz
    @69guigz 3 года назад

    So grateful for this! Thank you

  • @nozimmukhitdinov7879
    @nozimmukhitdinov7879 3 года назад +2

    on 30:10 maybe someone will have a problem like mine where i cannot make gui work properly
    my solution:
    In "//Debug" change "const gui" to "var gui"
    it should help

  • @shashannkkkk
    @shashannkkkk 2 года назад

    sick guitar and amp too along with the tutorial!

  • @doob4611
    @doob4611 3 года назад

    I thoroughly enjoyed this!! Thank you :)

  • @vishnusit1
    @vishnusit1 2 года назад

    Excellent way of explanations.. make more videos on 3JS.

  • @thinginthenorth
    @thinginthenorth 3 года назад

    Excellent introduction! Thanks!

  • @Dawa202
    @Dawa202 3 года назад

    Epic thanks again Gary! such a legend and an inspiration.

  • @NeverCodeAlone
    @NeverCodeAlone 3 года назад

    Perfect sound, video and passion - thx a lot

  • @Sportsman134
    @Sportsman134 2 года назад

    Tip: You'll quickly need to run this code at startup (5:25) each time: npm run dev

    • @thomasmclucas2545
      @thomasmclucas2545 Год назад

      Hi, when i run npm run dev as instructed it doesn't open a window and start a server. Is there any solution to that please?

    • @Sportsman134
      @Sportsman134 Год назад

      @@thomasmclucas2545 try running npm install command before that

  • @Neelo194
    @Neelo194 2 года назад

    Bruno Simon was my dev teacher for 2 years... Bruno I'm sorry but I need this video to remember how to set up three js lol

  • @programinggrid967
    @programinggrid967 3 года назад +1

    This is soo awesome I really wanna to say thank you ❤️

  • @kylemcshea1373
    @kylemcshea1373 3 года назад

    This looks amazing can’t wait to learn this

  • @cube6338
    @cube6338 2 года назад

    Detailed!!!! I love this video. Thanks

  • @thescottypy
    @thescottypy 3 года назад

    I loved it, keep them coming!

  • @hoomtal
    @hoomtal 2 года назад

    A huge Thanks! So Neat and Clear

  • @neoroussel5499
    @neoroussel5499 3 года назад

    I’m HYPED!

  • @ReturnOfChef
    @ReturnOfChef 3 года назад

    Your are the Edward Norton of the dev world!

  • @xtaylor7142
    @xtaylor7142 3 года назад +1

    how could i view this site i just made just by clicking it the index html or something instead of having start that server each time

  • @christianachleitner9439
    @christianachleitner9439 3 года назад +1

    What really would nice too, would be a video with three.js + something like blender :D

  • @utkarshjha1969
    @utkarshjha1969 3 года назад

    Watched this vid yesterday and decided to go through the course. You were complaining about THREE being in all caps and the camel case methods. Js methods has always been camel case and bruno very clearly mentioned that we can keep whatever variable we want in place of THREE. I am using T for practice purpose. I hope it helps people having difficulty with it. Just change the import statement.

  • @krisztianruboczki6580
    @krisztianruboczki6580 3 года назад +1

    When i try to load the page without live server the normalmap is not working.
    The sphere is rotating and the interactions are working too but the normalmap is not.
    Did anybody else have the same problem ?

    • @shubhamdhage6935
      @shubhamdhage6935 2 года назад

      have you found the solution? I'm getting the same msg too!

  • @SiddheshKukade
    @SiddheshKukade Год назад

    Great Video Finally Completed

  • @perfect-death4284
    @perfect-death4284 3 года назад

    Just what I needed! Thanks.

  • @hamdikose688
    @hamdikose688 3 года назад

    thank you garry,you are my ıdol on this path

  • @GravityZ0
    @GravityZ0 2 года назад

    OMG THANK YOU VERY MUCH, THIS IS SO FUN

  • @LukeMartinVideo
    @LukeMartinVideo 3 года назад

    Hey, that was entertaining and "instructing". Well worth my time ! Thanks a lot !

  • @BrunoRibeiro
    @BrunoRibeiro 2 года назад

    i just came from learning 3D, mostly in Blender, is this kinda like a 'Blender' in the browser?

  • @jason0ng
    @jason0ng 3 года назад +1

    That’s super cool!

  • @DonYurik
    @DonYurik 3 года назад +1

    Im having a lot of issues with this proyect. The sphere wasn't showing up, and then watching the documentation I realized I had to give values to the phiLength and the thetalength of the geometry, which is not specified in this tutorial. I can't get the light to work either, so Ill try to fix that next. I think it must be because of a different version of the library.

  • @minzcode
    @minzcode 3 года назад

    Super exciting!!

  • @evolgenius1150
    @evolgenius1150 Год назад

    There HAS to be an IDE or an engine like Unreal that can put these camera transitions together for you so you can keyframe them.

  • @2sis753
    @2sis753 2 года назад

    awesome, awesome indeed! Thank you!

  • @inkedcoder
    @inkedcoder 3 года назад

    LoveLoveLove this channel. looking forward to more

  • @XbattlepopeX
    @XbattlepopeX 3 года назад +3

    Does anyone have a problem building this? After running an npm run build, it builds the project but the final product doesnt load the texture

    • @XbattlepopeX
      @XbattlepopeX 3 года назад

      Has anyone figured this one out? Final product after npm run dev run doesnt use normalmap.

    • @unrecited
      @unrecited 3 года назад

      @@XbattlepopeX Did you figure it out? I notice theres no way his worked based on the path he shows in the video - the image is at path static/textures/normalmap.png but he types only texture/normalmap.png - mine wont load either actually everything breaks at this point and its killing me

    • @XbattlepopeX
      @XbattlepopeX 3 года назад

      @@unrecited something to do with web pack, I just remade it without using it

    • @eddyamoke5009
      @eddyamoke5009 2 года назад

      i realized many people are having an issue with the texture loader , to solve this kindly change this textureLoader to this TextureLoader in all references, finally make sure you use this material.normalMap= normalTexture;. that should solve the issue.

  • @bahaagirga1985
    @bahaagirga1985 2 года назад

    After watching that I feel exciting to learn three.js

  • @aaronkern4771
    @aaronkern4771 3 года назад

    Love the Marshall stack in the background! When are you going to jam out for us?!?

  • @lennartv.1529
    @lennartv.1529 3 года назад +3

    I need help! Everything works just fine until i try to build it as an HTML file. I use npm run build for that. My normal map is not working anymore and it looks weird!!

    • @YannickvDijk
      @YannickvDijk 3 года назад

      It has to do with the fact that your trying to run the HTML file locally. Accessing your local file system gets blocked by your browser's CORS policy. Instead, using a local web server like Express should solve it.

    • @lennartv.1529
      @lennartv.1529 3 года назад

      @@YannickvDijk yes I already know. Thanks anyway!

    • @QuentinRenaux
      @QuentinRenaux 3 года назад

      same

    • @QuentinRenaux
      @QuentinRenaux 3 года назад

      do you find a solution ?

    • @lennartv.1529
      @lennartv.1529 3 года назад

      @@QuentinRenaux bro you can't run it local. When you upload it to your hoster it will work fine. If you need more help let me know.

  • @mohammedhijari7325
    @mohammedhijari7325 2 года назад

    Hello ,will you be able to do a recent video working with Three.js ?

  • @ankithdemo1305
    @ankithdemo1305 3 года назад +1

    at 45:55 you repeated the same mousemove addeventlistener, was it a editing issue or is there something I am missing ?

    • @unrecited
      @unrecited 3 года назад

      definitely editing issue lol I noticed as well

  • @nicikoenget8787
    @nicikoenget8787 2 года назад

    Really nice stuff! Thanks a lot!

  • @maazshariff9309
    @maazshariff9309 Год назад

    Need HELP this is my error "npm: The term 'npm' is not recognized as a name of a cmdlet, function, script file, or executable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

  • @TreasonsBeta
    @TreasonsBeta 3 года назад

    Do I need to know a bunch of coding to jump into three.js? I know a bit of HTML, CSS, and C++ but only the super basic stuff. Never actually built much more than the generic stuff like lists and calculators.