Commit Graph

1622 Commits (f2e91f0e7c8026fbbe95679c93f68dc866fce95a)

Author SHA1 Message Date
cutealien f2e91f0e7c Fix self assignments for irrArray (which worked already in 1.6, not sure if it was fixed there
already or broken after 1.6).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2950 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 15:08:16 +00:00
cutealien 09b4f29944 Bugfix: irrArray should no longer crash when using other allocators. Corresponding test added. This was
caused because operator= and copy-constructor where not called because the the second template parameters 
was not used in those function declarations and so only functions for the default parameter had been 
created. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2949 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:51:59 +00:00
hybrid e7b200fef4 Merged revisions 2892:2947 from 1.6 branch. Mainly GUI fixes. Cylinder texturing enhanced. WIN64 defines everywhere also use _WIN64. Code layout and documentation updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2948 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:42:58 +00:00
cutealien 9e1eb1e6ca Revert r2939 (allocation strategy scheme for arrays). Which means old (slow?) speed for now. Reason is that
assignment would otherwise depend on allocation strategy which isn't a good idea. Also some problems due to 
default template parameters which got ignored in copy-constructor and operator= which caused those functions 
not to be called. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2946 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:11:27 +00:00
cutealien 7c8293ef93 Remove some extra ; because otherwise tests won't even compile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2944 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-29 23:37:04 +00:00
cutealien 741b0be9a4 Change font in MaterialViewer example as rendering of builtin font is messed up in GL on some systems (reported by randomMesh).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2943 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-29 17:33:13 +00:00
cutealien 4a03580fc7 Add material viewer example.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2942 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-29 17:12:40 +00:00
monstrobishi 1ea180d6be - Noticed a major slowdown with the fairly-recently implemented allocation strategy scheme for irrArray (About 5 times slowdown) mainly due to the switch statement in the time critical section. So I re-implemented it as a static template-based system and now the speed is a lot more acceptable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2939 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-28 06:24:37 +00:00
hybrid a8ccdb1194 Add another fb device position and a simpler pitch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2938 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-27 23:15:21 +00:00
hybrid e82e998aff Add experimental framebuffer device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2937 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-27 18:58:56 +00:00
hybrid 2922d1736d Fix used extension names.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2930 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-26 18:28:22 +00:00
hybrid 92b77f2f02 Prepare for support of more ASM shader models.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2929 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-26 17:07:55 +00:00
hybrid 8e4002126f Geometry shaders need triangle_, not triangles, as output type
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2928 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-25 13:53:15 +00:00
hybrid 51545ba051 Add geometry shaders for OpenGL. Implementation is largely influenced by ideas from devsh. Right now the input and output types are fixed to EPT_TRIANGLES, the maximal output vertices are only limited by the driver, and some geometry shader extensions are wrongly used. Will be fixed in the near future.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2926 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 23:35:43 +00:00
hybrid 2ad8effc38 Add lib path and remove deprecated option
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2924 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 21:48:46 +00:00
hybrid 0655f27f31 Split shader types definitions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2923 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 16:31:50 +00:00
hybrid 9b6bbb0477 Unify gpu programming service calls.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2920 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 08:31:10 +00:00
hybrid ce6a35287d Remove unused includes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2919 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 08:20:52 +00:00
hybrid e0440b4627 Another typo in the MRT inits, also make sure these mixed MRTs really work.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2918 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-23 20:36:27 +00:00
hybrid 9b418dbd9e Oops, wrong extension defines and wrong maximal count.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2917 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-23 19:53:35 +00:00
hybrid 0fd0e52e7e Reorganize the mrt reset procedure.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2916 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-22 23:03:04 +00:00
cutealien 2573257ffc Double and triple click events now for each mouse-button. Old events for that got removed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2914 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-22 15:25:00 +00:00
hybrid 883db0f081 Make sure our path names use '/' instead of '\\'
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2913 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:50:51 +00:00
hybrid 76c4b0f813 Add access to miplevels in addTexture, texture->lock, and texture->regenerateMipMapLevels.
This allows to create custom mipmap textures manually, or provide them from certain image formats that come with precalculated mipmaps.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2912 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:24:31 +00:00
hybrid 978c768ade More atan2 param casts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2911 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:19:38 +00:00
hybrid 48e43d758d Remove unused includes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2910 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 21:09:31 +00:00
hybrid cbbd50e1d4 Fix another image constructor usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2909 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 17:27:56 +00:00
hybrid 75f7074ed2 Deprecate some image creation methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2908 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 17:24:26 +00:00
hybrid 4b57a03b7a Fix float bswap macro usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2907 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 17:22:49 +00:00
hybrid c12630078a Bump version in Makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2905 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 17:03:14 +00:00
hybrid 755a2c4a1d Change image usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2904 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 16:54:01 +00:00
hybrid 8c13dcdbdf Clean up image usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2903 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 16:33:42 +00:00
hybrid d28a6bb481 Fix triangle render for selection.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2901 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 14:54:43 +00:00
hybrid 9a14224c6f Trying to put the texture activation back into setMaterial. This had been changed in early versions of Irrlicht for render state problems. I hope we got them all fixed and can this way make external materials possible again. (problems are all OpenGL only)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2900 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 14:20:07 +00:00
hybrid f30d47b667 Update the render size in fullscreen mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2899 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 14:15:47 +00:00
hybrid 9cf8f0fe07 Properly store the MAX_AINSOTROPY level.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2898 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 13:53:17 +00:00
hybrid f29995ded6 Merged revisions 2848:2891 from 1.6 branch. DMF loader fixes, Win32 shift key fixes, version number update.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2892 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 09:50:37 +00:00
hybrid 23ffd04c56 Remove unused member.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2891 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-19 21:41:21 +00:00
hybrid 34f496f76a Remove GLU from linker flags.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2890 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-19 17:35:47 +00:00
hybrid 0d0d879080 Constification and code layout.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2888 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-19 14:16:52 +00:00
hybrid 45b3d37ec5 Minor render state changes for proper state exit.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2887 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-19 14:03:05 +00:00
hybrid b1f728db13 Merge the UserClipPlane elements into a common struct.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2886 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-19 09:51:51 +00:00
hybrid 559cdaebac Init moved to genericInit in Driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2884 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-18 12:58:48 +00:00
hybrid 237464bb1f Make sure we properly init all matrices in OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2883 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-18 12:58:23 +00:00
monstrobishi d7d497f0e5 - Fixed compile error in getHorizontalAngle() (Ambiguous method call to atan2).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2882 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-18 05:32:58 +00:00
hybrid 9cda111b6a Add duplicated archive mounting test, fix some precision problems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2881 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:41:45 +00:00
hybrid 1b89cef4a3 Fix precision problems in getHorizontalAngle.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2880 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:36:22 +00:00
hybrid db4c7a2caf Remove extra commas
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2879 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:35:21 +00:00
hybrid 590cd72782 Make path check use absolutePaths on both sides. Fixes duplicated archive insertion problems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2878 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:12:45 +00:00
hybrid 6c62592d5b Fix precision problems in new method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2877 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:10:57 +00:00