Commit Graph

346 Commits

Author SHA1 Message Date
hiker
2595d31eba Implemented crude work around for drivers that do not support
opengl 3.3.
2014-02-17 16:52:40 +11:00
Vincent Lejeune
0243546e4d Use an openGL 3.3 compatibility context when available. 2014-02-12 22:16:10 +01:00
Vincent Lejeune
fbc47dd6ca Do not use GL_PACK_INVERT_MESA when screenshooting
Oddly enough it is reported as FeatureAvailable in Windows.
This fixes the screenshot bug.
2014-02-02 02:56:10 +01:00
Vincent Lejeune
afd5d1917c Fix Opengl pre 3.0 context creation. 2014-02-02 01:03:01 +01:00
Vincent Lejeune
19fd67995d Use system's glext.h/glxext.h on linux. 2014-02-02 00:47:27 +01:00
Vincent Lejeune
098303dced GPUParticles: Use transparent_effect pass 2014-01-28 21:40:53 +01:00
Vincent Lejeune
f50e6f817d Use another normal encoding method from a crytek slide. 2014-01-27 23:29:46 +01:00
Vincent Lejeune
d642bc1489 Lightprepass: Only store normals in rtt
Use a more economical rtt format.
2014-01-27 21:47:25 +01:00
Vincent Lejeune
5694d8b41a Expose depthbuffer texture 2014-01-27 20:21:41 +01:00
Vincent Lejeune
c77ffb1882 STKBillboard: Create new SceneNode wrapper. 2014-01-27 17:33:08 +01:00
Vincent Lejeune
559e0a96ca Remove wrong glHint
Spotted by ARB_DEBUG_OUTPUT
2014-01-24 20:27:18 +01:00
Vincent Lejeune
176e46e5a9 STKAnimatedMesh: Uses custom render.
But not direct gl draw call yet.
2014-01-23 21:35:56 +01:00
Vincent Lejeune
38fc539520 Enable debug 2014-01-22 18:06:39 +01:00
Vincent Lejeune
271a26eaf0 OGL32CTX: Always return true when a feature is queried 2014-01-21 22:25:19 +01:00
Vincent Lejeune
f880d13175 Fix FBO related queries with OGL3.2+ 2014-01-21 22:25:18 +01:00
Deve
dcfd55502c Added experimental change which allow to use alt-tab and other shortcuts on linux when game is run in fullscreen mode.
This method is used in many other projects and should work good. Currently modern games
use window manager fullscreen rather than grab whole mouse and keyboard.

Tested on Gnome, Unity and Openbox and it works well. Though it should be tested also on
other desktop environments.

Also performance impact should be tested.

I added simple workaround for Gnome, which sometimes creates fullscreen window smaller
than display.

If some problems will occur, feel free to revert it.
2014-01-19 21:31:54 +01:00
Vincent Lejeune
a1f5e47cba Use ARB_DEBUG_OUTPUT on windows in Debug mode.
Hopefully the extension will work properly with every driver...
2014-01-18 20:28:13 +01:00
vincentlj
2ba340b6cb OGL32CTX: Add vertex shader where default one was assumed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 23:11:10 +00:00
vincentlj
632f75c130 OGL32CTX: Create a GL 3.1 context on windows (backward compatible)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-08 21:50:46 +00:00
vincentlj
8a33f14da5 OGL32CTX: Request a 3.0 backward compatible context in linux.
This allows to enable ARB_DEBUG_OUTPUT extension.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-05 17:48:36 +00:00
vincentlj
224b246f17 Irrlicht: make setRenderStates3DMode public
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 16:37:15 +00:00
auria
8cf0030a27 Apply patch to fix OSX compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-01 16:51:08 +00:00
auria
ccefd0a3da Try to fix clang compilation. Cannot really test it but hopefully will help
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-13 23:55:29 +00:00
auria
43e9d17eeb Apply safe part of supermat's patch to let STK build on clang on OSX. The part about long GLuint remains to be seen, not too sure what to do about it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-29 23:14:51 +00:00
funto66
45d68487f0 Add animation strength parameter control for skeletal animations to Irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-22 13:31:10 +00:00
auria
c69f290c5f Remove code in OSX version of irrlicht that's causing more harm than good (compilation errors)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-14 23:28:53 +00:00
curaga
0588b4252e irr: Add support for some RG texture formats
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 13:26:06 +00:00
curaga
8f0f150c4a irr: Fix an extension order mismatch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-04 13:25:24 +00:00
curaga
138d61554c irr: Add support for non-triangle VBOs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-22 15:42:02 +00:00
curaga
c6f22508e1 irr: RTT flipping workaround
Didn't find the cause of this bug, but merely a workaround that only works for STK.

Still, that's two days of searching, cutting my losses.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-29 14:40:13 +00:00
curaga
98e9c8d43d irr: skies respect Z so they can be drawn after
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:12:47 +00:00
curaga
9bfe9026ed irr: Add drawall types patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:10:42 +00:00
curaga
56177bdc93 irr: Add stencil patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:09:21 +00:00
curaga
f2cca4e5e8 irr: Add first patch, changelog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 12:07:07 +00:00
samuncle
b08fcc7801 Starting the refactoring for the new particle system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-27 00:58:59 +00:00
funto66
6da6a225a5 Oops - forgot to commit the Irrlicht VS2012 project...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-17 20:14:17 +00:00
auria
af17db18c4 Integrate irrlicht into the STK build system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-13 01:31:09 +00:00
auria
1e02f1f4cd Update xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-15 00:40:52 +00:00
auria
68ce3cc40f Merge changes from branch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-18 02:25:33 +00:00
stephenjust
db9ff32496 Fix 32 bit build in VC10
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-17 21:33:47 +00:00
stephenjust
03d22f0087 Update VC10 project to use included Irrlicht. (not fully tested with 32-bit build, but it should work)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-14 04:57:57 +00:00
hikerstk
d788603907 Updated irrlicht.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-07 00:10:34 +00:00
auria
18ad621664 Update OSX compilation. Still uses irrlicht from the dependency pack
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-06 01:46:41 +00:00
hikerstk
48fa6119ee iMade VS use the new included irrlicht version, and ignore
building related files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-02 04:24:46 +00:00
hikerstk
7a953dff7d Update to rrlicht 1.8 branch r4357.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-02 01:34:43 +00:00
hikerstk
974deca5e1 Added our own irrlicht version - not used atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-01 02:00:02 +00:00