Devlog#2
Ok so, today i figured that primitives wasnt gonna work out as it took forever to understand and im pretty bad at it. So i switched to the next best thing my tiny head suggested, a 3d model(best dicision i made). I learned about the world of sketchfab and how many extremely talented people exist in this world.i had to work with CC attribution vs NonCommercial(i didnt quite know them before)and figure out which was usable for my project. I first tried a lightweight model with separate wheel meshes (good for the explode effect), but pivoted to the detailed RB20 (365k triangles) for visual quality which was quite the tradeoff. I havent actually changed much text or anything and thats for tomorrow with better angles and more history about the car. I downloaded the wrong formats and then finally got to .glb ,26MB,1k texture.
Then came the real debugging round 2(yes, again). Every time, I got a cleann 404 on the model path even though the file was litrelly sitting right there in the folder. Turns out the liveserver doesnt just notice the new files or folders sometimes. I had to fully stop and restart it and had it double checked with curl in terminal just to be sure if the server actually had the file before touching the browser again, and it did.
Then the model “loaded” with zero errors, console looked totally clean, but absolutely nothing showed up on screen.Then came back n forth with AI and finally realized I’d deleted my entire render loop when I swapped out the old primitive car code for the model-loading code. WOW. And then with the help of AI i added requestAnimationFrame + renderer.render back and the car finally appeared.
Finally , the car came and everything looked alright but the cars color was a bit off so i did a little tweaking here and there and then changed the bg asw . Thats it for my day 2 and devlog 2.
(Let me know which bg color is better)!!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.