Can't Clean Scene

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Lokans
Posts: 3
Joined: Tue Dec 13, 2005 6:42 pm

Can't Clean Scene

Post by Lokans »

[Sorry about my bad english]


Im trying to clean a scene (GUI, Images, etc...)...
i Develop a SceneManager for the manage of "Stages" on each stage i put a method called Clean(); thats clean the whole Stage to pass to another one wich with the method Load() loads another....

The problem is that the i dont know how to clean BackGround Images... i Used Draw2DImage() for make an BackGround Image.... and i added 2 buttons on the first Stage.... i easly drop the buttons.... but i dont know how to drop the background image... The second stage is a full 3d scene... how can i drop the background image? :D

Thx
spul
Posts: 5
Joined: Fri Mar 30, 2007 1:52 pm

Post by spul »

Not complete sure but have you tryed to remove the texture with

device.Videodriver.RemoveTexture(backgroundimage) ?
Locked