hybrid
d52e51242a
Add the missing extension pointers for NV_occlusion_query
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3268 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 21:08:11 +00:00
hybrid
ab82717b94
Fix some problems with OpenGL extensions.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3267 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 20:17:47 +00:00
hybrid
99a25cfbc9
Remove debug output, add ifdefs for OpenGL versions not supporting ARB_occlusion_query. Add support for NV_occlusion query.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3266 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 16:18:42 +00:00
hybrid
ccd1a241c3
Occlusion Query support.
...
I've finally took on Nadro's code from the forum and adapted it to overcome some restrictions of the original code. Moreover, there are some additional tweaks to make it simpler to use. A few minor things might still change in the future, but for now it looks like a proper implementation with many useful use cases. I'll come back on this in the next time when I provide an example for efficient usage of occlusion queries.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3265 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 15:40:10 +00:00
hybrid
6b3ce459a8
Fix return value of extension.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3263 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-31 09:33:21 +00:00
hybrid
dc41969f1f
occlusion query extension API necessary for OpenGL extension added. Not usable from Irrlicht API so far.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3262 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-29 21:39:36 +00:00
hybrid
f14c5628b8
Add some gpu memory info output where possible.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3259 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-26 17:49:08 +00:00
hybrid
f0b8a7e9e1
Add support for vertex_array_bgra extension in OpenGL driver. This will speed up OpenGL rendering quite a lot as it skips the silly color conversion thing we have to do otherwise. Still a little clumsy implementation, but the speed gain is worth this.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3258 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-26 16:53:50 +00:00
hybrid
95680f93a8
Replace raw xml char implementation with template struct in order to decouple the type from POD types. May also help for 64bit problems or changes needed there.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3256 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-21 23:24:26 +00:00
hybrid
9d1cc03094
windows32 class unregister fixes by namtabmai
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3244 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-11 22:17:24 +00:00
hybrid
8813f08a8a
Add extension support for OpenGL 3.3 and 4.0. Fix some init warnings
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3243 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-11 17:28:10 +00:00
hybrid
16ef2e5e7d
Don't destroy the external window.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3232 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-25 09:03:17 +00:00
hybrid
8796542e05
Fix texture size of terrain mesh.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3230 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-21 18:13:17 +00:00
hybrid
16bb785537
Fix last showstopper for GL2 GLSL instantations
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3227 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-16 20:17:25 +00:00
hybrid
9c4bb40b6c
Fix some more typos in gl extension usage and new GLSL interface
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3226 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-16 19:55:47 +00:00
hybrid
aee05c3199
Fix typo with using the wrong variable.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3225 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-16 14:33:06 +00:00
hybrid
11e37d6246
Improved inputs handling. Implemented instance before geometry handling. Enhanced debug output.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3223 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-15 17:20:44 +00:00
hybrid
9e23a0482f
Rename local variable.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3222 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-14 22:56:54 +00:00
hybrid
813274d8ea
Fix a problem with file format differences (wrong weights) and a problem with wrongly placed bones.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3221 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-14 22:55:35 +00:00
hybrid
a23436f955
Merged revisions 3199-3217 from 1.7 branch. Fix collision problem in aabbox3d and some compile problems due to API changes. Fixed some minor mem leaks.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3218 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-12 15:13:11 +00:00
hybrid
3c6b62c127
Fix the old way for shaders to work properly.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3215 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-10 17:34:28 +00:00
hybrid
b74a85df05
Add the new OpenGL2.x scheme for shader creation.
...
Properly clean up shaders, which were not completely removed before.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3214 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-10 17:17:33 +00:00
hybrid
c981decf86
Some cleanup in stencil setup.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3213 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-09 21:01:56 +00:00
hybrid
d5346c98b2
Some updates from Steel's patch. Also removed the debug data rendering, as it won't work this way.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3209 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 16:18:35 +00:00
hybrid
8f5a1f6f23
Change shadow node to use core::array
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3208 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 14:57:19 +00:00
hybrid
96310b964d
Merged revisions 3172:3197 from 1.7 branch. Some more bug fixes and doc updates from the 1.7 beta phase.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3198 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-02 20:53:57 +00:00
hybrid
675fd7637e
Merge revisions 3139:3171 from 1.7 branch. Many new tests and bug fixes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3172 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-23 16:53:15 +00:00
engineer_apple
934b4cfd22
Set #define OCTREE_USE_HARDWARE to false as default
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3149 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-16 12:02:51 +00:00
hybrid
0ca3ba3744
Merged revisions 3089-3138 from 1.7 branch. Full merge, all changes from 1.7 beta phase up to now are included.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3139 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-08 11:46:38 +00:00
cutealien
9b3f9590f0
- Add unicode and dead-key handling on Windows 32. Based on patch 2922403 from Jetro Lauha (tonic). Just we're now not using ToUnicode, but do stuff manually to support even older Windows systems.
...
- Add support for entering chars like @ with Alt Gr on non-US keyboards. Also from patch 2922403 by Jetro Lauha.
- Move unit globals into anonymous namespace in CIrrDeviceWin32.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3088 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-29 00:19:29 +00:00
hybrid
a8229b3f10
Merged from 1.6 branch, revisions 2936:3075. Several bugfixes for GUI, containers, file system.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3076 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 10:56:30 +00:00
cutealien
1b523f689b
- Fix bug that menus on IGUIWindows with titlebar got drawn too high (id: 2714400)
...
- Add another parameter to IGUISkin::draw3DWindowBackground to allow getting the client area without actually drawing
- Add function getClientRect to IGUIWindow for getting the draw-able area
- Documenation updates
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3073 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-27 20:04:11 +00:00
cutealien
95ea9b9b4e
Fix hopefully problem I introduced for compiling on 64-bit linux (found by Tecan). Needs test from someone with 64-bit system.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3068 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-23 20:32:10 +00:00
cutealien
a08f3e25d2
- Fix problem that modal windows do not get activated on setFocus (noticed by Yoran).
...
- Kick virtual function calls out of IGUIElement constructor.
- Actually those fixes could maybe go into 1.6 (only non-virtual protected interfaces added).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3067 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-23 18:41:45 +00:00
hybrid
538d1a1e96
Remove unused function, simplify joints code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3066 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-22 16:26:09 +00:00
hybrid
7b6640fd8f
Return shadow node if adding to a node that already has a shadow.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3065 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-22 16:19:08 +00:00
cutealien
28a04fbd42
Renamed OctTree to Octree
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3062 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 22:10:53 +00:00
cutealien
12c53b2cfc
Allow to set the logging level already in SIrrlichtCreationParameters.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3059 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 14:33:53 +00:00
cutealien
633702e2e0
Documentation update.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3058 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 14:15:47 +00:00
cutealien
17cee03cd1
ClearSystemMessages does now also just remove keyboard/mouse events on Linux. Should probably be parametrized in the long run.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3057 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-18 12:37:25 +00:00
hybrid
74b0345a53
Added framework option for compiling under OSX with Makefile. Suggested by blues2008. Please note that default is still using X11, you need to disable the X11 linking and enable the framework line. Also make sure to use the proper device and config settings.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3053 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-17 12:04:55 +00:00
cutealien
9b50b09ea3
Add clearSystemMessages to IrrlichtDevices (implemented only for Win32 and Linux so far).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3051 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-13 10:39:29 +00:00
cutealien
dae1088202
Add ReportLastWinApiError to Win32 device to make internal debugging easier.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3049 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-13 05:27:30 +00:00
cutealien
f0752acdc7
A proposal for fixing the problem with the textures being re-loaded with folder-file-archives.
...
See bug id 2912581: http://sourceforge.net/tracker/?func=detail&aid=2912581&group_id=74339&atid=540676
More details described on bug-page.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3043 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 09:25:55 +00:00
hybrid
27b5b6633c
Change SMesh allocation to heap allocation, as it's a reference counted element.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3037 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-11 12:52:38 +00:00
hybrid
f964cb3d60
Add possibility to change render context for OpenGL with beginScene. Should work if the context is shared with the one from Irrlicht.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3034 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 17:57:16 +00:00
cutealien
e7afb972b8
Add xml-serialization to the serializeAttributes test. Add comment to readAttributeFromXML that userPointers are intentionally set to 0.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3033 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 01:32:44 +00:00
hybrid
6cc3ffc5be
Add 2d override material for other hw drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3032 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 00:04:41 +00:00
hybrid
38a44116e2
Change the 2d material interface. Renamed methods and cleaned up reset scheme.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3031 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 23:21:38 +00:00
hybrid
c9c108ea6d
Fix 2d init material setting for OpenGL. Add new file to project file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3030 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 22:57:11 +00:00