We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › immage warping
Page Index Toggle Pages: 1
immage warping? (Read 1203 times)
immage warping?
Nov 8th, 2009, 5:50am
 
hey, im realy realy newto programing , but am trying to make a program that, uploads from a data folder or a web cam, a picture of a face, and the user can then use the mouse to click and drag and warp the immage and then save it. can someone please help me it would be greatly appreciated.
Re: immage warping?
Reply #1 - Nov 8th, 2009, 6:01am
 
See selectInput() to chose the file, loadImage() to get the image, save() or saveFrame() to save the image.
Re: immage warping?
Reply #2 - Nov 8th, 2009, 6:01am
 
isnt it about warping the image? but sure, these steps are necessary if you want to load and save them again

A good way for warping would be to create a mesh where you can drag arround different points and just apply a texture to this mesh so the image gets distorted the way you want...
Ive seen an example using traer physcis an using Dali melting clocks painting as source image, but couldnt find it.
Re: immage warping?
Reply #3 - Nov 8th, 2009, 1:44pm
 
thank you for the start, how do i do this mesh???
Re: immage warping?
Reply #4 - Nov 8th, 2009, 2:02pm
 
just curious did you ever try to use the search

i found these 2 great post about "image warping"

http://processing.org/discourse/yabb2/num_1138567834.html
http://processing.org/discourse/yabb2/?num=1212032774
Page Index Toggle Pages: 1