You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
tried to run OpenGL (version 2) in Irrlicht 0.14.0 using the gcc version.
1. I could not use OpenGL 2, the Irrlicht.dll (gcc version) seems to support only 1.5.
is this true ?
2. I would really like to have a MS-free environment (all OpenSource), but to aim this target I need to
- use f.e. GCC
- OpenGL (version 2)
I think in the result my program (based on OpenGL and GCC) should not run slower than using MSVC and DirectX, but all my tests ended up in a very slow OpenGL version, MUCH slower than my DirectX version.
I am very thankful for any hint on that problem and I think solving this problem could bring the community foreward!
[/b]
Any fool can make things bigger, more complex, and more violent. It takes a touch of genius-and a lot of courage-to move in the opposite direction.
(Albert Einstein)
If you want to use libraries with different API you have to recompile Irrlicht on your own. It should be source compatible, though, since Irrlicht does not use any specialized features of OpenGL 1.5 that are not part of version 2.0.
Performance might also depend on hardware support of the OpenGL library.
Just to clarify - Niko hasn't upped the OGL requirement from 1.2 to 1.5 in 0.14.0 has he? It is just using the extra features if it finds them and falls back to 1.2?????
It seems as if he even relaxed the old requirements some more. For shaders he's checking for basic shader support and not for specific versions anymore. Did not check the consequences for compatibility yet, but I'd assume that it shoudl work more relaible with older and newer versions of OpenGL now.
@terefang and the other who sent replies: thank you for your hints.
I really guess I have to look deeper into C::B as well as the doku there.
Very strange: after a while I COULD run the OpenGL version; I think I just made an error somehow before.
And, of course, the next switch is to leave Windows at all and go to Linux (Debian).
Any fool can make things bigger, more complex, and more violent. It takes a touch of genius-and a lot of courage-to move in the opposite direction.
(Albert Einstein)