Page 1 of 1

Zoom in jpg-image

Posted: Tue Jan 31, 2017 1:40 pm
by dm_red
Hello, i load the jpg-image to CC, can i zoom in image in ccGLWindow?

Re: Zoom in jpg-image

Posted: Tue Jan 31, 2017 6:29 pm
by daniel
Nope because it's not a 3D object (it's overlayed and stretched over the 3D window).

However there's a trick to load an image as a texture plane (i.e. as a 3D objet):
http://www.danielgm.net/cc/forum/viewto ... 1641#p1641

Re: Zoom in jpg-image

Posted: Tue Jan 31, 2017 7:24 pm
by dm_red
daniel wrote:Nope because it's not a 3D object (it's overlayed and stretched over the 3D window).

However there's a trick to load an image as a texture plane (i.e. as a 3D objet):
http://www.danielgm.net/cc/forum/viewto ... 1641#p1641
Daniel, thank you for your help.