I've been asked to generate a DAE file where the textures are all included in the file itself rather than read from an external image file such as JPG or BMP.
If I use
Code :<image format="BMP"> <init_from>myfile.bmp</init_from> </image>
then I have no problem loading the image.
But I'm trying to use
Code :<image format="R8G8B8A8" width="3" height="1"> <data> ... data here ... </data> </image>
With the width and height given as above (3 and 1), I assume I should have 3 32-bit numbers in my <data> field. However, everything I've tried so far has not worked.
Could somebody give me an example of an inlined image in R8G8B8A8 format with, say, 3 colors, red, green, and blue?