Using the source code already available and provided to everyone in a package named raspberrypi-vc-demo-source
and running yum groupinstall "Development Tools" "Development Libraries"
, I was able to take a Raspberry Pi GIF animation, split it up into frames (bmp) via http://www.xoyosoft.com/gs/, convert them into to raw file formats (rgb), and place them as an array of textures on a cube face via OpenGL in C located under /usr/share/raspberypi-vc-demo-source/hello-pi
.
Running On A F17 Rasp Pi
Automated bmp-to-rgba Converter (Py)
import sys f=open(sys.argv[1],"r") g=open(sys.argv[2],"w") h=f.read(54) l=0 m=0 while(1): d=f.read(3) a=chr(255) l+=len(d) if (not d): break rgb=(hex(ord(d[0]))+hex(ord(d[1]))+hex(ord(d[2]))) if (rgb == "0x250x210xd"): e=(chr(0)+chr(0)+chr(0)) a=chr(0) e=(d[2]+d[1]+d[0]) sys.stderr.write(rgb+"\n") o=(e+a) m+=len(o) g.write(o) g.close() f.close() print(l,":",m)
That while(1) should be while True:
Hey Jon! Can you please tell me the location of the splash screen image in pidora ? One that you displayed in your video (rotating raspberry) ! !