Texturion is a tool for defining textures used in MKI3D. Colors of the texels are defined by RGB functions of XY coordinates. The functions are in the form of GLSL expressions that are included in temporary shaders used to draw the actual textures.
Texturion-data contains JSON definitions for some example textures presented on HTML index pages with the links opening them in Texturion.
You can experiment with changing the expressions of RGB functions in the RED, GREEN, and BLUE textfields on the page.
The ALPHA should be left 1.0.
There is also a textfield with with a JSON string representing the applied RGBA definitions that can be saved on disk or copied and then pasted into MKI3D in TEXTURES menu (by pressing the key P).
You can apply the textures on selected triangles of the model.
The GitHub repository of Texturion-data also contains Bash scripts for dynamic creation of the index pages. Thus you can clone the project and use it with some local HTTP server on your localhost as your own extensible collection of textures.
No comments:
Post a Comment