so much details explained in such short video, image this guy makes a full flege course or drop a full project video
@robotbobby92 күн бұрын
I'm working on it! Thanks @irfansaeedkhan7242, love your profile image btw.
@valentinoquilesmatei34082 күн бұрын
Hey nice video. I'm doing a university research about best and optimal 3d graphics on website. I sawed that there's an alternative to threeJS that it's maybe harder but i don't know if its better BABYLON JS. Could you help me? Im not founding videos respect BABYLON and seems pretty nice.
@robotbobby92 күн бұрын
Thanks @valentinoquilesmatei3408 ! Not clear to me why someone would need an alternative to Three.js 😄 I have not tried Babylon.js, so I couldn't compare them well. Here's an interesting comparison: trends.google.com/trends/explore?gprop=youtube&q=three.js,babylon.js&hl=en
@Carlos-si9bn2 күн бұрын
Thanks again, Mr. Robot! Can you give some hint/advice to learn about lerp and spline that are used in this effect?
@robotbobby92 күн бұрын
Sure thing! I think SimonDev does a good job describing the LinearSpline here: kzbin.info/www/bejne/hXfUdoGdqdaFd7ssi=FK9TdyXk8XQQh-EL&t=367 The lerp (for the colorSpline) is covered here: threejs.org/docs/index.html?q=color#api/en/math/Color.lerp I hope this helps!
@Carlos-si9bn2 күн бұрын
@@robotbobby9 Thanks a lot, Sir! I've watched simon's explaining. I'll need a explanation for a dumb person. 😅 I didn't get it yet, but I will! Thanks for your help!! Have a nice day!
@robotbobby92 күн бұрын
This site looks interesting (hope it helps): noobtomaster.com/computer-graphics/interpolation-methods-linear-spline/
@HuynhLuong2273 күн бұрын
Tks for share🎉🎉🎉
@robotbobby93 күн бұрын
Welcome 😊
@Carlos-si9bn3 күн бұрын
Hi, Mr. Robot! Thanks for sharing your knowledge! I've watched your video multiple times and made several changes to the code in an attempt to achieve a transition based on click events. The transition itself works, but I'm encountering a bug where materialB consistently overlaps materialA, even after the scene changes. Could you provide some guidance on implementing transition effects triggered by click events?
@robotbobby93 күн бұрын
Hrmm, could you share the code, maybe via replit.com?
@3drwny5 күн бұрын
Thank you master . 🙏 I'd like to experience a first-person walking simulation in a virtual environment. The simulation should allow me to perform actions like walking, jumping, and navigating stairs. also detect collisions with walls and other obstacles. Thank you in advance :)
@robotbobby93 күн бұрын
Great suggestion! I'll add it to the list of video ideas.
@SajithRanatunga-pm5zl9 күн бұрын
Hi, Thank you sharing this awesome tutorial. Please if you can give us a landscape topology (terrain/lake) visualization on Three JS
@robotbobby99 күн бұрын
Great suggestion! I'm adding it to my list of video ideas!
@SajithRanatunga-pm5zl8 күн бұрын
@@robotbobby9 Thank you.
@CodingThingsIRL10 күн бұрын
This is amazing!
@robotbobby910 күн бұрын
Thanks! 🙏🏼
@akiliinstitute681910 күн бұрын
there is already code there
@robotbobby910 күн бұрын
Yep. The game code is too complex to write it all in only 9 minutes 😁
@Kirkpettinga10 күн бұрын
Thanks for the content! Would love to see your solution for only showing the night lights on the dark side of the earth
@robotbobby910 күн бұрын
I need to have a go at that! Just like it's implemented here: eyes.nasa.gov/apps/solar-system/#/earth
@Kirkpettinga9 күн бұрын
@@robotbobby9 OMG this site is amazing!
@baxtables12 күн бұрын
Should I just get started or learn some prerequisite before diving in
I also added the bump for the Mountains etc, this is the code for the ones who want it: let bmap = loader.load('./assets/earth/8k_earth_normal_map.jpg'); bmap.wrapS = THREE.RepeatWrapping; bmap.wrapT = THREE.RepeatWrapping; bmap.repeat.set(5, 5); earthMesh.material.bumpMap = bmap; earthMesh.material.bumpScale = 0.004; looks very good!
@robotbobby915 күн бұрын
Nice! works for me too, without the repeat and a bumpScale of 4.0
@irfansaeedkhan724217 күн бұрын
i loved your first video on making earth and now with moon, awesome
@robotbobby917 күн бұрын
Thank you so much 😀
@TheBayExpresss17 күн бұрын
Very informative video, thanks a lot!!! Dropped a sub :)
@robotbobby917 күн бұрын
Thanks for the sub!
@CarlaAnneQ20 күн бұрын
Thank you! Looking forward for more
@robotbobby919 күн бұрын
More coming every week!
@jamesanderegg765522 күн бұрын
Very cool! Would be neat to explore d3.js and three.js together. Also, I would love to see a top-down view of a dark foggy forest, and the mouse is a flashlight pointing to create shadows. Thanks so much for sharing the creativity!
@robotbobby921 күн бұрын
A lighting effect like this? kzbin.info/www/bejne/rpzGdIqnnsuHb68 Sounds cool! Thanks for the suggestion
@jamesanderegg765521 күн бұрын
@@robotbobby9 Exactly. I tried it once before with React.. I'll see if i can fix the repo it is in... Here is my flashlight but it was doing wacky things a bit, i like the version you found. function Lights() { const { gl, camera } = useThree(); const [mousePosition, setMousePosition] = useState({ x: 0, y: 0 }); useEffect(() => { const handleMouseMove = (event) => { // Convert screen coordinates to normalized device coordinates const x = (event.clientX / window.innerWidth) * 2 - 1; const y = -(event.clientY / window.innerHeight) * 2 + 1; setMousePosition({ x, y }); }; gl.domElement.addEventListener('mousemove', handleMouseMove); return () => { gl.domElement.removeEventListener('mousemove', handleMouseMove); }; }, [gl.domElement]); // Convert normalized device coordinates to a range suitable for light positioning const lightX = mousePosition.x * 50; const lightY = 1; // You can adjust the Y position as needed const lightZ = -mousePosition.y * 50; return ( <> <pointLight castShadow intensity={0.09} args={["#d31b1b", 0, 30]} position={[lightX, lightY, lightZ]} /> <spotLight castShadow intensity={1} args={["#a49963", 30, 100]} position={[lightX, lightY, lightZ]} penumbra={0.3} angle={Math.PI / 3} /> </> ); } export default Lights;
@RahulSingh-be2mg22 күн бұрын
incredible design
@robotbobby922 күн бұрын
Thank you 🙏🏼
@Distortie22 күн бұрын
Checked out the playlist of tutorials. Epic to see your confidence growth in the 'Hi' from first video in the playlist 2yrs ago to now! Great vid.
@robotbobby922 күн бұрын
Thank you @Distortie!
@yellemonster23 күн бұрын
This is awesome.
@robotbobby923 күн бұрын
Thank you @yellemonster
@tammielisa24 күн бұрын
Looks really cool 👏😎
@robotbobby924 күн бұрын
Thank you!
@khanjanjha969325 күн бұрын
I have been given a task to make emmersive webpage how can i build one or take ispiration for it. I have never worked on these emmersive sites can you please guide me
@robotbobby924 күн бұрын
Hey @khanjanjha9693 check www.awwwards.com/ for inspiration. (or scan KZbin for "AWWWard winning websites") Many of the immersive effects can take a lot of work and skill, so if you are new to the process, take it step-by-step and slow! Start with a simple effect (like a Three.js background, tip #10) Good luck!
@khanjanjha969322 күн бұрын
@@robotbobby9 i have already scanned through awwwards those designs are waaay more complicated and looks harder to achieve......so i sometimes feel lost where to start
@khanjanjha969325 күн бұрын
where are the files from which you are importing can you please share them
@robotbobby924 күн бұрын
github.com/bobbyroe/tips-and-techniques
@khanjanjha969322 күн бұрын
@@robotbobby9 thankyou so much
@user-hd3pz2ow1b29 күн бұрын
cool
@robotbobby929 күн бұрын
Thanks!
@DistortieАй бұрын
Nice, you dived in to Shaders much?
@robotbobby9Ай бұрын
Hey @Distortie, a bit, not as much as this guy: www.youtube.com/@TheArtofCodeIsCool Do you have a favorite KZbin channel?
@irfansaeedkhan7242Ай бұрын
this is so cool, thank you
@robotbobby9Ай бұрын
You’re welcome! Thanks for watching
@brianpatrick7619Ай бұрын
This is AWESOME, thank you! Could you make a follow on video showing how to add an animate a satellite moving in orbit with ECI coordinates?
@robotbobby9Ай бұрын
Great suggestion! I’ll add it to the list ☝🏼
@DistortieАй бұрын
great tips mate. great learnings
@robotbobby9Ай бұрын
Thanks 👍
@InverserProАй бұрын
It's cool video. Thanks!
@robotbobby9Ай бұрын
Glad you liked it!
@irfansaeedkhan7242Ай бұрын
thank you man, there too less data on threejs on youtube
@robotbobby9Ай бұрын
Thank you! More to come!
@beastlybruh3825Ай бұрын
another great video !!!!
@robotbobby9Ай бұрын
Thanks @beastlybruh3825 !
@closingtheloop2593Ай бұрын
You're a beast.
@robotbobby9Ай бұрын
Thank you!
@eLearningTechieАй бұрын
I ended up here after getting hopelessly lost in the sauce of some of the other 'beginner' tutorials out there. So many tutorial creators don't seem to realise how much background knowledge they're taking for granted! Really appreciate the clarity of what you're presenting and the fact that you explain why you're taking the steps you're taking. Thank you.
@robotbobby9Ай бұрын
So glad to hear that this worked for you! Your feedback really helps, Thank you!
@beastlybruh3825Ай бұрын
Amazing tutorial. I felt really connected with what you taught. Keep up the great work !!
@robotbobby9Ай бұрын
So glad to hear!
@KartikaySrivastavАй бұрын
Sir 6:39 after writing the code till here, you screen turned black but my hasn't. What could be the possible error? Please help.
@robotbobby9Ай бұрын
Open up the console to get more information about the error (maybe there was a typo?)
@carlosrangel4500Ай бұрын
Awesome, I'm learning Three.js and I think it offers a lot of capabilities to Front-End devs
@robotbobby9Ай бұрын
Glad to hear!
@sevuszeld5015Ай бұрын
not gonna sit here watching someone not sharing the url he reads the text from if it is not that way show me otherwise. disliked the video. bye
@robotbobby9Ай бұрын
It's true, I'm just reading a script (that I wrote) - I'm working on making my delivery less boring.
@sevuszeld5015Ай бұрын
@@robotbobby9 That's great to hear. A little bit of "Indirect Eye Contact" at the camera and bringing melody into your speech could help. The Information promited is fine. If one of your future videos will pop up on my side of the internet then it will be a pleasant to watch these. Stay cool ^^ Peace out.
@s4ruul445Ай бұрын
Java logo ?
@robotbobby9Ай бұрын
I /think/ that was an early JavaScript logo! The creators of JS were riding on the popularity of Java
@ProfMonkeysАй бұрын
Nice seeing a live coding walk through of how to accomplish stuff. One concern I have, however, is that you showed a bit of just accepting a copilot suggestion without pausing to carefully review the content of the suggestion. Since this video seems oriented towards beginners, it seems wise to encourage good habits around AI tools, such as taking the time to carefully review and understand anything you allow and AI to produce.
@robotbobby9Ай бұрын
Good point, @ProfMonkeys! I'll make an effort to clarify when to accept / reject Copilot generated code. 🤖
@arafaysАй бұрын
Correction: at 0:18 its easy to use comparing to the other options out I spit out my coffee when I heard easy to use.
@robotbobby9Ай бұрын
Good point, compared to other options. What's easier than Three.js tho?
@ikermadariagamoreno6255Ай бұрын
Awesome video, could you explain how could i add a .gltf to my website? thank you
@robotbobby9Ай бұрын
This video walks through loading a model: kzbin.info/www/bejne/eanHY5qPh9etasU Replace the *OBJLoader* with a *GLTFLoader* and you'll be loading models!
@ikermadariagamoreno6255Ай бұрын
Thank you
@JoerdoddАй бұрын
Thanks for the tuts! Would be awesome if you included any source files to get started unfortunately cant follow this one as I dont know how you got to the initial start point - amazing stuff though!
amazing! very new to this however - Do you know what I could search for to find out how to add this to my wordpress/elementor pro website? thanks in advance!
@robotbobby9Ай бұрын
Not sure, maybe start here: elementor.com/help/custom-code-pro/ ?
@doaamarshal1835Ай бұрын
amazing! i want to do the same with a-frame , any advices?
@robotbobby9Ай бұрын
I'm not familiar with A-Frame, but it looks like it's built on Three,js! Maybe build a custom *Earth* component? aframe.io/docs/1.5.0/introduction/writing-a-component.html
@HuynhLuong227Ай бұрын
very cool, thanks for sharing
@robotbobby9Ай бұрын
Thanks for watching!
@javifontalva7752Ай бұрын
How do I initialize the project? Thank you!
@robotbobby9Ай бұрын
Check out: kzbin.info/www/bejne/joHLcoVnjsl3bNE
@DevKaiUnrealАй бұрын
Good pacing, good content selection. Great Tutorial. I also liked that you addressed the z-fighting. Thank you!
@robotbobby9Ай бұрын
Thank you @DevKaiUnreal !
@serychristianrenaudАй бұрын
Сool
@robotbobby9Ай бұрын
Thanks!
@irfanghyannАй бұрын
how can i add this sphere hover and also want to add onclick event
@robotbobby9Ай бұрын
Check out kzbin.info/www/bejne/qpjahGSurd-Wb9U
@Izelthecoolgirl29-9-12Ай бұрын
Also how can add onclick event in globe
@RameshBSahooАй бұрын
Outstanding is the only word i have for now. Thank you sir!!
@robotbobby9Ай бұрын
Most welcome!
@RameshBSahooАй бұрын
Hello Sir!! Would be kind of you, if you please help us to understand, how to set-up the project please? Would be a nice kick-start to newbies like me. Thank you sir!!
@robotbobby9Ай бұрын
I was just about to link you to my Getting Started tutorial, but you found it already!