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
please go deeper into ThreeJS. Loading models etc. loading 3d files save in a database, onclick loading, pop up scenes etc. PLEEEEEEEEAAAAAAAAAAAAAAAAAASE !!!!!!!!
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.
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.
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!)
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.
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!
@@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".
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 :)
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.
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 👍👍👍👍👍
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.
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.
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.
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.
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
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 :)
just make a mesh where you map the pixel coords and value to the y value of your corresponding vertices. If they arent pixel per vertex, then interpolate.
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!
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?
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!
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
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!
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.
Thanks for also displaying documentation for the code you write. Helps me understand why you are writing code the way you are writing it.
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.
Omg, I’ve been waiting for this. Thank you!
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.
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 😊😊😊
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.
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.
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!)
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.
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!
Finally a concise tutorial about three.js. Thank you.
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
This is great! Watching in 2022. I hope more of these in 2022.
I already know I'll love this series. Please do an episode on loaders. Thank you biiiiiiig time!!!!!!
I love it when "just mute that".
Excellent intro. Coming from unity dev, this was well laid out.
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".
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 :)
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..
It's a very good tutorial. I'm easy to follow and it's not difficult to understand. Thank you very much.
Thanks sir, one of the best video on UA-cam for three. Js. Sir create more videos on three. Js.
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.
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 :)
This was just... awesome. No more words...
short and simple but perfect for start as always, thank you.
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 👍👍👍👍👍
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.
It's traversy media. I click like even before the actual video starts :D
Brad I hope you feel better soon :-)
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.
Damn. How blessed I'm to find this video. Great explanation. Thank you so much ❤️.
Liked it. Created same just now. Thank you Brad
That third textures very cool, would look awesome on a tank or armoured car.
Or on a riffle/mp5.
This library is sick. Love it
please more three.js videos! thank you.
Great tutorial on a topic that can be a little tricky. Thank you!
Please create a bigger series for threejs.
Great tutorial
Thanks for helping me get me started!!
Holy mackeral nice find! Im getting a paper.js vibe that acquired a couple of infinity stones!
This is SO cool! Thanks, Brad!
Great introduction, I'm gonna try it out. Thanks, Brad!
Welcome back....and get better soon 😥😥😥😥
So looking forward to this one Brad.
This lecture carried me 🧡🙌🏽
Still I’m fasting its Ramadan and can’t stand myself not watching brad stuff ❤️❤️
Please continue this series !!
Thank you so much for this, you are a hero.
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.
My first Three JS project Started here
First-time seeing three js video
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.
I am trying to do this but I got an error that starts with this:
//
thank you so much this is such a nice intro
Thanks for this intro Brad!
i think threejs can make website overbloated what are your thoughts
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.
This is what I need. Thanks!
Again, another excellent video ! Thanks !
11:42 the word you are looking for is jagged
i can't load textures. WHen i replace that with the colors it works. But when I use the textures it doesn't
Very useful. Thanks again.
You are a mind reader brad ♥
Man u are amazing! Hope, i can someday will be like u.
loved the explanation Thank youu
Very well explained, thanks
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
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 an amazing intro, thank you!
do i have to include a lib to the project cos its not working
Much awaited
Hope you do a video on Svelte / Sapper!
Thanks // So effective for starters
great video as always!
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 :)
Thank you so much for this video
Great intro man 👍🏻
Hi Brad, awesome job as always, could you make a threejs tutorial using height maps to create terrains
just make a mesh where you map the pixel coords and value to the y value of your corresponding vertices. If they arent pixel per vertex, then interpolate.
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 ??
This is frickin awesome 😮😮😮
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!
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!
Nice one! Thanks! can you do more demo videos for cool and interesting JS libraries?
Thanks Brad
Really awesome!!!
is it possible to make the 6 sides different? Basically, would it be possible to animate a dice?
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?
So cool! I luv it!! Thank you!
Thank you for your awesome videos
10:30 for some reason the cube image did not appear, any clue why?
when i try to add the texture, i get an error message about CORS policy. somebody please help
Love the video. Can you do a video on Svelte? The new compiler sounds interesting.
How to learn more about it ? I'm kinda obsessed with this