Sunday, August 18, 2019

Textures in MKI3D

Textures are being introduced into MKI3D. It is still work in progress. However, the first examples can be observed in MKI3D-Data repository


 Textured MKI3D stage

The textures are not in a binary form. Instead, they are defined with float type GLSL expressions defining the R, G, B, A functions. Each function has the arguments x and y and defines the value of the corresponding color component of the (x,y) point of the [-1.0, 1.0]x[-1.0, 1.0] square.
There is a web application TEXTURION  being developed, for preparing the definitions and previewing the textures.  

No comments:

Post a Comment