top | item 27756834

Grafica Obscura – Collected Computer Graphics Hacks (1977-1996)

160 points| Retr0id | 4 years ago |graficaobscura.com | reply

19 comments

order
[+] shagie|4 years ago|reply
The "synthetic lighting" was the one that made me go o_O back in the day - http://graficaobscura.com/synth/index.html

The idea of modifying a digital image so that there is a negative shadow was rather mind-blowing to me at the time.

There's also the photographic stitching software c. 1994 which was cutting edge for its day.

Another related piece of it - http://www.employees.org/~drich/SGI/SiliconSurf/grafica/inde... which has a "future" (which I don't think ever came to be).

Another piece can be found at http://sgifiles.irixnet.org/sgi/graphics/grafica/

[+] coopsmoss|4 years ago|reply
That is awesome. So obvious when you think about it, I wonder what practical applications it has. Do photographers know about this?
[+] shahar2k|4 years ago|reply
the synthetic lighting method was actually used in some of the Half life 2 episodes in a kind of Normal maps ++ method (basically normal maps with built in internal shadowing) I wonder if valve still uses it, as they mentioned actually creating the source texture was fairly expensive and involved final gather type rendering a 3d scene with 3 colored lights :) (as opposed to just measuring normal vectors per pixel)

edit: https://cdn.cloudflare.steamstatic.com/apps/valve/2007/SIGGR...

edit edit: https://youtu.be/1ry67uHZSS0 another fascinating use of a very similar technique

[+] Retr0id|4 years ago|reply
I stumbled across this site via [1], and went on to read [2]. I was about to submit one of those to HN, when I realized the entire site was full of gems.

[1] http://graficaobscura.com/matrix/index.html

[2] http://graficaobscura.com/interp/index.html

[+] hollasch|4 years ago|reply
Yeah, blast from the past. Early days of the web. The image interpolation/extrapolation blew me away, particularly extrapolating away from a blurred image as a way to sharpen.
[+] IncRnd|4 years ago|reply
Thank you for posting this.
[+] rob74|4 years ago|reply
Honestly, when I read "Computer Graphics Hacks", I was expecting something different (like, for example, various obscure graphics programming techniques for games/demos/whatever). But this is cool too...

Side note on http://graficaobscura.com/ccode/index.html - interesting to see that SGI was still using "K&R style" parameters for C functions in 1994, when ANSI C had already been around for 5 years. Must have had something to do with the 80 character line lenght...

[+] rogerallen|4 years ago|reply
For those who are not quite getting what this site was about. It was Paul's personal, creative outlet for various ideas that were not quite serious enough for a SIGGRAPH paper. As far as I can see, it hasn't changed from the 90s when it was first published. Quite the time capsule to a day before Google when the web was new, 3D graphics was mainly in workstations and digital cameras were rare items. Not to mention, back when very few used the web as a personal, creative outlet.

For more examples of Paul's more serious graphics work, see https://scholar.google.com/citations?hl=en&user=236LzcwAAAAJ

[+] ticklemyelmo|4 years ago|reply
I think Grafica Obscura is my single longest-lived bookmark. I've had it in my list since he was actively maintaining it, so at least 25 years.
[+] grishka|4 years ago|reply
SORRY! This page can only be used with a browser that supports JAVA! Get the new version of Netscape 2.0 when you can.

LOL

[+] ggambetta|4 years ago|reply
Wow, this is incredible! Like catnip to a CG fan :)
[+] huachimingo|4 years ago|reply
See also the book series "Graphic Gems". Lots of great tricks, one of them was used in DOOM.
[+] justshowpost|4 years ago|reply
> If you have a JAVA enabled browser

That's too retro even for me.

[+] failwhaleshark|4 years ago|reply
I remember when a ray-traced scene 320x240 took 30 minutes to draw with only a few shapes and light sources.

Seems very light (no pun intended) on content.

Computer graphics is all about hacks to save expensive operations.

Topics I would expect:

- Triangularization: Converting solid shapes to triangle meshes.

- Triangle rendering: Triangles + transforms -> screen-parallel irregular trapezoids -> scanline drawing.

- Painter's algorithm vs. W- vs. Z-buffering.

- Clipping.

- Scene representation.

- Quaternions.

- Bump mapping.

- Texture mapping.

- Mipmapping.

- Shading - massive topic. http://aicdg.com/oldblog/cg/2018/02/04/common-shading-algori...

Also: FreeVGA - http://web.stanford.edu/class/cs140/projects/pintos/specs/fr...