Skip to main content
gamedev.net
🔒 Locked

image manipulation algorithm

Started by toxy Oct 8, 2004 at 2:21 PM 1 replies 500+ views
Original Post
toxy
toxy
I'm developing an application which will warp images with "goo" like effects (or liquify in Photoshop). Does anyone know where I can find resources to achieve these effects? Thanx, toxie
Ryan Clark
Ryan Clark
What game development library are you using? DirectX?

Most libraries include some method for manipulating image data on a per-pixel basis. You can use pixel-based techniques to achieve your goal, but it won't be very fast if you're doing it to a large surface.

You may need to look into using assembly language, if you need blinding-fast pixel-based effects.

Or, alternatively, you could simply use Photoshop (as you mentioned) to create bitmaps of the effect you're after, and simply display those bitmaps with your game dev library! This method will be fast, but use more memory.

Hope that helps!


Ryan
Cornutopia
Cornutopia
Sorry no resources, but the way I would do it is to set up a generic program to test algorithms on an image and then experiment yourself. You might come up with something totally new that way.

Mark
Ever wanted to command a starship?
http://www.lostinflatspace.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.