Synthetic Non Vectorial Texture

Description

This test shows the usage of the PixelTexture node.
The PixelTexture allows to define a non-vectorial synthetic texture. The texture is defined by giving its size, the color depth in byte, and the color components (ARGB) for each pixel in the texture
In this scene, 4 circles are filled with a 4x4-pixels texture whose color depth are respectively 1 byte, 2 bytes, 3 and 4 bytes.
1 byte corresponds to 8-bits grey scale
2 bytes corresponds to 8-bits grey scale + 8-bits transparency
3 bytes corresponds to 24-bits RGB
4 bytes corresponds to 32-bits ARGB
The background color of the scene is animated to see the effect on the texture.

GPAC Regression Tests
(C) 2002-2006 GPAC Team

Download