Getting Started With Three.js

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

КОМЕНТАРІ • 236

  • @jabezsamson
    @jabezsamson 4 роки тому +5

    You are the Kobe Bryant of UA-cam when it comes to Technology related channels! Great as always!

  • @williamiiifarquhar4345
    @williamiiifarquhar4345 3 роки тому +8

    Brad you are the man!
    This tutorial is far superior to all others.
    I was getting errors like "import declarations may only appear at top level..." and all the other websites and video tutorials were saying to use node and install all these packages and bundlers... and THIS tutorial shows that you can basically just include the three.js file in the same html document, and without even importing it, have full functionality using the namespace THREE.
    I am really surprised that more people aren't doing it this way!

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

    Literally everything I google as a new Software Engineer, you have made a video for. Thank you!

  • @aibrainlet8041
    @aibrainlet8041 5 років тому +4

    The first thing I ever made with code was a spinning cube in CSS to display my art. I feel like I have graduated lol. I can't wait to use this library and Blender, I swear this is my newest obsession

  • @RAZR_Channel
    @RAZR_Channel 5 років тому

    BRo... you have THE BEST Tutorials. Direct .. to the point.... I've NEVER seen a bad tutorial from you. Your intro length is acceptable and your not begging for likes and sub/patrion etc. (I mean if you do mention it it's not begging or irritating). Great work on everything... I've been in IT 20 years but mostly core stuff. now having fun with front end stuff. Thanks for everything you do!

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

    Brad is the hero we need. What a BAMF. I wouldn't be where I'm at or going where I'm going if it wasn't for the almighty Traversy.

  • @ruhailahmad9418
    @ruhailahmad9418 5 років тому +230

    Man do you learn new technologies on daily basis?

    • @TraversyMedia
      @TraversyMedia  5 років тому +215

      Yes, pretty much, but it is because I teach for a living now. So I am fortunate enough to be able to dive into different technologies that interest me and then share what I learn :)

    • @Ne0nkiller
      @Ne0nkiller 5 років тому +4

      @@TraversyMedia Could you dive into React Joyride? I am going to work with that at my internship after summer :)

    • @moshe22cohen
      @moshe22cohen 5 років тому +3

      @@TraversyMedia Hello, I just finished your PHP course on udemy, I am overwhelmed of how good you explain :) keep up the good work man very much appreciated!

    • @ruhailahmad9418
      @ruhailahmad9418 5 років тому +6

      @@TraversyMedia you helped in shaping my career, I've learnt pretty much every Web development technologies from you.
      So Thank you

    • @bobobo1673
      @bobobo1673 5 років тому

      @@TraversyMedia If it is not too much to ask, do you now dedicate yourself to teaching for your own reasons or why were there no other opportunities elsewhere? I ask you why, I started in the sector a short time ago.

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

    Just how cool are you bro. I used to watch few videos few years back and literally used to think there are so many tutorials created by you and wonder do anyone even use those technologies. And today i am here after thinking that well could there be anyone who would even talk about this library. Amazing bro thanks

  • @maxd7228
    @maxd7228 5 років тому +2

    Channel's like this, keep UA-cam relevant. Great work.

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

    Everything worked fine for me up until 16:54. I download a .jpg converted it to a .gif using Windows 7 Paint program, and now I get black screen, any clues? Does the size have to be specific? It was a "stone" texture.

  • @jewellscott
    @jewellscott 5 років тому +7

    Omg, I’ve been waiting for this. Thank you!

  • @sanamkapoor1269
    @sanamkapoor1269 5 років тому +6

    You are like a magician Brad
    I really appreciate your work for us and you inspire me a lot towards the web development
    Thanks a lot man 😊😊😊

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

    Hey just wanted to thank you for making this video! It's super clean, does not dwell annoyingly on things too long and is straight to the point. Thank you!

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

    Thanks for also displaying documentation for the code you write. Helps me understand why you are writing code the way you are writing it.

  • @ketibansapi4091
    @ketibansapi4091 5 років тому +7

    I love it when "just mute that".

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

    This is excellent. I was able to understand everything you were saying and I was able to successfully create my first html doc with three.js

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

    Finally a concise tutorial about three.js. Thank you.

  • @mhdyousuf3392
    @mhdyousuf3392 5 років тому

    Thank you for introducing me to Three.js , i have seen a video “thanos snap effect using js” meanwhile i don’t know what he was done.
    now seeing your tutorial, i think i am ready for three.js
    Thanks Brad.

  • @giliev6325
    @giliev6325 5 років тому +4

    I already know I'll love this series. Please do an episode on loaders. Thank you biiiiiiig time!!!!!!

  • @MrMadMonk7
    @MrMadMonk7 5 років тому +3

    Trying this on your local machine and textures are missing? - If you open the file from your desktop you might find when you add a custom texture that the rendered cube might disappear. In Three.js some underlying code (polymer I think) won't work unless you are running on a local web server. If you have Xampp or another tool such as 'Live Server', load your file on there and things will work again. Hope this helps someone.

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

      Really wanna say Thanks. I was facing the same issue and now I followed as u said it got resolved, thanks :)

  • @911madza
    @911madza 5 років тому +7

    Initial thoughts during first minute in video: 3D rendering must be relatively narrow topic with just a few tools.
    Couple minutes later in Google: ejecta, claygl, glslify, x3dom, whitestorm.js, cannon.js, oimo.js, twgl.js, xeogl, scenejs, lightgl.js, photon, sylvester, curtainjs, grimoire.js, hilo3d, glow, glsl.js, phologl, regl, aframe, filament.... *Yeah, I guess I forgot it's 2019 xddd*

    • @jornejongsma
      @jornejongsma 5 років тому

      Can I add to this: Babylon.js (most common alternative to Three.js); Unity3D Webassembly (the step up alternative); Shadertoy.com (digital witchcraft!)

  • @georgiiliev8533
    @georgiiliev8533 5 років тому +54

    please go deeper into ThreeJS. Loading models etc. loading 3d files save in a database, onclick loading, pop up scenes etc. PLEEEEEEEEAAAAAAAAAAAAAAAAAASE !!!!!!!!

  • @abhijithchandran5744
    @abhijithchandran5744 5 років тому +4

    I was waiting for this. Thanks brad

    • @FunIsGoingOn
      @FunIsGoingOn 5 років тому

      Why did you waited? It's straight the most simple example from the documentation.

    • @abhijithchandran5744
      @abhijithchandran5744 5 років тому

      @@FunIsGoingOn I was waiting for Brad to start teaching Threejs, so we can expect more fun tutorial from him on this subject, like the examples we see in Threejs home page. And I know this is the most simple example from the documentation, because the video tittle is "getting started".

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

    This is great! Watching in 2022. I hope more of these in 2022.

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

    Thanks, man i really like your video. You helped me make a presentation in my computer class. I hope the teacher likes it. And greate job on the vid.

  • @aminzarei1557
    @aminzarei1557 5 років тому +1

    short and simple but perfect for start as always, thank you.

  • @ลุงยุทธ์ยันกัญชา

    It's a very good tutorial. I'm easy to follow and it's not difficult to understand. Thank you very much.

  • @AkisLaoutaris
    @AkisLaoutaris 5 років тому

    I am dying to wait for the advanced Three.js tuts from you, boy. Thank you very much!

  • @VeeWebCode
    @VeeWebCode 5 років тому +1

    I don't know how to thanks you.... You are my dream hero..

  • @tomek.z
    @tomek.z 5 років тому +8

    Thanks for another great tutorial :) I think it would be better if you used local files inside your projects instead getting them from CDN. That would show proper intellisense in VSCode and give better overview of the library.

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

      Thanks for this one 🙏... now I understand why I don't get any help from intellisense.

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

    Excellent intro. Coming from unity dev, this was well laid out.

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

    Damn. How blessed I'm to find this video. Great explanation. Thank you so much ❤️.

  • @purplev2791
    @purplev2791 5 років тому

    I was looking for a Three.js video about a month ago and in your case it's refreshing to see it a little bit later. Because usually whenever I decide to study something new for web development, the next day you're uploading a video about it...which is a little bit creepy :)

  • @srikantprasad6711
    @srikantprasad6711 5 років тому

    Thanks sir, one of the best video on UA-cam for three. Js. Sir create more videos on three. Js.

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

    This was just... awesome. No more words...

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

    10:30 for some reason the cube image did not appear, any clue why?

  • @shovondas26
    @shovondas26 5 років тому

    Hello Brad,
    I'm your Fan, Only Your Fan, a Big Fan.
    I am a JavaScript Lover.
    I was waiting for a long time for THREE.JS.
    There are many videos out there but I was waiting for you.
    👍👍👍👍 Thank you man 👍👍👍👍👍

  • @MMANJUNATH18
    @MMANJUNATH18 5 років тому +1

    Liked it. Created same just now. Thank you Brad

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

    It's traversy media. I click like even before the actual video starts :D

  • @rebelmachine88
    @rebelmachine88 5 років тому

    Great introduction, I'm gonna try it out. Thanks, Brad!

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

    Thanks for helping me get me started!!

  • @kushagraacharya6279
    @kushagraacharya6279 5 років тому +3

    Thank you so much for this, you are a hero.

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

    This is SO cool! Thanks, Brad!

  • @Algebrodadio
    @Algebrodadio 5 років тому

    So looking forward to this one Brad.

  • @citizengoose1342
    @citizengoose1342 5 років тому

    This library is sick. Love it

  • @HE360
    @HE360 5 років тому +1

    Traversy, I was wondering do you do game development? Have you also heard of Babylon.js? It is another JavaScript library and framework for making games. It is also 3D and it is like Three.js cousin.

  • @0the0ambient0
    @0the0ambient0 4 роки тому

    Great tutorial on a topic that can be a little tricky. Thank you!

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

    This lecture carried me 🧡🙌🏽

  • @vicmitchell9962
    @vicmitchell9962 5 років тому

    Brad I hope you feel better soon :-)

  • @soajack
    @soajack 5 років тому

    Again, another excellent video ! Thanks !

  • @duuhhveeed
    @duuhhveeed 5 років тому

    Holy mackeral nice find! Im getting a paper.js vibe that acquired a couple of infinity stones!

  • @Pharaoh-99
    @Pharaoh-99 5 років тому

    11:42 the word you are looking for is jagged

  • @f1vlad
    @f1vlad 5 років тому

    Thanks for this intro Brad!

  • @jenniferscheinhorn6741
    @jenniferscheinhorn6741 5 років тому

    This is an amazing intro, thank you!

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

    i can't load textures. WHen i replace that with the colors it works. But when I use the textures it doesn't

  • @dragancarkic7402
    @dragancarkic7402 5 років тому

    How does resize event affect performance? Also what would be best way to handle that "responsive" part in real situation, how many people would actually resize the browser? Thanks Brad, love your content!

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

    thank you so much this is such a nice intro

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

    If the background isn’t rendering could it be i grabbed the wrong script tag from cdn I couldn’t find the one you were using at the time of this video

  • @RSTao77432
    @RSTao77432 5 років тому

    That third textures very cool, would look awesome on a tank or armoured car.
    Or on a riffle/mp5.

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

    I am trying to do this but I got an error that starts with this:
    //

  • @jonasleeansah1820
    @jonasleeansah1820 5 років тому +1

    do i have to include a lib to the project cos its not working

  • @nambui152
    @nambui152 5 років тому

    Please continue this series !!

  • @everestgjonaj
    @everestgjonaj 5 років тому

    Just what i was looking for.I am interested on an entire series and why not a project in the end.There are not any good videos up there except for Gary’s from design course.Also you i wish you could cover GSAP in the future too.

  • @wasiquehaider4727
    @wasiquehaider4727 5 років тому

    You are a mind reader brad ♥

  • @ispatza
    @ispatza 5 років тому

    Welcome back....and get better soon 😥😥😥😥

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

    for some reason when I ran the code you provided in my visual studio, i only get the black screen but no moving cube... why is this happening? I did exactly what you did in the index.html, too. Was there to setting up three.js in visual studio that was not included in this video?

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

      Install the Live Server extension. Worked a charm for me!

  • @IlemonaJamesAtuluku
    @IlemonaJamesAtuluku 5 років тому

    First-time seeing three js video

  • @n_fan329
    @n_fan329 5 років тому

    Still I’m fasting its Ramadan and can’t stand myself not watching brad stuff ❤️❤️

  • @dougiehawes916
    @dougiehawes916 5 років тому

    is it possible to make the 6 sides different? Basically, would it be possible to animate a dice?

  • @mimitajudin9787
    @mimitajudin9787 5 років тому

    Hi, I face a problem as soon as i insert the texture into the coding. and nothing came out but just a full black screen. Can you explain what is the possibilities of this problem to occur? Nice video btw :)

  • @FargoLargo
    @FargoLargo 5 років тому +1

    Man u are amazing! Hope, i can someday will be like u.

  • @torch1ca
    @torch1ca 5 місяців тому

    I think antialias does the opposite of what you think.. it makes the screen look softer, not sharper. It blurs the edges of shapes slightly so they aren't such crisp zigzags

  • @KarteekRakshit
    @KarteekRakshit 5 років тому

    Please create a bigger series for threejs.
    Great tutorial

  • @Unfarepak
    @Unfarepak 5 років тому

    Looks like it would be simple to port scenes from POV-ray, and as it isn't a full raytracer, it should be a lot faster to render and have less hassle getting the lighting right.

  • @MohamedHassan-yk5xn
    @MohamedHassan-yk5xn 5 років тому

    Amazing my friend, keep it up 😍

  • @muneeburrehman8188
    @muneeburrehman8188 5 років тому +2

    i think threejs can make website overbloated what are your thoughts

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

    hi there, i am going to learn 3.js from your video but wanna know do i have to cram all this code or is there any another way to remember.

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

    Anyone know how we could include this cube in a react project? I know there is react-three-fiber specifically for react, but is it possible to insert vanilla three.js into a react component?

  • @aidayasmin607
    @aidayasmin607 5 років тому

    Can i ask, what ide is being use to write the code ? Im a beginner, a little help please ^^

  • @ChihebBouzid
    @ChihebBouzid 5 років тому +1

    please more three.js videos! thank you.

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

    Great intro man 👍🏻

  • @CollinParan
    @CollinParan 5 років тому

    Brad,
    Would you go over keyboard controls for three.js? I saw some examples on their page, would like a breakdown.

  • @RITESHKUMAR-md8fg
    @RITESHKUMAR-md8fg 5 років тому

    Hii Brad you are awesome man your videos really help us to grab more knowledge. Can you make video on flutter from scratch like for beginners because your way of teaching something is flawless. I hope you'll make some note.

  • @kameronbriggs235
    @kameronbriggs235 5 років тому

    Resizing the window with an event listener gives me a black screen. im trying to figure out why, but doesnt anyone happen to know a fix?

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

    This is what I need. Thanks!

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

    Could someone explain why he passed "false" in that eventlistener?

  • @67Keldar
    @67Keldar 5 років тому

    This is frickin awesome 😮😮😮

  • @ridl27
    @ridl27 5 років тому

    Brad, what do you think about Svelte ? and can you make a tutorials at some point ?

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

    when i try to add the texture, i get an error message about CORS policy. somebody please help

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

    Can you make a video how to install three.js with and set everything up?

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

    for some reason i cant display a image, just the colors i dont know where would be the problem

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

    great video as always!

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

    How to learn more about it ? I'm kinda obsessed with this

  • @MrLaxr-op4be
    @MrLaxr-op4be 5 років тому

    My first Three JS project Started here

  • @an4s3crwt
    @an4s3crwt Рік тому

    loved the explanation Thank youu

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

    Very well explained, thanks

  • @oop_web7707
    @oop_web7707 5 років тому

    So cool! I luv it!! Thank you!

  • @dhanmoninath834
    @dhanmoninath834 5 років тому

    Thank you for your awesome videos

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

    for some reason my texture doesnt load it is just black :/
    Edit: I think its because I open the index.html and not through a port like I see you do. How do you do that without express/node setup?

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

      Look for VSCode extension called Live Server

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

      @@ooiboonpin8788 Thank You!!!! I have been struggling for days with this issue! Namaste.

  • @georgeaggelou3749
    @georgeaggelou3749 5 років тому

    I love your videos Brad ,they have helped me a lot. Appreciate the effort and the time to make them, can you do a video about pixi.js ??