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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-21-2010, 05:36 AM   #26 (permalink)
Registered Member
 
Join Date: Mar 2009
Location: LONDON
Posts: 22
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
Old 06-21-2010, 09:37 AM   #27 (permalink)
JP
 
Join Date: Dec 2009
Location: India,Bangalore
Posts: 109
Thumbs up Image Warphing in iPhone

Hi Josh,

i tried based on ur way.But i didn't get any positive response.Still i am facing a problem for that.Is there possible to provide ur sample code here?..


Hopefully positive response from you,
Thanks in Advance,
jayaprakash S

Last edited by jpsubbarayalu; 06-30-2010 at 10:01 AM.
jpsubbarayalu is offline   Reply With Quote
Reply

Bookmarks

Tags
coregraphics, image effects, quartz2d

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 347
20 members and 327 guests
ADY, Alsahir, Dani77, e2applets, JasonR, keeshux, linkmx, mer10, Monstertaco, piesia, prchn4christ, Promo Dispenser, Robiwan, sebasx, sly24, Touchmint, twerner, zulfishah
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,760
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0