Is it possible to change the color of set texture?

edited June 2014 in Using Processing

I'm fairly new to processing so I want to ask if it is possible to change the color of textured image in Shapes3D? I have created a sketch consisting of an ellipsoid where I have added a picture to it.

Part of my example so far:

sph = new Ellipsoid(this,0,0);

sph.setRadius(50,50,50); sph.drawMode(Shape3D.SOLID); sph.setTexture("picture.jpg"); sph.drawMode(Shape3D.TEXTURE);

What I want to know, and have been trying to figure out, is whether I can actually color, or shade over the picture? I thought using fill might work, but the ellipsoid did not alter. Is it possible to change the color (or tint over) the set picture? And if so, how?

Tagged:

Answers

Sign In or Register to comment.