News for hackers. Stuff that matters.
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by shagie on Tuesday July 06, 2021 @11:44PM (#27757118)
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/

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by coopsmoss on Wednesday July 07, 2021 @01:09AM (#27757608)
That is awesome. So obvious when you think about it, I wonder what practical applications it has. Do photographers know about this?
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by coreyisthename on Wednesday July 07, 2021 @03:11AM (#27758260)
I'm a full-time photographer. I know about it now and am already planning to start playing around with it.
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by jiggawatts on Wednesday July 07, 2021 @05:12AM (#27759035)
Something that makes me sad is how DSLR manufacturers insisted on making "digital film" instead of taking the next step and creating a truly revolutionary computational imaging tool.

For example, you could set up the camera in a studio to rapidly cycle through a set of flash guns, and then import the stack into Lightroom (or whatever) for this kind of additive light editing. This could then be programmed back into the flashes to create the final lighting composition.

This kind of process is regularly used in the film industry, where the same scene will be recorded with different lights turned on. Even camera motion is possible with robotic controllers. As a random example, I believe the new Blade Runner movie had the city flyover shots made this way.

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by shagie on Wednesday July 07, 2021 @01:15PM (#27763466)
A long time back... I thought about trying to capture motion in colors. Its not particularly novel and my first attempt with color print film (using a triple exposure and red, green, and blue filters) really confused the lab because the rest of the roll looked right, but this one print looked trippy.

My "ok, I could do this with black and white" had me thinking about Agfa Scala slide film (a black and white film) and then using red, green, and blue filter packs and print to color slide paper (cibachrome). I never found the lab that would entertain the idea (and the paper was $$) before I wasn't able to get that print done.

I did play with it in digital though...

* Burney Falls - https://shagie.smugmug.com/Nature/Tricolor-time-lapse/i-kNPx...

* Wave at Ruby Beach - https://www.deviantart.com/shagie/art/Wave-sequence-tricolor...

(late addition)

* First attempt - https://www.deviantart.com/shagie/art/RGB-Experiment-Running...

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by jiggawatts on Thursday July 08, 2021 @12:53AM (#27768590)
Reminds me of these over 100-year-old colour photographs from Russia: https://twistedsifter.com/2015/04/rare-color-photos-of-the-r...

The photographer Sergey Mikhaylovich Prokudin-Gorsky used a similar process, with separate red, green, and blue exposures with colour filters.

In some of his photos you can see the same rainbow effect on moving objects like water or clouds...

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by shahar2k on Wednesday July 07, 2021 @08:47PM (#27767388)
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

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by Retr0id on Tuesday July 06, 2021 @10:52PM (#27756851)
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

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by hollasch on Wednesday July 07, 2021 @12:45AM (#27757475)
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.
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by IncRnd on Tuesday July 06, 2021 @11:56PM (#27757178)
Thank you for posting this.
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by rob74 on Wednesday July 07, 2021 @04:45AM (#27758829)
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...

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by gfaure on Wednesday July 07, 2021 @02:10AM (#27757936)
There's a beautiful vector typeface produced from a calligrapher's hand in the SGI collection called Inja Ink: http://graficaobscura.com/sgitype/page014.html

The calligrapher who drew the letterforms is still operating in Palo Alto to the present day. https://www.instagram.com/inja_ink/?hl=en

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by rogerallen on Wednesday July 07, 2021 @10:10AM (#27761314)
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

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by ticklemyelmo on Wednesday July 07, 2021 @11:06AM (#27761967)
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.
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by grishka on Wednesday July 07, 2021 @08:58AM (#27760584)
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

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by ggambetta on Wednesday July 07, 2021 @02:55AM (#27758163)
Wow, this is incredible! Like catnip to a CG fan :)
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by huachimingo on Wednesday July 07, 2021 @09:08AM (#27760682)
See also the book series "Graphic Gems". Lots of great tricks, one of them was used in DOOM.
Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by justshowpost on Wednesday July 07, 2021 @06:42PM (#27766599)
> If you have a JAVA enabled browser

That's too retro even for me.

Re:Grafica Obscura – Collected Computer Graphics Hacks (1977... by failwhaleshark on Wednesday July 07, 2021 @06:59AM (#27759611)
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...