Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Splatter effect
View Single Post
Old 06-21-2010, 04:36 AM   #26 (permalink)
josh
Registered Member
 
Join Date: Mar 2009
Location: LONDON
Posts: 22
josh is on a distinguished road
Default

Sorry - I did actually start putting together an example over the weekend but had to park it because of a deadline looming.

Not sure what you're trying to do but I did (and what the example will show) was created a mesh divided into n squares. Then I created a UV mapping that fitted onto the divided mesh.

The vertices were left exposed so when the user touched the screen I grabbed the closest vertex and allowed the user to drag it around (which automatically stretched the picture). Because I was trying to mimic stretching I had the vertex slowly restore itself to its original position.

Hope this helps get you started.
josh is offline   Reply With Quote
 

» Advertisements
» Online Users: 407
17 members and 390 guests
Absentia, apatsufas, Apptronics RBC, brainspoon, Creativ, Domele, eski, iMax 3060, jbro, JoeRCruso, JohnnyFlash, linkmx, matador1978, mistergreen2011, Newbie123, RickSDK
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,551
Threads: 94,078
Posts: 402,726
Top Poster: BrianSlick (7,990)
Welcome to our newest member, hongto24
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:25 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.