OpenGL to WASM, learning from my mistakes
11–20 of 28 posts
Re: OpenGL to WASM, learning from my mistakes
#12This page is extremely slow on a powerful desktop CPU.
Re: OpenGL to WASM, learning from my mistakes
#13This is a very confusing article that doesn’t make much sense to me. The authors runs into performance limits on their laptop and states > maybe it’s time to port this to the web and not my machine be a blocker for the demo. So their solution is to port from C++ and OpenGL to WASM and WebGL. Last I checked WASM and WebGL all ran on the local machine, how on earth would porting to WebGL and WASM allow the author to ma…
To be fair, its very explicit that this isn't really a typical writeup. The whole article is apparently just about giving you answers that the AI didn't give them:
> I believe anyone can learn this tech with the presence of resource and LLMs, however, It’s worth to mention the mistakes that your cursor IDE might not be able to figure out after a while of composition to and fro.
Re: OpenGL to WASM, learning from my mistakes
#14Re: OpenGL to WASM, learning from my mistakes
#15Re: OpenGL to WASM, learning from my mistakes
#16Re: OpenGL to WASM, learning from my mistakes
#17Re: OpenGL to WASM, learning from my mistakes
#18Tangential question for c++ devs: How would this even compile before the author fixed the Sphere* typo in the vector?
Overall, I think this post is on the low end of the quality spectrum. I think the author is a bit confused about things, like they've been doing JS and picked up C++ only recently. Nothing bad about it, but I would do some more reading before posting much of anything.
[1] https://github.com/uds5501/multiple-spheres/blob/master/incl...
Re: OpenGL to WASM, learning from my mistakes
#19This is a very confusing article that doesn’t make much sense to me. The authors runs into performance limits on their laptop and states > maybe it’s time to port this to the web and not my machine be a blocker for the demo. So their solution is to port from C++ and OpenGL to WASM and WebGL. Last I checked WASM and WebGL all ran on the local machine, how on earth would porting to WebGL and WASM allow the author to ma…
Not only that, but the "lessons" learned here don't seem to have anything to do with the specific fact its an emscripten port anyway, just like general webgl troubleshooting. To be fair, its very explicit that this isn't really a typical writeup. The whole article is apparently just about giving you answers that the AI didn't give them: > I believe anyone can learn this tech with the presence of resource and LLMs, ho…
Just look at the mistakes in the article: an off-by-one error with the lines of code for rendering, and a pointer bug that prevents the program from compiling. These are the kinds of mistakes you make in your first few weeks of programming, and don't have much to do with the underlying topic of rendering with a GPU - it could have just as easily been written about implementing a database, implementing an operating system: anything of sufficient complexity.
Not to begrudge the author but this shows more about his faith in AI than anything related to GPU rendering.