i have a textured cube with different images on each of the faces.I would now like to change the color of pixels upon mouse click.Can anyone tell me how to identify which image has been clicked on?
i have a set of microscopy images at varying z sections in jpeg format.I would now like to put these together and render them in 3d...sort of volume rendering. Is this somehow possible using the opengl rendering mode?
In the followng piece of code..the line() function works fine with the parameters x1,y1,x2,y2 but ellipse doesnt.There is no error but the ellipse is not drawn.Any help would be greatly appreciated...Thanks :)
one of my javascript functions returns a hexadecimal color code as a string.I would like to use this as the argument to the stroke() function in processing.However stroke doesnt accept string input and (integer) type casting does not give the hexadecimal notation.Any thought on how this could be done???
Having obtained the required folder using the selectFolder() method...is it possible to get a list of the files within the folder and save them in an array or list?
I am currently using the resize() function to produce a zoom in and zoom out effect.However the resize() function actually resamples the image and thus when I make the image smaller and then bring it back to its original size,clarity is significntly reduced. Is there some way of resizing the image without losing pixels?