Hi,
Anyone know how to change the size of the picture, so that it would fit nicely into a Window. Thanks.
From
Swift
Hi,
Anyone know how to change the size of the picture, so that it would fit nicely into a Window. Thanks.
From
Swift
The easy way would be to load the picture as a texture and put it on a quad.
Then scale the quad to match the window size.
Originally posted by Swift:
[b]Hi,
Anyone know how to change the size of the picture, so that it would fit nicely into a Window. Thanks.
From
Swift[/b]
As nexus says let opengl do the rescaling
Thanks for your reply and advice …
What if I have draw a something shape and would like to fit the drawing nice into a window?
Hi !
Are you talking about a 3D or a 2D shape, 2D is easy, 3D is a little more tricky to fit in the window, but it can be done.
Mikael
Hi,
I am still dealing with 2D drawing. So anyone know how to Fit a drawing into the centre of window? Thanks.