If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
-
EViruS
- Posts: 19
- Joined: Sat Jul 07, 2007 8:32 pm
Post
by EViruS »
How to change some pixels on ITexture?
-
EViruS
- Posts: 19
- Joined: Sat Jul 07, 2007 8:32 pm
Post
by EViruS »
EViruS wrote:How to change some pixels on ITexture?
I found solution:
void *p = ->lock()
getColorFormat
...
But how to save my modified texture to file?
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
-
Contact:
Post
by hybrid »
Use the image writer.
-
EViruS
- Posts: 19
- Joined: Sat Jul 07, 2007 8:32 pm
Post
by EViruS »
hybrid wrote:Use the image writer.
How to use it? Can you give me example?
-
bitplane
- Admin
- Posts: 3204
- Joined: Mon Mar 28, 2005 3:45 am
- Location: England
-
Contact:
Post
by bitplane »