Texturas
PixelTexture
49
El nodo de textura
PixelTexture
crea una imagen en el archivo VRML
La imagen se codifica en hexadecimal, hasta 10 bytes por pixel
Es muy ineficiente y sólo se usa para pequeñas texturas
image
especifica los datos y pixels de la imagen
Shape {
appearance Appearance {
texture PixelTexture {
image 3 1 3
0xFF0000
0x00FF00
0x0000FF
}
}
geometry Cylinder {
height 2.7
}
}