expression two dimensional bool array
Hello, I'm realy newbie at openGL.
So sorry if it is so easy to you, and for my poor english
I wrote Game of Life in C and Cuda, now i want to represent some array in openGL.
Can someone show me example how to do it?
For example square bool array example;
And i want draw white square 5px x 5px when it is true in cell and black square or nothing where it is false in cell
Is it possible that this drawing will be changing when values in array change?
Please i realy need your help
it should looks like: cmuems.com/2012/c/files/2012/10/ConwaysGameOfLife_states.png <- like first array on left
Last edited by matimod; 06-03-2013 at 03:01 PM.