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!
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
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!
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
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 :)
@@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!
@@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.
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!
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.
@@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".
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.
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*
Can I add to this: Babylon.js (most common alternative to Three.js); Unity3D Webassembly (the step up alternative); Shadertoy.com (digital witchcraft!)
please go deeper into ThreeJS. Loading models etc. loading 3d files save in a database, onclick loading, pop up scenes etc. PLEEEEEEEEAAAAAAAAAAAAAAAAAASE !!!!!!!!
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.
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 :)
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.
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 👍👍👍👍👍
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.
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?
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!
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.
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 :)
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.
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
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?
You are the Kobe Bryant of TH-cam when it comes to Technology related channels! Great as always!
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!
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
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.
Literally everything I google as a new Software Engineer, you have made a video for. Thank you!
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!
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
Man do you learn new technologies on daily basis?
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 :)
@@TraversyMedia Could you dive into React Joyride? I am going to work with that at my internship after summer :)
@@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!
@@TraversyMedia you helped in shaping my career, I've learnt pretty much every Web development technologies from you.
So Thank you
@@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.
Channel's like this, keep TH-cam relevant. Great work.
Thanks for also displaying documentation for the code you write. Helps me understand why you are writing code the way you are writing it.
I love it when "just mute that".
Omg, I’ve been waiting for this. Thank you!
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 😊😊😊
This is great! Watching in 2022. I hope more of these in 2022.
Finally a concise tutorial about three.js. Thank you.
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!
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.
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
I already know I'll love this series. Please do an episode on loaders. Thank you biiiiiiig time!!!!!!
I was waiting for this. Thanks brad
Why did you waited? It's straight the most simple example from the documentation.
@@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".
It's a very good tutorial. I'm easy to follow and it's not difficult to understand. Thank you very much.
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.
Really wanna say Thanks. I was facing the same issue and now I followed as u said it got resolved, thanks :)
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*
Can I add to this: Babylon.js (most common alternative to Three.js); Unity3D Webassembly (the step up alternative); Shadertoy.com (digital witchcraft!)
please go deeper into ThreeJS. Loading models etc. loading 3d files save in a database, onclick loading, pop up scenes etc. PLEEEEEEEEAAAAAAAAAAAAAAAAAASE !!!!!!!!
There are documentations for that.
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.
I am dying to wait for the advanced Three.js tuts from you, boy. Thank you very much!
This was just... awesome. No more words...
I don't know how to thanks you.... You are my dream hero..
short and simple but perfect for start as always, thank you.
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.
Liked it. Created same just now. Thank you Brad
Excellent intro. Coming from unity dev, this was well laid out.
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 :)
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.
Thanks for this one 🙏... now I understand why I don't get any help from intellisense.
Thanks sir, one of the best video on TH-cam for three. Js. Sir create more videos on three. Js.
Damn. How blessed I'm to find this video. Great explanation. Thank you so much ❤️.
Thanks for helping me get me started!!
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 👍👍👍👍👍
It's traversy media. I click like even before the actual video starts :D
This library is sick. Love it
This is SO cool! Thanks, Brad!
So looking forward to this one Brad.
Welcome back....and get better soon 😥😥😥😥
Great introduction, I'm gonna try it out. Thanks, Brad!
Brad I hope you feel better soon :-)
Thank you so much for this, you are a hero.
i can't load textures. WHen i replace that with the colors it works. But when I use the textures it doesn't
Holy mackeral nice find! Im getting a paper.js vibe that acquired a couple of infinity stones!
Please continue this series !!
Great tutorial on a topic that can be a little tricky. Thank you!
do i have to include a lib to the project cos its not working
thank you so much this is such a nice intro
11:42 the word you are looking for is jagged
10:30 for some reason the cube image did not appear, any clue why?
This lecture carried me 🧡🙌🏽
Still I’m fasting its Ramadan and can’t stand myself not watching brad stuff ❤️❤️
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.
Again, another excellent video ! Thanks !
That third textures very cool, would look awesome on a tank or armoured car.
Or on a riffle/mp5.
Thanks for this intro Brad!
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
Could someone explain why he passed "false" in that eventlistener?
Can you make a video how to install three.js with and set everything up?
First-time seeing three js video
I am trying to do this but I got an error that starts with this:
//
How to learn more about it ? I'm kinda obsessed with this
please more three.js videos! thank you.
You are a mind reader brad ♥
This is what I need. Thanks!
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?
Install the Live Server extension. Worked a charm for me!
i think threejs can make website overbloated what are your thoughts
loved the explanation Thank youu
Very useful. Thanks again.
This is an amazing intro, thank you!
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?
is it possible to make the 6 sides different? Basically, would it be possible to animate a dice?
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!
My first Three JS project Started here
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.
for some reason i cant display a image, just the colors i dont know where would be the problem
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 :)
when i try to add the texture, i get an error message about CORS policy. somebody please help
Man u are amazing! Hope, i can someday will be like u.
Nice video but can i use three.js with angular
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.
Much awaited
Please create a bigger series for threejs.
Great tutorial
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.
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
This is frickin awesome 😮😮😮
1:04 music that we deserves haha xD
great video as always!
Can i ask, what ide is being use to write the code ? Im a beginner, a little help please ^^
Very well explained, thanks
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?
Great intro man 👍🏻
Brad,
Would you go over keyboard controls for three.js? I saw some examples on their page, would like a breakdown.
Can I still learn this language if I don't know how to code? I'm pretty much a newbie
Brad, what do you think about Svelte ? and can you make a tutorials at some point ?
So cool! I luv it!! Thank you!