Here I am applying a texture to the polygon after creating the texture from a byte buffer. A variety of textures can be created this way.
Snapshot:
Here is the source. A few modifications to this program allows you to create different textures by just changing the formula. Here is the same program with variety of textures mentioned as formulas.
Snapshot:
Here is the source. A few modifications to this program allows you to create different textures by just changing the formula. Here is the same program with variety of textures mentioned as formulas.
No comments:
Post a Comment