Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

texture()

Examples
example pic
Feischtergroessi(100, 100, P3D);
kei_Liniefarb();
Bild a = lad_s_Bild("arch.jpg");
afang_fo_de_Form();
texture(a);
setz_Eggae(10, 20, 0, 0);
setz_Eggae(80, 5, 100, 0);
setz_Eggae(95, 90, 100, 100);
setz_Eggae(40, 95, 0, 100);
aendi_fo_de_Form();
Description Sets a texture to be applied to vertex points. The texture() function must be called between afang_fo_de_Form() and aendi_fo_de_Form() and before any calls to setz_Eggae().

When textures are in use, the fill Farb is ignored. Instead, use Ifaerbig() to specify the Farb of the texture as it is applied to the shape.
Syntax
texture(img);
Parameters
img Bild: the texture to apply
Usage Application & Web
Related textureMode()
afang_fo_de_Form()
aendi_fo_de_Form()
setz_Eggae()
Stefan Baltensperger 2009

Creative Commons License