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]
OpenGL 2 supported in Irrlicht 0.14.0 (gcc version)
OpenGL 2 supported in Irrlicht 0.14.0 (gcc version)
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)
(Albert Einstein)
have you looked at the optimization options in dev-cpp?
default irrlicht dll example 10 (shaders) gives ~2900 fps on my system with opengl (~3500 with dx9).
gcc-compiled irrlicht without optimization gives only ~300 fps with opengl.
take a look at the gcc documentation about '-O6' and further 'expensive-optimizations' options.
PS: you mentioned a m$-free environment, why do you use windows as a platform then?
default irrlicht dll example 10 (shaders) gives ~2900 fps on my system with opengl (~3500 with dx9).
gcc-compiled irrlicht without optimization gives only ~300 fps with opengl.
take a look at the gcc documentation about '-O6' and further 'expensive-optimizations' options.
PS: you mentioned a m$-free environment, why do you use windows as a platform then?
terefang
nVidia 7800GT/256, AMD64-X2 4k2, Latest Fedora/CentOS
nVidia 7800GT/256, AMD64-X2 4k2, Latest Fedora/CentOS
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.
Performance might also depend on hardware support of the OpenGL library.
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).
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)
(Albert Einstein)