Hello,
I would like to zoom only a part of a texture.
So the idea would be :
1°) draw the whole texture
2°) center the view where I want zoom
3°) set clipping to the part of the texture I want to zoom (DON’T KNOW HOW)
4°) scale
5°) draw the texture a second time -> will only zoom the part I want
The best solution I think would be to do a clipping similar than the one done with SDL_setRectClip(surface, rect). Is it possible with opengl ?
I was thinking to do it with huge cubes but maybe there is another way ?