I find oldschool demos fascinating. I want to recreate some of the most interesting effects using WebGL. One of my long term goals is to eventually produce my own demo.
Watch these lame attempts at me trying to dabble in core OpenGL/WebGL concepts to recreate famous demo effects.
Some useful links: source code and my personal website.
The height map is computed by the GPU in the vertex shader. Possible improvements: make the terrain more realistic (sea level, rivers, etc.), color/textures based on height, lighting and shadows, sunlight/sunset, etc.
Who would have thought something as simple as trails would require off-screen rendering? So yeah, in this demo I deal with framebuffers, textures and, surprisingly for the first time, multiple shader programs.
I finally got around to implement the ubiquitous primitives found in every good demo. Doing the math was the most annoying thing, so was inputting everything by hand in the right order.
First time I had to really deal with lighting, normals, face culling, etc. Interesting stuff. I also have numbered the faces so I can do per-face color/texture.
Fun fact: the goal was, originally, to recreate this scene from "Second reality" by Future Crew (pouet). I decided to implement all the primitives for the five solids, only to realise after the fact the spinning solid in this scene isn't even one of them. I think it is a tetrakis hexahedron, but I am not sure.
Not exactly sure where I got the inspiration for this monstrosity. Anyway, I finally got around to add proper slider so you can tweak with some values in real time (including geometry).
Have you ever been "interjected for a moment" with style? This demo was challenging for a couple of reasons. I had to create a bitmap font, embed it in the source code then dynamically generate the text geometry at runtime. The text also loops.
It's white noise. What else were you expecting? May come in handy if your LCD panel has dead pixels.
My very first demo. The goal was to do recreate something like this scene of "We have accidentally borrowed your votedisk" by Razor1911 (pouet). However after realising the amount of work needed I was very happy to have anything rendered at all.
Skip this one, it's really boring.