Archive for March, 2010

16
Mar
10

Garish Psychedelic Colours

Garish psychedelic colours from 1D lookup table. Part of an update to a commercial project I worked on a while back.

This is actually a different method for applying colour curves to the image than the one I used originally. Waiting for reports on which method is faster.

15
Mar
10

Core Image Language Reference

Just (re)discovered this Core Image Language Reference doc on Apple’s Developer site.
Might prove useful to someone out there.

Also
This entry on Core Image in WikiPedia might be of interest.

11
Mar
10

Kineme Anaglyph Render Plugin

The good people at Kineme released the latest version of their excellent GL Tools plugin set yesterday.

One of the most exciting additions for me was the new Stereo Environment patch, that acts a bit like a Render In Image patch, but outputs two images instead of one. Any geometry placed inside is rendered twice from slightly different point-of-view, and Left and Right images are produced. These two images can then be composited together to create 3D Anaglyphs that jump out of the screen when viewed with coloured glasses.

Anaglyphs have always fascinated me, so I was excited about giving it a go. After some initial disappointment, a very quick update to the plugin (thanks again smokris), and some head-scratching, I managed to get it to work. The effect isn’t perfect, but it definitely gives a sense of depth to the images with the glasses on. This version needs the Red/Cyan style 3D specs (there’s another system that uses Red/Green).

09
Mar
10

Apply Core Image Kernel To Area Of Image

I always knew this was possible. Never got an answer from anyone ‘in the know’ on how to do it though, so eventually worked it out on my own.

/*
	Apply effect to area of image.
	
	toneburst 2010
*/

function __image main(__image image) {
	
	// Define rect (x-pos, y-pos, width, height)
	var rect = new Vec(100,100,100,200);
	
	// Apply effect to area of image defined by rect
	var inverted = fx.apply(rect, null, image);
	
	// Composite processed area on top of original image and return result
	return Filter.CISourceOverCompositing(inverted, image);
}

This snipped of JavaScript in a Core Image Filter (with ‘Edit filter function’ turned on) will apply the kernel function ‘fx’ in the top panel to the area of the image defined by the variable ‘rect’. Then I return the result of compositing the processed area on top of the original image.

I have a use for this, actually. Not sure anyone else out there will, mind you…

UPDATE:
Added demo QTZ to the Box.net widget
‘tb_CIFilter_wipe_demo.qtz’

02
Mar
10

3D Lissajous Curves

JavaScript Array > Kineme GL Line Structure.




Twitter

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

March 2010
M T W T F S S
« Feb   Nov »
1234567
891011121314
15161718192021
22232425262728
293031  

Links

Blog Stats

  • 465,901 hits