I played around with Irrlicht last year (on a windows system using Dev C++) and really liked it. I've been given a new project (Linux), and am wondering whether I can use Irrlicht in it easily.
I need to build a gui with various form elements and a 2D data representation in a viewport. A lot of the work for this has been done already. What would be really cool is if there could be a 3d data representation in a viewport, and I'm wondering whether it'd be possible to use Irrlicht for this.
Part of the problem is that Irrlicht handles its own windowing. Is there any easy way to embed the irrlicht output onto a screen component, so that it only comprises part of the GUI?
Everything I've toyed around with seems to suggest that this isn't possible, especially as the split-screen tutorial is directx only, and I need to use opengl. Can I use Irrlicht for this, or would it be better to use a straight 3D library, as opposed to a 'games library'? I'm only asking because Irrlicht is so damn easy to use and would save a lot of hassle. If not; has anyone any suggestions for a good C++ 3D api. I've had a look at OpenSceneGraph, but am not sure what else is out there.
Question about Windowing and "viewports"
What I think you are looking for is some kind of ActiveX command that you could use in your existing project? In theory I guess it is possible but this is something you would have to write yourself, noone has tried it. I would have thought that it would be damn hard, you may have to build your existing app into Irrlicht rather than the other way around. Then you could set the viewport to only part of the screen and that would work.
It may well mean you rewriting your GUI to use the Irrlicht functions, it depends how much work you have done and are prepared to do.
It may well mean you rewriting your GUI to use the Irrlicht functions, it depends how much work you have done and are prepared to do.
Heh!
No replies for a couple of days and then four come along at once...
When you use Irrlicht, or any glut-similar tech (NUI, GLOW, GLUI, GLT etc.) to create a gui, that gui is actually being rendered by OpenGL (or D3D on windows) - it's actually "fake" 2d - as it uses the same rendering pipeling and screen output as the 3D stuff - not using native widget-sets etc.
Tyn got what I meant. WxWindows, Qt, the Win API and the Fox Toolkit (all gui widget sets) all have components on which it's possible to "project" or "mount" OpenGL-rendered output, but embedded within the standard 2D gui-windowing environment. Think of the difference between the viewports and the GUI itself in 3DS max/Maya/Lightwave/Blender to see what I mean.
Of course, it's theoretically possible to do this with Irrlicht (glut uses the native widget sets); I was just wondering whether anyone had actually figured out an easy way to do it. I need to write an app for 3D data representation - not really a game - so was just checking to see if anyone had managed it.
I've been playing with Coin3d and Qt / Win API, and am probably going to use that instead (it's academic work so GPL isn't an issue). Don't get me wrong - I still love Irrlicht - it's just that it doesn't seem to be the solution to what I need to do. Shame though; because Irrlicht's simplicity would have saved some work (yeah - I'm being slack...).
Thanks anyway.
When you use Irrlicht, or any glut-similar tech (NUI, GLOW, GLUI, GLT etc.) to create a gui, that gui is actually being rendered by OpenGL (or D3D on windows) - it's actually "fake" 2d - as it uses the same rendering pipeling and screen output as the 3D stuff - not using native widget-sets etc.
Tyn got what I meant. WxWindows, Qt, the Win API and the Fox Toolkit (all gui widget sets) all have components on which it's possible to "project" or "mount" OpenGL-rendered output, but embedded within the standard 2D gui-windowing environment. Think of the difference between the viewports and the GUI itself in 3DS max/Maya/Lightwave/Blender to see what I mean.
Of course, it's theoretically possible to do this with Irrlicht (glut uses the native widget sets); I was just wondering whether anyone had actually figured out an easy way to do it. I need to write an app for 3D data representation - not really a game - so was just checking to see if anyone had managed it.
I've been playing with Coin3d and Qt / Win API, and am probably going to use that instead (it's academic work so GPL isn't an issue). Don't get me wrong - I still love Irrlicht - it's just that it doesn't seem to be the solution to what I need to do. Shame though; because Irrlicht's simplicity would have saved some work (yeah - I'm being slack...).
Thanks anyway.
Yeah, that could be problematic. I can't say for sure as I haven't looked at the project myself, but it might help provide some insight on how you could go around plugging Irrlicht into your own windowing method (Which you're obviously doing, otherwise this would be a non-issue).yikyak wrote:Cheers Unarekin; unfortunately it needs to run cross-platform (win and lin)