Red rectangle II

Small update about my work on 2d drawing in Copperlicht: I haven't had much development time for this since the last post, but the red rectangle now looks like a rectangle at least:

My development version of CopperLicht now is able to draw 2d rectangles, images, and even text. The text part is a bit tricky to implement in WebGL (ok, let's be honest, this is also the case in OpenGL and Direct3D; drawing 2D text in 3D is not easy anywhere): Internally, a 2d canvas is created, converted to a texture and updated when necessary. Performance-wise this is incredible fast.

The main reason for implementing these features is of course to enable all the 2D overlay and behavior functionality which is offered by CopperCube, now in the WebGL version as well. Designing (game) menus, buttons and HUDs finally also will work in the WebGL target in the next version.

two comments, already:

despite the shape being more rectangular now I think there is something wrong with color ;-)
xaos - 19 08 10 - 10:43

but it’s a ‘better’ red now!
niko - 19 08 10 - 11:44

Displayed name:  
Remember personal info?
Website (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile


Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.