MathewWi / emu-1964

Automatically exported from code.google.com/p/emu-1964
0 stars 0 forks source link

Replace BMG with a better alternative #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Replace BMG with a better alternative like SOIL

Original issue reported on code.google.com by death2dr...@gmail.com on 11 Apr 2010 at 7:45

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Okay, AFAIK SOIL also allows for Direct3D texture loading. Which is needed for 
handling 
textures in D3D. Unless you like the idea of using D3DX9 to load textures.

Original comment by mudl...@tpg.com.au on 18 Apr 2010 at 3:39

GoogleCodeExporter commented 9 years ago
I'll have a look now :)

Original comment by death2dr...@gmail.com on 18 Apr 2010 at 6:51

GoogleCodeExporter commented 9 years ago
Some work on using SOIL, makes some things really dodgy.
You need to build SOIL first.

Original comment by death2dr...@gmail.com on 18 Apr 2010 at 8:18

Attachments:

GoogleCodeExporter commented 9 years ago
No kidding about the dodginess, you can't just copy the data. You need to 
format it 
right, too. Plus you should initialize the BMGLib struct's contents properly 
before 
using them, no wonder there's crashes.

Original comment by mudl...@tpg.com.au on 18 Apr 2010 at 8:39

GoogleCodeExporter commented 9 years ago
I removed BMGLib from that part.
I'm quite shit at programming these days.

Original comment by death2dr...@gmail.com on 18 Apr 2010 at 9:23

GoogleCodeExporter commented 9 years ago
The two files that contain code from BMGLib are
TextureFilters.cpp and Render.cpp

TextureFilters.cpp contain the image loading Render.Cpp contains code for 
writing pngs.

Original comment by death2dr...@gmail.com on 19 Apr 2010 at 8:21

GoogleCodeExporter commented 9 years ago

Original comment by death2dr...@gmail.com on 21 Apr 2010 at 6:56