Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
From 0 to glTF with WebGPU: Rendering the first glTF mesh (willusher.io)
76 points by Twinklebear on May 18, 2023 | hide | past | favorite | 7 comments


When kids in https://old.reddit.com/r/opengl/ ask about a good starting project, I usually recommend making a glTF viewer. It’s good because it’s a scalable project that you can take as short or as far as you care to go. At a minimum, you can just get solid colored triangles on the screen in generally the right shape. But, if you find yourself having fun, you can end up building a full-featured scene renderer to rival https://google.github.io/filament/Filament.html


So we are finally past of OBJ file loaders? :)


I remember writing a few obj loaders in the 90s. Eventually I abandoned it for md2/md3 (but I don't remember why).


On another thread, people were wondering where all the hackers went.

Here's one, and it's a lot of fun! Can't wait to give this a try this weekend.


8MB for a low-poly untextured 3D model in binary format. Something is horribly wrong there.


> Something is horribly wrong there.

Hey, if you're going to post about something that you know about, can you please educate the rest of us about what's going on and what the issues are? I'm sure it's not your intention, but if you post a short dismissive comment like this, it comes across as a supercilious putdown, and that ends up poisoning the ecosystem.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...


It has three PNG textures that are 99% of the filesize.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: