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!
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.
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
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.
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.
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 !!!!!!!!
@@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".
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.
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 :)
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.
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.
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?
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 :)
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
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.
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?
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.
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?
You are the Kobe Bryant of UA-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!
Literally everything I google as a new Software Engineer, you have made a video for. Thank you!
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!
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.
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.
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
Channel's like this, keep UA-cam relevant. Great work.
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.
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 😊😊😊
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!
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".
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
Finally a concise tutorial about three.js. 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.
I already know I'll love this series. Please do an episode on loaders. Thank you biiiiiiig time!!!!!!
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.
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".
This is great! Watching in 2022. I hope more of these in 2022.
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.
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.
I am dying to wait for the advanced Three.js tuts from you, boy. Thank you very much!
I don't know how to thanks you.... You are my dream hero..
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.
Excellent intro. Coming from unity dev, this was well laid out.
Damn. How blessed I'm to find this video. Great explanation. Thank you so much ❤️.
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 sir, one of the best video on UA-cam for three. Js. Sir create more videos on three. Js.
This was just... awesome. No more words...
10:30 for some reason the cube image did not appear, any clue why?
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 👍👍👍👍👍
Liked it. Created same just now. Thank you Brad
It's traversy media. I click like even before the actual video starts :D
Great introduction, I'm gonna try it out. Thanks, Brad!
Thanks for helping me get me started!!
Thank you so much for this, you are a hero.
This is SO cool! Thanks, Brad!
So looking forward to this one Brad.
This library is sick. Love it
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.
Great tutorial on a topic that can be a little tricky. Thank you!
This lecture carried me 🧡🙌🏽
Brad I hope you feel better soon :-)
Again, another excellent video ! Thanks !
Holy mackeral nice find! Im getting a paper.js vibe that acquired a couple of infinity stones!
11:42 the word you are looking for is jagged
Thanks for this intro Brad!
This is an amazing intro, thank you!
i can't load textures. WHen i replace that with the colors it works. But when I use the textures it doesn't
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!
thank you so much this is such a nice intro
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
That third textures very cool, would look awesome on a tank or armoured car.
Or on a riffle/mp5.
I am trying to do this but I got an error that starts with this:
//
do i have to include a lib to the project cos its not working
Please continue this series !!
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.
You are a mind reader brad ♥
Welcome back....and get better soon 😥😥😥😥
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!
First-time seeing three js video
Still I’m fasting its Ramadan and can’t stand myself not watching brad stuff ❤️❤️
is it possible to make the 6 sides different? Basically, would it be possible to animate a dice?
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 :)
Man u are amazing! Hope, i can someday will be like u.
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
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.
Amazing my friend, keep it up 😍
i think threejs can make website overbloated what are your thoughts
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.
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?
Can i ask, what ide is being use to write the code ? Im a beginner, a little help please ^^
please more three.js videos! thank you.
Great intro man 👍🏻
Brad,
Would you go over keyboard controls for three.js? I saw some examples on their page, would like a breakdown.
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.
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?
This is what I need. Thanks!
Could someone explain why he passed "false" in that eventlistener?
This is frickin awesome 😮😮😮
Brad, what do you think about Svelte ? and can you make a tutorials at some point ?
when i try to add the texture, i get an error message about CORS policy. somebody please help
Can you make a video how to install three.js with and set everything up?
for some reason i cant display a image, just the colors i dont know where would be the problem
great video as always!
How to learn more about it ? I'm kinda obsessed with this
My first Three JS project Started here
loved the explanation Thank youu
Very well explained, thanks
So cool! I luv it!! Thank you!
Thank you for your awesome videos
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?
Look for VSCode extension called Live Server
@@ooiboonpin8788 Thank You!!!! I have been struggling for days with this issue! Namaste.
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 ??