0

How to fix This Three.js

How to fix This Three.js I want to import three.js in my code also the latest one https://sololearn.com/compiler-playground/WeybKVg2uxIr/?ref=app

16th Jun 2024, 7:42 AM
Leonard
2 Respuestas
+ 4
don't include the grid in your renderer.render. It is already in the scene at line 36. 36. scene.add(cube,pointlight,grid) change your animate function to: function animate() { requestAnimationFrame(animate) renderer.render(scene, camera) } animate()
16th Jun 2024, 12:50 PM
Bob_Li
Bob_Li - avatar
+ 3
This code has it working, maybe compare the 2 and you could even consider contacting the Coder for help: https://sololearn.com/compiler-playground/WMBPv3PIeiA9/?ref=app
16th Jun 2024, 9:05 AM
Ausgrindtube
Ausgrindtube - avatar