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

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

Postby three6t » Thu Nov 24, 2011 9:30 am

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
three6t
 
Posts: 1
Joined: Tue Mar 08, 2011 7:47 am

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

Postby hybrid » Thu Nov 24, 2011 3:50 pm

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.
hybrid
Admin
 
Posts: 13970
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany


Return to Game Programming

Who is online

Users browsing this forum: No registered users and 1 guest