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

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
axelitus

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

Post 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??
Guest

Post 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.
Guest

Post by Guest »

createDevice(EDT_MODE, dimension2d<s32>(resX, resY), fullscreen, stencil, vsync, receiver)

:)
Guest

Post by Guest »

whats stencil?
Guest

Post 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 ...
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post 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.
Tom87@21
Posts: 6
Joined: Wed Nov 17, 2004 7:40 pm

Refresh rate

Post 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.
Time doesn't wait !
Guest

Post by Guest »

thats a windows xp bug, if you have an nvidia card you can bypass that in the driver settings
Post Reply