Help..... New here with irrlicht

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
smartwhiz
Posts: 120
Joined: Wed Jan 14, 2004 6:03 pm
Location: India

Help..... New here with irrlicht

Post by smartwhiz »

i tried out the engine it's cool .......
I hav a suggestion or it can be also asked as a question of how?
v can create the device with the given createDevice() funcion for a specified one.
Can't a function can be written so as to get the possible resolutions and API in a system so that the user will able to select anyone of that....?
If so how?
tstuefe
Posts: 40
Joined: Wed Jan 07, 2004 12:53 pm
Location: Heidelberg, Germany
Contact:

Post by tstuefe »

not sure whether its part of the irrlicht engine (I'm not at my development PC currently) but you can use plain DirectX functions to enumerate the supported resolutions. See DirectX SDK Documentation.

Thats true for Windows/DirectX. No clue about OGL and Linux.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

You can enumerate the video modes using getVideoModeList()

Search the docs for "irr::video::IVideoModeList".
Crud, how do I do this again?
smartwhiz
Posts: 120
Joined: Wed Jan 14, 2004 6:03 pm
Location: India

Post by smartwhiz »

Thanks for that!
qwe
Posts: 112
Joined: Sun Dec 28, 2003 12:54 am
Location: Oregon, USA

Post by qwe »

you'll have to create a device first though, which is what the null device is for
smartwhiz
Posts: 120
Joined: Wed Jan 14, 2004 6:03 pm
Location: India

Post by smartwhiz »

any tuts on it?
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

Wouldn't be much of a tutorial because all you need to do is switch your deviceType in createDevice() to irr::video::EDT_NULL

Most likely, you have either EDT_DIRECTX8 or EDT_OPENGL in there now.
Crud, how do I do this again?
Post Reply