First load any "empty" texture.
Then use the getColorFormat() function of texture to get the color format and lock() function to get pointer to pixels.
Also load the texture of grass, sand... and do the same.
Now it's up to you to calculate the position of "brush" and blend the fragment of grass ...
Search found 2 matches
- Wed Aug 08, 2007 9:00 pm
- Forum: Beginners Help
- Topic: How to create a dynamic texture
- Replies: 4
- Views: 583
- Mon Aug 06, 2007 3:31 pm
- Forum: Beginners Help
- Topic: Camera question
- Replies: 1
- Views: 237
http://irrlicht.sourceforge.net/docu/cl ... e.html#a20camera->setTarget(vector);
Did you read API documentation??