kuna / SimpleBmxPlayer

just plays bmx files using `*.lr2skin`. no IR, no playrecord.
7 stars 0 forks source link

Change Engine to SDL -> GLEW #7

Closed kuna closed 8 years ago

kuna commented 8 years ago

I found SDL only works with 2D rendering. that gives very hard limitation on rendering flexible skin structure. maybe I need to fork another project.

kuna commented 8 years ago

Removed SDL_ttf, SDL_FontCache, SDL_Image library they are nice, but not solid to use for Bms player, as multimedia data in bms are very much various. So I decided to use freetype / SOIL instead(and maybe I need to change SDL_mixer, it doesn't support quite much wav formats). also, currently rendering with glew library. It supports more blending or graphic options, and SDL has too much limitation in 3D rendering (like x/y axis rotation).

With these changes of using library, I refactored class Image/Texture and Font. I want this project to be completed in minimalized, but solid form, So everything related rendering engine is packed in IDisplay implementation currently. and Image object changed into Surface / SurfaceMovie, which does role of SDL_Surface.

but still not compilable ... I need to refactorize theme object(currently SkinRenderObject / SkinRenderTree) and handler object. Just need more time :/

kuna commented 8 years ago

Changing/Refactoring engine is a part of skin structure refactoring issue, So integrate this issue with https://github.com/kuna/SimpleBmxPlayer/issues/4.