Can i use my own openGL Context and direct irrlicht there?

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
three6t
Posts: 1
Joined: Tue Mar 08, 2011 7:47 am

Can i use my own openGL Context and direct irrlicht there?

Post by three6t »

I want to integrate irrlicht in a mobile device sdk, where all initializations (opengl) are allready carried out , is there a way where i could use irrlicht with existiing context (not created thru irrlich)
If this is possible i would be able to load assets , drawing the scenenode etc in irrlicht and i could use the engine in mobile devices also!!


A :D any clues
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Can i use my own openGL Context and direct irrlicht ther

Post by hybrid »

Which device requires you to use a predefined context? Anyway, passing in an external window (with opengl context) is possible. Just use the window parameter of the device creation. Just avoid to do any render setup in between Irrrlicht renders, as most Irrlicht functions either require a certain setup, or overwrite any other changes previously made.
Post Reply