is it possible editing bitmaps
mab_5_uk >> code I was posting is compiling and running on my sistem.
If applycation crashes on startup it mostly is due to accesing something out of its bounds. Make sure you are not accesing out of array somewhere. Its easy to do since you are working with naked pointer to texture. Other than that I realy dont have idea.
In this kind of situations I try to find problem in this way:
I coment everything except most basiz things like device creating, running, driver->beginScene and similar things.
Then I try to uncoment blocks of code one by one until I find line which cause crash. Then examine what might be wrong.
If applycation crashes on startup it mostly is due to accesing something out of its bounds. Make sure you are not accesing out of array somewhere. Its easy to do since you are working with naked pointer to texture. Other than that I realy dont have idea.
In this kind of situations I try to find problem in this way:
I coment everything except most basiz things like device creating, running, driver->beginScene and similar things.
Then I try to uncoment blocks of code one by one until I find line which cause crash. Then examine what might be wrong.
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Hi. mab_5_uk
Does the engine support alpha channels? Have you tried to do this with a PNG file? You could do the hole in the texture in Photoshop and define the hole as an alpha channel and save it.
I've not tried this, because I'm new to the engine and a beginner in C++.
Would that work in IRRLicht?
Regards,
Christian Clavet
Does the engine support alpha channels? Have you tried to do this with a PNG file? You could do the hole in the texture in Photoshop and define the hole as an alpha channel and save it.
I've not tried this, because I'm new to the engine and a beginner in C++.
Would that work in IRRLicht?
Regards,
Christian Clavet