i was wondeirng if this was a bug.
i have been hunting down what seemed like memory corruption in my game. i ended up recoding the whole thing,
to find out that when i load a tga file and use transparency on my 3ds meshes (i got the for free from the internet somewhere) my games memory would become corrupt or something. textures would be on the wrong models, making everything looks crazy.
i made a new map in my game added some objects and stuff, a whole bunch, no corruption. add any vegetations using the tga format with transparency and the memory would get all cracked out.
just wondering may be something on my part but now it doesnt seem like it.
problem with tga textures with alpha transparency
problem with tga textures with alpha transparency
Confined is a 3D Action RPG Game in development. http://confined.coderzilla.net
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
i know it does sound weird. but i have been adding more complexity to my engine and more classes every day. aslong as i stay away from those models using tga textures with alpha transparency.. it seems to be fine..
ill post a screenie when i get some hosting around. sometime, it looks rather psycadelic
as you can see below where the white arrows mark it, is corruption.
that grass is NOT supposed to be red (color of my logo) and those little squares are supposed to be little plants but they say New Game (:P it is usingt he texture of my new game gui element)
to cause this all i did was add a free model of some small plants to the game. it is 3ds, using tga and transparency. i edited the original PNG texture and made transprant back ground in GIMP and i use that. maybe thats the issue?
ill post a screenie when i get some hosting around. sometime, it looks rather psycadelic
as you can see below where the white arrows mark it, is corruption.
that grass is NOT supposed to be red (color of my logo) and those little squares are supposed to be little plants but they say New Game (:P it is usingt he texture of my new game gui element)
to cause this all i did was add a free model of some small plants to the game. it is 3ds, using tga and transparency. i edited the original PNG texture and made transprant back ground in GIMP and i use that. maybe thats the issue?
Confined is a 3D Action RPG Game in development. http://confined.coderzilla.net
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
I suppose the TGA files could have some strange or conflicting information in the header or something similar, can you post one for further investigation?
edit: Also, can you cause the problem to happen in one of the examples? That would make things a lot easier to debug.
edit 2: Finally, what format is the model in, and can you share it?
edit: Also, can you cause the problem to happen in one of the examples? That would make things a lot easier to debug.
edit 2: Finally, what format is the model in, and can you share it?
dlangdev: yes actually, while using the editor, the scene node is attached to the irrNewt physics body by pointer, and i move objects around often in the editor.
bitplane: as for 1 and 3 i can share them. i will try to reproduce the probelm and upload a copy asap.
flowers_low.rar
bitplane: as for 1 and 3 i can share them. i will try to reproduce the probelm and upload a copy asap.
flowers_low.rar
Confined is a 3D Action RPG Game in development. http://confined.coderzilla.net
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130