Category: Experiments
Optimizing GLES2.0 Shaders : The case of scale2x on PowerVR SGX 530
From >200ms down to a usable 30ms. OpenPandora forum user sebt3 started testing out scaling filter shaders on the SGX530 for use the OpenPandora console, the first working version ended up way too slow to be of any use. Another forum user, FSO, improved the speed a bit (160ms to 180ms per frame). I asked…
Read More “Optimizing GLES2.0 Shaders : The case of scale2x on PowerVR SGX 530” »
Raytracing in < 2KiB
A first prototype for the “4K Executable Graphics” competitions. The executable is 1616 bytes using UPX (2178 bytes uncompressed) including VESA RGB/BGR 24/32bit detection, automatic resolution selection and VGA fallback. (64bit windows users will need to use dosbox to run the executable) It’s a lot of fun to optimize for size rather than speed, making…
Computer Vision Experiment: Barcode Scanner
Some more experimenting with a cheap low quality webcam for extra challenge (Moar with less!). This time its a barcode scanner with no controlled light source. I wanted to scan barcodes with just the ambient lighting so I had to design an image filter that would amplify the picture’s contrast and reconstruct the dark and…
Computer Vision Experiment: 3D scanning on the cheap.
While working on my 3D editor back in 2010, I wrote a custom routine to automatically create a spherical mesh out of any set of arbitrary points in 3D space and got tired of testing it with semi-random points in space. So, a quick trip to the local Canadian Tire (a weird of mix of…
Read More “Computer Vision Experiment: 3D scanning on the cheap.” »