Table of Contents Chapter Index Previous Slide Next Slide 133

Mapping Textures


The PixelTexture Format

  • The PixelTexture node contains data stored as width, height, number of channels, followed by width*height hex values representing the image
  • Example: A 2x4 RGB image
  • PixelTexture {
        image 2 4 3 0xFF0000 0x00FF00
              0 0 0 0 0xFFFFFF 0xFFFF00
    }