Page 2 of 2

Posted: Sun Apr 29, 2007 3:56 pm
by mab_5_uk
ha arras i was using Irrlicht 0.14 so i have tryd updating to Irrlicht 1.3 and it sems to build now but when i run the program it crashis on startup :?

Posted: Sun Apr 29, 2007 5:54 pm
by Luben
If you have custom scene nodes, make sure that the functions returning/getting the type u32/s32 really are changed, otherwise for example getMaterial will be the ISceneNode one.

Posted: Sun Apr 29, 2007 6:21 pm
by arras
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.

Posted: Mon Apr 30, 2007 4:07 am
by christianclavet
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

Posted: Mon Apr 30, 2007 11:36 pm
by mab_5_uk
ha arras just to let you no i've finaly got it working it turned out i had the old irrlicht.dll file in the directory my bad.

any way thanks for all your help i appreciate it mate :D

plus christianclavet irrlicht does have the ability to suppot .PNG files hope this helps