Commit Graph

1750 Commits (ce2734d4e77584b0446f5f0dff3defa03a75c731)

Author SHA1 Message Date
hybrid ce2734d4e7 Add a new matrix method, e.g. used for stencil shadows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3216 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-11 16:13:47 +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 55a3220a1b Add test for string operator+= and fix for long type parameters. Bug and fix found by loneboco.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3211 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-08 00:04:26 +00:00
hybrid db4abd66d7 Missing constification fixed, found by loneboco
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3210 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 21:51:40 +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 20c762c5e8 Add test for self-shadowing
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3207 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 12:16:07 +00:00
hybrid 7260791edc Add test for stencil shadows with normal projection matrix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3206 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 11:54:50 +00:00
hybrid a7b73dbf51 New test for orthogonal Cameras.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3205 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-06 23:29:21 +00:00
hybrid 303e5c16dc Add a test for different light effects.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3204 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-06 17:05:49 +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 c1510bc8bd Change the version numbers to be digits only
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3086 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 14:09:17 +00:00
hybrid 618e7f81f6 Add new image and archive extensions supported by Irrlicht.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3085 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 14:06:54 +00:00
hybrid 7414995ba3 Add implementations for new abstract methods of IGUIWindow
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3084 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 14:04:08 +00:00
hybrid 0be2fc2628 Make checks in erase not only happen in debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3083 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 13:42:59 +00:00
hybrid 5185fdf554 New example, provided by geoff some time ago. It shows some details for SMesh handling, which can be useful when manually creating or editing geometry.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3082 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 13:31:59 +00:00
hybrid ebda9739d3 Add OpenGL support for mode2
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3081 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:46:48 +00:00
hybrid c251aaf62f Change scrollbar to access negative framerates as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3080 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:36:20 +00:00
hybrid 26c3f03682 Add an example for how to use the 2d material settings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3079 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:34:16 +00:00
hybrid d4620f37f5 Use the generic render method for more flexibility.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3078 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:24:23 +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 fdfc470b38 Improving array::insert speed by kicking out lots of memory construction calls, but hopefull still leaving all the important ones in places. Does double the speed but is still twice as slow as std::insert unfortunately.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3064 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-21 20:17:18 +00:00
cutealien a0b9cea740 Fix recently introduced bug that caused irrlicht to sort the array on each search (instead of just when unsorted).
Also test 33 writeImageToFile currently fails when compiled with optimizations, but probably the test needs to lower requiredMatch.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3063 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-21 13:24:53 +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 1a876af375 Allow getting a ConstIterator from a non-const core:list
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3061 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 18:43:12 +00:00
cutealien 6eb1fa1e6e Add swap functions to irrMath and to the core classes.
Deprecate map::isEmpty() and replace it with map::empty() to make it similar to other base classes.
Rename array-test and add tests for list and map.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3060 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 16:55:15 +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 34121ef43a Use another node in materialviewer as background to make light-settings more obvious.
Clean it up some more and add more comments.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3052 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-14 17:28:20 +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
cutealien baa4ecb9dc Documentation updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3042 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 07:26:46 +00:00
hybrid 3553813721 Fix some tests, add new test for loading textures from FileFolders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3041 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 01:01:32 +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
cutealien e10f17dcb2 Fix crash in Meshviewer when dialog-window was closed before opening model (found by randomMesh).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3035 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-11 09:50:54 +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