One of the recent messages on the forums make me think that most of the features of the APOCALYX engine are not so evident. For example, which are the ways that a programmer can use to write on a texture? Some of them are shown in the second movie of the engine and also in DemoPack1: they are called "Avi to Texture", "Render to Texture", "Graphics to Texture". In the screenshot you can see different kind of textures applied to the same flag.
In the first case you can show an Avi movie on a texture, in the second you can render a whole 3D scene on a texture and in the third you can draw 2D graphics on a texture.
Let's consider the latter: the programmer cad draw on a texture thanks to the LuaGD library included in the engine. LuaGD is simply a Lua binding to a graphic library known as GD. From its documentation: "GD allows your code to quickly draw complete images with lines, polygons, arcs, text, multiple colors, cut and paste from other images, flood fills, read in or write out images in the PNG, JPEG or GIF format. GD does not provide for every possible desirable graphics operation. It is not necessary or desirable for GD to become a kitchen-sink graphics package, but it does include most frequently requested features, including both truecolor and palette images, resampling (smooth resizing of truecolor images) and so forth."
APOCALYX contains other hidden treasures made available for free like this one, so dig deeper into it to find them and... let's draw on our textures!
Let's consider the latter: the programmer cad draw on a texture thanks to the LuaGD library included in the engine. LuaGD is simply a Lua binding to a graphic library known as GD. From its documentation: "GD allows your code to quickly draw complete images with lines, polygons, arcs, text, multiple colors, cut and paste from other images, flood fills, read in or write out images in the PNG, JPEG or GIF format. GD does not provide for every possible desirable graphics operation. It is not necessary or desirable for GD to become a kitchen-sink graphics package, but it does include most frequently requested features, including both truecolor and palette images, resampling (smooth resizing of truecolor images) and so forth."
APOCALYX contains other hidden treasures made available for free like this one, so dig deeper into it to find them and... let's draw on our textures!
No comments:
Post a Comment