max2d.mod - new render for bmx
BlitzMax Forums/BlitzMax Programming/max2d.mod - new render for bmx
| ||
Greetings! Max2d.mod - New interface for rendering. The basic module an advantage before the official: more possibilities in a simple interface. The basic idea: TImage - now it is not certain textures container. This is a complete atlas of single image, allowing upload any image configuration generation time packers textures. I have a helper class TImageLoader To download the atlas. An example of its use, see hgeFontLoader.mod module. * Monkey-like matrix. * Render to image (WIP) * OpenGL (WIP) * DirectX9 (Coming soon) * Image picking * Extended DrawPoly () with image * REPEATEIMAGE flag for texture scrolling * New Overlay blend * (WIP) Drawing text using formatting tags * ToDo: introduce *md3 file format for 2/5D graphics. Archived 15 examples * Work in progress link: https://yadi.sk/d/Dul0HH8i36xQXa |
| ||
woah interesting. trying it out now. btw, have you checked out Brucey's Mojo2 for blitzmax? Will this work on NG? I guess I have to find out.. |
| ||
..and maybe you can remove the exes. thanks |
| ||
all sound like good additions, shall bookmark and give them a whirl when I need decide on a new project, Matrix commands would be real useful. |
| ||
RustyKristi Mojo2 seemed to me not very convenient. And besides, I set the goal to create a classic renderer. About NG ... yet I did not try. Good. The next update will only upload the source code. |
| ||
Got it, which is a good idea. I'm still learning how Mojo2 works which has Monkey style code. Yes would be nice to have NG, but I guess you won't have to bother extending it fully on cross-platform. SDL2.mod was specifically for that not to mention creating an OpenGLES driver for your max2d version. btw Mojo2 for NG is already OpenGLES ready. :-) |
| ||
Getting some errors already rebuilding.. Building Modules Compiling:directx9.bmx Compile Error: Module does not match commandline module [C:/BlitzMax2/mod/max2.mod/directx9.mod/directx9.bmx;4;23] Build Error: failed to compile C:/BlitzMax2/mod/max2.mod/directx9.mod/directx9.bmx Process complete In directx9.bmx.. Import engine.directx9 Looks like a missing mod.. |