Dear Lazyweb,

Seeking source for simple but believable OpenGL 3D fire and smoke simulation that does not use GLES / GLSL shaders, OpenGL 1.3 only.

• "Why would you do that to yourself?" Reasons.
• "No, but here's one using Shader Language." You are not helping.
• "I know you said 3D, but here's a flat one." Again, not helping.
"Here's someone's thesis that doesn't have runnable code." No.

https://jwz.org/b/ykmx

Pro tip!

If you do not have an answer to a question, remaining silent is always an option available to you!

@jwz this is exactly why I just keep my mouth shut most of the time!
@jwz what if it's less of an answer and more of a question?
@jwz Addendum: consider the person you're responding to. If your response (useful or not) was obtained with a minute or two of web searches is it likely that they were able to find it themselves before going public with a question and thus have already seen it?
@jwz yeah but now you've made a game of it

@jwz

That was often done using particle engines. I sadly no longer have the source for it. I do think that some DirectX 8 demo’s had a few examples.

@DevWouter @jwz

"OpenGL" ... "DirectX"

Hm.

@cazabon @DevWouter @jwz I mean, you might at least he able to find an applicable technique for writing an OpenGL 1.3 one by looking at how it was done in a different pre-shader API.
@jwz In many ways, giving directions to the Lazyweb seems a lot like trying to persuade an LLM to give the answers you want.
@jani it's not nearly as satisfying to dunk on an LLM that ignored the prompt, though.

@jani
@jwz

Claude 3.7 with thinking wrote me a pretty good one in about 5 minutes, using only your post, then converted it to a working react component so I could see what it looked like.

Looks good to me. I'd send you the code, but if I were you I would just go check it out (so you can get exactly what you want).

P.S. Yes, you should be terrified by this.

@jwz "why would you do that to yourself" is a valid X/Y problem check, though.