T O P I C R E V I E W |
BionicWave |
Posted - Aug 22 2011 : 05:02:46 I have an OpenGL window which i feed with BMP-files. The original files are PNG´s. I load them with imageen and just save them with IO.SaveToFileBMP(filename).
My OpenGL application will load the files, but the format is somehow screwed up. The textures wont work.
If i load the PNG´s with imageen and copy them over to a TBitmap to save them my OpenGL app works as expected.
Did i miss a step. Actualy all i have to do is convert a PNG to a BMP.
|
1 L A T E S T R E P L I E S (Newest First) |
fab |
Posted - Aug 22 2011 : 05:06:26 Please show me how the BMP is displayed. Also, maybe that OpenGL requires a particular BMP format, for example BGRA, instead of BGR? |
|
|