web3dit3 #H 7 byte magic header, means web3d compatible image in text form, 1byte for Geometry sniffing 3 #G {C,P,3,2}: image geometry: C: cubemap RHS y-up z/depth/layer/order [+-x,+-y,+-z], top of top +z, bottom of bottom -z P: 360 panorama [L->R, 360/z ], 3: texture3D or Volume [z=depth], 2: texture2D 1 #F {1} file version #O optional description x #T {x,i,f} how to read space-delimited value: x as hex, i as int, f as float 0 255 #R range of channel, most useful for normalizing floats 4 #N channels/components per value ie RGBA as int: 4, RGBA as 4 ints: 1 1 #M values per pixel ie RGBA as int: 1, RGBA as 4 ints: 4 RGBA #C[N*M] component names and order, choose from: {R,G,B,A,L} ie RGBA, LA, L, RGB 3 #D number of dimensions, 2 for normal 2D image, 3 for 3D image 2 2 2 #P[D] size in pixels in each dimension: x,y,z (use 1 for z if 2D) D #Y {U,D} image y-Down or texture y-Up row order #I image values follow with x in inner loop, y-down image direction, z in outer: 0x4300d30F 0x00d3a3FF 0xa1d372F0 0xc41bd3aa 0xfff60088 0xd3000055 0x01010101 0xffffff88