Page 1 of 1

Running Irrlicht device in Fullscreen (i.e. glGameMode)

Posted: Tue Nov 16, 2004 7:26 pm
by axelitus
Hi, Irrlicht is just "irre". It's a great engine... but how do you run Irrlicht in full screen mode? Like the glGameMode or the glFullscreen() function??

Posted: Tue Nov 16, 2004 7:29 pm
by Guest
:shock:
there's a boolean in the createDevice function where you can request fullscreen mode (true) or windowed mode (false)

please consult irrlicht.h for further details.

Posted: Tue Nov 16, 2004 7:57 pm
by Guest
createDevice(EDT_MODE, dimension2d<s32>(resX, resY), fullscreen, stencil, vsync, receiver)

:)

Posted: Wed Nov 17, 2004 2:02 pm
by Guest
whats stencil?

Posted: Wed Nov 17, 2004 2:52 pm
by Guest
EDT_MODE = render device (EDT_SOFTWARE, EDT_DIRECTX8, EDT_DIRECTX9, EDT_OPENGL or EDT_NULL)

resX = X resolution (1024 for example)
resY = Y resolution (768 for example)
fullscreen = fullscreen (true) or not (false)
stencil = stencil shadows (true) or not (false)
vsync = vertical synchronisation of the frames (true) or not (false)
receiver = irrlicht receiver or 0


stencil shadows are dynamic shadows that clip around edges etc.

btw: you could also have looked in the irrlicht API documentation, there is every command listed ...

Posted: Wed Nov 17, 2004 4:58 pm
by Tyn
The API is your friend, use it wisely :)

It's a really good document to look for answers once you know how it's laid out. As tempting as it is just to ask you can always have a crack at finding it yourself in there. We'll still be around to help if you can't find what you were looking for.

Refresh rate

Posted: Wed Nov 17, 2004 7:48 pm
by Tom87@21
Hi !

Is it possible to change the refresh rate when using the OpenGL renderer ?
I would like to pass form 60 (default) to 85 Hz, with OpenGL.

Posted: Wed Nov 17, 2004 8:41 pm
by Guest
thats a windows xp bug, if you have an nvidia card you can bypass that in the driver settings