Commit Graph

2980 Commits (7f8604ca9322f47444d4af04bbc0c3a79f33baf2)

Author SHA1 Message Date
cutealien 7f8604ca93 Merge branch releases/1.8 revisions 5140:5149 into trunk:
- Add warning in tests when stabilizing screenshots fails 
(Note - it still fails sometimes, just less now with trying to get a good screenshot)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5150 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-06 20:48:42 +00:00
nadro eef7353833 - Added projects for Visual Studio 2014. Due to a problems with Windows7.1 SDK on Windows 10 those projects are recommended for users of this OS.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5148 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-01 22:59:08 +00:00
cutealien c7c5f166fe Rolled back to r5145. We're still disucssing better solutions
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5147 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-28 09:17:47 +00:00
nadro f6ac9e1906 - Updated Visual Studio 12.0 build platform.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5146 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-27 18:16:10 +00:00
cutealien 4c8da4892e Make Win32Window example compatible with the UNICODE define.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5145 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-25 09:37:07 +00:00
cutealien d491626bf9 Fix compiling with USE_IRRKLANG enabled. Thx@ AReichl for reporting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5144 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-25 09:21:36 +00:00
nadro 02b49eea1b - Added exampleHelper and updated all examples. This is a base patch for upcoming patches related to iOS and OSX.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5143 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-24 22:44:32 +00:00
cutealien cacfc0a8b0 Make certain the override macro can also be used in gcc5 when c++11 is set.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5142 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-20 19:11:03 +00:00
cutealien b3ba72ab74 Merge branch releases/1.8 revisions 5129:5140 into trunk:
- Set the platform SDK for VS2010 and VS 2012 throughout to Windows7.1SDK
- Fix the fix for compiling on GCC5


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5141 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-20 11:19:26 +00:00
cutealien c3e94cf597 Change all VS 12 project files to use Windows SDK7.1 for compatibility between different VS versions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5140 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-19 14:39:52 +00:00
cutealien c821f52bda Use Windows 7.1 SDK for Irrlicht (otherwise different VS versions are not compatible).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5139 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-19 14:31:49 +00:00
cutealien 19435a22f4 - Fix: CGUIImage no longer scales wrong when working with textures which don't have the original image size.
- Fix CSoftwareTexture2 calculation for OriginalSize of ITexture. It had returned the changed texture size instead of the original one.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5138 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-16 21:11:30 +00:00
cutealien 1741e3e4d1 Add override macro to ISceneNodeAnimator::OnEvent. Thx @IrrlichtForiOS for report.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5137 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-14 11:28:06 +00:00
cutealien 6e48dfe928 Merge branch releases/1.8 revisions 5125:5127 into trunk:
- Fix compiling with IRR_LINUX_XCURSOR_


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5128 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-29 16:26:05 +00:00
cutealien d72189faf2 Merge branch releases/1.8 revisions 5121:5124 into trunk:
- Fix compiling with -DNO_IRR_COMPILE_WITH_LIBJPEG_


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5125 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-29 14:48:50 +00:00
cutealien acd601edbc Merge branch releases/1.8 revisions 5104:5120 into trunk:
- Fix compiling on GCC5 on MinGW


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5121 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-26 21:04:11 +00:00
cutealien 125e73ef55 Fix skinned meshes not playing their last frame.
Also clarified animation documentation to describe current behavior more exactly.
CSkinnedMesh had returned the last key instead of the number of keys.
Thx to whoever mentioned to me once that our example dwarf is not playing his full animation in the meshviewer.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5118 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-13 21:29:09 +00:00
cutealien 44e73315e9 Add comment about strange color conversions also to CColorConverter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5116 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-11 10:04:48 +00:00
cutealien 16684d9f19 Add comment about RGB formats which are often flipped in memory.
Thx@ Squarefox for reporting.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5115 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-11 09:54:13 +00:00
cutealien 6ac1f8d5db Add IWriteFile::flush interface (thx @ JLouisB for the patch).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5114 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-08 11:42:37 +00:00
cutealien a5325964eb Do return references local statics instead of references to 0 in error cases (was undefined in c++).
Thx @floriang for reporting at http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=50877



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5112 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-30 21:49:29 +00:00
cutealien fbd317496c CLightSceneNode::updateAbsolutePosition does now light recalculations. This is to fix using animators with lights.
Thx @chronologicaldot for report.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5111 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-29 00:15:02 +00:00
cutealien 520f1f27cf Use %u instead of %d for unsigned integers in printf in a few places.
Found by VS code analysis.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5109 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-12 22:10:27 +00:00
cutealien 4919ac1926 Fix copy-paste bug in DDS image loader (could have caused problems in images where height > width).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5108 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-12 21:21:45 +00:00
cutealien 6a3127c8de Fix Collada (dae) export for objects with rotations around more than 1 axis.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5107 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-06-05 15:03:09 +00:00
cutealien b0988a33a6 Add ISceneNodeAnimatorCameraMaya::setTargetMinDistance and getTargetMinDistance which allow to keep a distance to the zoom target.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5106 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-06-04 08:52:33 +00:00
cutealien 89640518bf Tiny comment fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5105 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-27 20:23:56 +00:00
cutealien 8db0549ea7 Merge branch releases/1.8 revisions 5101:5103 into trunk:
- Fixed compilation issues with OSX SDK 10.10+


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5104 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-11 10:56:00 +00:00
cutealien 50c2efb3e9 Merge branch releases/1.8 revisions 5000:5101 into trunk:
- Fix loading of .X and .B3D models with non-normalized quaternion rotations


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5102 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-05 17:05:38 +00:00
cutealien 9ee9422a1b Add override font to IGUITreeView (thx @Escen for reminder)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5100 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-04 19:46:32 +00:00
cutealien b37ff9f619 CGUIComboBox now updates selection-list when font changes while it's open (thx @ rubixcuber for bugreport)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5099 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-04 18:49:34 +00:00
cutealien 6fc71dfd38 Remove compile warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5098 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-28 22:30:44 +00:00
cutealien e138121a1d CAnimatedMeshSceneNode::setMesh does now set the animation speed again to that of the mesh.
.x meshloader regards now AnimTicksPerSecond (thx @qian for a test-model and bugreport).
CAnimatedMeshSceneNode::setMesh had commented-out the setAnimationSpeed line in version r3526 which was about a joint-cache fix for skinned meshes. But there was no comment about why that line had to be removed or commented out, so my guess is that this was only a test (I hope). And it caused animation-speed values for the meshes to be ignored unless user specified it explicitly while animation range was still changed in setMesh.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5097 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-27 13:01:24 +00:00
cutealien a5911bc765 Fix compiling with _IRR_COMPILE_WITH_BURNINGSVIDEO_ disabled. Thx @SLC for reporting.
That dreadFun function looks rather suspiciously like some test which doesn't belong into Irrlicht anyway... 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5096 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-25 15:52:29 +00:00
cutealien e6c197fa87 Add b3d mesh-writer.
- Interface getMeshType moved from IAnimatedMesh up to IMesh.
- Static b3d mesh-writer written by Hendu, support for animated meshes added by JLouisB, testing and bugfixes by CuteAlien.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5095 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-23 18:11:52 +00:00
cutealien c6eec21cec Cameras return again an empty boundingbox (at 0,0,0) instead of returning the frustum boundingbox. Thx @robmar for reporting this.
You can still access the frustum boundingbox through the frustum itself.
Also CSceneCollisionManager collision functions ignore now empty collision boxes.
This means cameras no longer show up in the node-collision of the SceneCollisionManager.
Tests have been adapted correspondingly.
Note that this behavior was once before changed in Irrlicht (rev. 345). But it was one of many changes and there was no documentation or log-message about why anyone would like
the cameras to show up in node-collisions based on their frustum boundingbox. Without any hints about the why I decided to change it back as it's just confusing.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5094 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-19 19:55:07 +00:00
cutealien 1ba2963ee2 Cast away some warnings on 64-bit.
(checked ranges of available values - casts look fine there).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5093 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-17 13:17:24 +00:00
cutealien df7fd7873e Remove D3D8 tests.
Move ECOLOR_FORMAT enums added in r4984 to the end (adding in them in the middle can mess with serialization).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5092 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-15 21:04:01 +00:00
cutealien 3ef49054a8 Fix a problem in IrrlichtDevice::setResizable that caused window titlebars to hide occasionally under the taskbar in some systems (Ubuntu, Mint).
This was caused by quick calls to XUnmapWindow followed by XMapWindow which some WM's can't handle. 
Adding a long sleep call (~200ms) in between would have been a workaround, but looked ugly as the window is hidden in the meantime.
I found no reference in X11 documentation that unmapping is necessary for this, so I removed those calls now.
Changing the resize flags still works in my tests on Debian and Ubuntu. If it causes problems we have to switch to the ugly hack 
or get certain systems to repair their window managers.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5091 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-14 19:57:45 +00:00
cutealien ce863d1037 Update test drawVertexPrimitives
- new media for OpenGL-drawVPL_h. This test is about finding out if things changed, and this result has been like it is now at least since 1.8
- required match can be reduce for this test, as minor aliasing artifacts always are different between cards and don't matter here.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5090 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-11 16:08:54 +00:00
cutealien 6110f43d33 Fix documentation for SMaterial.AntiAliasing
The defaults had been changed in Irrlicht 1.6 (svn r2925) as line-smoothing did sometimes lead to software emulation under OpenGL.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5089 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-11 14:26:50 +00:00
cutealien 9fc25d9648 Update tests media.
- viePortText has improved according to Thomas
- flyCircleAnimator... again brightness differences (maybe due to latest material fixes). If that comes up again will have to investigate further.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5088 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-11 13:20:41 +00:00
cutealien 69810d0e1a Fix bug in atof test. Thx @cerf for reporting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5087 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-10 16:37:25 +00:00
cutealien ab0ca53b3c SMaterial::isTransparent now nearly back to how it looked like once.
Otherwise materials like EMT_TRANSPARENT_ALPHA_CHANNEL no longer worked.
Not sure if this is now causing other problems, but it no longer seems to break the known cases (tests about that pass again). If there are new problems we need new tests to show 'em.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5086 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-09 22:29:50 +00:00
cutealien 3871ba4ae5 Remove D3D8 test media.
No longer needed due to dx8 removal.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5085 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-09 20:30:31 +00:00
cutealien 0d767d4206 Update test-media for 2dmaterial test and burnings
(new result looks better, media just didn't get updated when it was changed).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5084 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-09 12:22:55 +00:00
cutealien 3ea43f605e Correct debug-name for CMeshBuffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5083 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-08 22:11:01 +00:00
cutealien 491f571956 Comment some problems in current .irr loader and offer workarounds.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5082 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-08 22:09:41 +00:00
cutealien 05ae7cf0ea Fix bug in ISceneNode::deserializeAttributes which did set scale to 0 when no attribute was given.
Was using the wrong variable (RelativeRotation instead of RelativeScale) as default value.
This was also not working in older Irrlicht versions, but can't be fixed there as those had no default parameters for getAttribute yet.
This allows for example to load .irr files created with new CopperCube while setting a parent-node (some attributes will still be ignored as .irr files always expect the scene itself as parent, that would need some special SceneNode type to work around).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5081 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-08 22:00:41 +00:00
nadro cc6cae2e68 - Fixed issue related to D3D9 device lost and broken blending. Thanks CuteAlien for report this bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5080 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-07 22:13:57 +00:00