Open utterances-bot opened 2 years ago
Great intro tutorial! Made a lot of sense to me as a 3D generalist branching into webGL. One thing that freaked me out is the #Rendering the scene code is still only showing the code to add the mesh. Did some digging and replaced it with:
function animate() { requestAnimationFrame(animate); renderer.render( scene, camera ); } animate();
Great intro tutorial! Made a lot of sense to me as a 3D generalist branching into webGL. One thing that freaked me out is the #Rendering the scene code is still only showing the code to add the mesh. Did some digging and replaced it with:
function animate() { requestAnimationFrame(animate); renderer.render( scene, camera ); } animate();
Hey @assembly4d,
Thank you for the heads up! Yes looks like this was a copy-paste issue. I've updated the code to reflect the animate
function
Getting Into Three.js - Weekly Webtips
Get your weekly dose of webtips
https://www.webtips.dev/getting-into-three-js