Graphics
Shadertoy / Raymarching
Single quad pixelshader effects have become common in 1kb and 4kb intros. You raymarch your entire scene inside the pixelshader.
The most common tool to do single quad pixelshader effects is Shadertoy.
Here are some resources for learning raymarching and graphics coding in shadertoy:
4K Procedural Graphics
A relatively recent trend of democompos has been the 4kb procedural graphics executable compo. Where the executable under 4 kilobytes creates a single still image procedurally.
If you can find a list of those entries on pouet:
And a selection of the best ones curated by yx at this website:
Some great information on creating procedural graphics can be found in iq’s website:
And here’s a great tool helping creation using GLSL:
Auld’s OpenGL Tricks Corner
Tiny Geometry
Using Graphics APIs with Assembly
A hard part of tight graphics coding is getting the API to work with an assembler. Here are some resources.
DirectX with Assembly
- Scronty Soft - DirectX 8
- Includes: http://www.scrontsoft.com/Scrontsoft.asp?pageID=1
- Tutorials: http://www.scrontsoft.com/Scrontsoft.asp?pageID=2
- Examples: http://www.scrontsoft.com/Scrontsoft.asp?pageID=3
- Entire Package, Locally: d3d 8.0 from Scrontys site.rar
- Scronty Soft - DirectX 8.1
- Includes: http://www.scrontsoft.com/DX81.asp?pageID=1
- Tutorials: http://www.scrontsoft.com/DX81.asp?pageID=2
- Examples: http://www.scrontsoft.com/DX81.asp?pageID=3
- Entire Package, Locally: d3d 8.1 from Scrontys site.rar
OpenGL with Assembly
Software Samples
- Sample ports of NeHe Content
- URL: http://nehe.gamedev.net/
- Locally: NEHE.rar
- Includes:
- Setting Up An OpenGL Window
- Your First Polygon
- Adding Color
- Rotation
- 3D Shapes
- Texture Mapping
- Texture Filters, Lighting & Keyboard Control
- Blending
- Moving Bitmaps In 3D Space
- Loading And Moving Through A 3D World
- Flag Effect (Waving Texture)
- Display List
- MASM Wildfuse Open GL / and Glut Tutorials.
- Masm version: Rudolph Pretorius aka nVRwere
- URL: No longer exists
- Locally: WildFuse.rar
- Includes:
- glmouse.zip
- glsample.zip
- glutmasmex1.zip
- glutmasmex2.zip
- glutmasmex3.zip
- glutmasmex4.zip
- glutmasmex5.zip
- From asm.yeah.net (no longer exists)
- Locally: Open GL Samples from asm.yeah.net.rar
- Lots of stuff - such as:
- bezier.zip
- circle.zip
- clock.zip
- clover.zip
- digital-clock.zip
- directdraw.zip
- directflip.zip
- grays.zip
- kaleido2.zip
- linedemo.zip
- lover.zip
- mirrors.zip
- opengl-cube.zip
- opengl-fullscreen.zip
- opengl-texture.zip
- opengl-torus.zip
- opengl_nasm.zip
- orthog-circle.zip
- randrect.zipr
- banding.zip
- scramble.zip
- shapewindow.zip
- sinewave.zip
- sprite.zip