hello,
I try to map a typo onto a sphere. in the setup I write the text into a fbo.
bounds = font.getStringBoundingBox("some text!", 0, 0);
fbo1.allocate(bounds.width, bounds.height);
fbo1.begin();
ofSetColor(255);
font.drawString("some text!", 0, bounds.height);
fbo1.end();
sphere.mapTexCoordsFromTexture(fbo1.getTexture());
in the update cycle I bind the texture to the sphere
fbo1.getTexture().bind();
sphere.draw();
the texture is completly mapped over the sphere. I want it only show over a small area, how can position the texture?