Search found 7 matches

by Insects
Wed Sep 10, 2008 1:59 pm
Forum: Advanced Help
Topic: [Help] Reset Device
Replies: 6
Views: 3473

Well.. like i'm used to say "If you want something done, do it yourself". Finally, after several days of debugging and test, I found out that "videoDriver->removeAllTextures()" was doing nothing. My crash was due to one texture which was not removed (only one *$%# texture ! :twis...
by Insects
Mon Sep 08, 2008 3:30 am
Forum: Advanced Help
Topic: [Help] Reset Device
Replies: 6
Views: 3473

Well hybrid is completely right, for more informations about createDeviceEx : http://irrlicht.sourceforge.net/docu/namespaceirr.html#a179 About the issues as i said the output is : Was not able to create Direct3D9 device. Was not able to create DIRECT3D9 device. Could not create DIRECT3D9 Driver. wh...
by Insects
Sun Sep 07, 2008 5:54 pm
Forum: Advanced Help
Topic: [Help] Reset Device
Replies: 6
Views: 3473

[Help] Reset Device

Hi, I have an application which allow to change the device properties and reset it. The properties are : AntiAlias, Bits, DriverType, Fullscreen, Stencilbuffer, Vsync, WindowSize. Here is a sample of code to reset the device : if (device) { device->closeDevice(); device->run(); device->drop(); devic...
by Insects
Thu Jul 17, 2008 3:58 am
Forum: Bug reports
Topic: Bug Texture
Replies: 4
Views: 486

:? From all i understood, changing a texture's wrap thanks to SMaterialLayer is possible only with an ISceneNode.. But i'm adding a texture from the gui environment so i can't do this stuff.. Anyway i found a 'solution', by setting to true setImageScale of my image. Not that i like scaling but sound...
by Insects
Wed Jul 16, 2008 12:19 pm
Forum: Bug reports
Topic: Bug Texture
Replies: 4
Views: 486

Thanks for the reply ;)

I know that using texture dimensions which are a power of two is much better.. But the fact is that i tried too and got the same problem.. :?

Can you give me an example of how to change a texture's wrap mode ?

thanks again
++
by Insects
Wed Jul 16, 2008 11:41 am
Forum: Bug reports
Topic: Bug Texture
Replies: 4
Views: 486

Bug Texture

Hi, Here is the 'simple' code : guienv->addImage( driver->getTexture("./top-left.png"), position2d<s32>(0, 0) ); Here is the original picture : http://www.fileshack.us/get_file.php?id=860548&file=top-left.png Here is the bug : http://www.fileshack.us/get_file.php?id=232422&file=scr...
by Insects
Thu Oct 25, 2007 2:23 am
Forum: Advanced Help
Topic: Using sprite with IGUIButton
Replies: 0
Views: 387

Using sprite with IGUIButton

Hello, I'm trying to use sprite with IGUIButton. I use "setSprite" and "setSpriteBank" (i included "IGUISpriteBank.h" in "irrlicht.h" because it were missing) But please how can i use this one with my button :? ? On the other hand, i have a texture where i wan...