Hi
I am quite new to cinder
I was trying to develop a code which can divide one image in different sections and the next image will appear with the effect of joining those sections of image.
I have tried drawing with following code
for (int i = 0; i<10; i++)
{
for (int j = 0; j<10; j++)
{
if (mImages[activeTex])
{
gl::draw(mImages[activeTex], Area(128 * i, 102.4 * j, 128 * (i + 1), 102.4 * (j + 1)));
}
}
}
resolution : 1280*1024
this code is drawing same image in 10 sections of the screen
I am not able to divide the image
Have tried using surface but couldnt
Please suggest me the way
Thanks :)