DGL
https://delphigl.com/forum/

Two image in one image texture
https://delphigl.com/forum/viewtopic.php?f=19&t=9569
Seite 1 von 1

Autor:  azrael11 [ Mo Nov 01, 2010 17:24 ]
Betreff des Beitrags:  Two image in one image texture

I have two pictures
one standard 512x512 for a cube texture filled in black nothing else
the other is 456x340
How can i merge this and make it one and get this ...
I want to get a 512x512 image with the 456x340 image in the middle of the 512X512 so i can load in memory with bindtexture and use it in my cube

Autor:  Stucuk [ Di Nov 02, 2010 09:01 ]
Betreff des Beitrags:  Re: Two image in one image texture

FreeImage is a good image Library which would allow you to do what you want. The FreeBitmap class can give you the raw pixels so you can import/export from/to OpenGL.

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/