hybrid
31e8ed045a
Convert CAttributes Parameter member to dynamic memory allocation, as it is reference counted.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4385 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-27 00:44:19 +00:00
cutealien
1965979541
Add getters IGUIButton::isDrawBorderEnabled and IGUIButton::isDrawBackgroundEnabled
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4384 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-26 16:23:58 +00:00
hybrid
9e20d967b8
Merged 1.8 branch, revision 4380, compile fix
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4381 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-23 11:54:36 +00:00
hybrid
ae25bdf202
Merged from 1.8 branch, revisions 4345-4378. All release fixes since the branch to 1.8, and some fixes after that. Now commencing development on this branch, and only bug fixes on the others.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4379 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-20 18:31:33 +00:00
hybrid
36ad2bb93e
Merge from 1.7 branch. revisions 4319-4343. Compiler problem and STL loader fixes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4344 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-30 14:57:54 +00:00
hybrid
64e4fe5717
Add shadow interface to static meshes
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4333 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-18 23:19:45 +00:00
hybrid
b61b29f52b
Bug fix for render state updates
...
Unification of d3d8 and d3d9 implementation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4329 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-16 23:53:46 +00:00
cutealien
3d892c5096
Remove redundant code-line (thx @ chronologicaldot for reporting).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4328 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-16 10:35:59 +00:00
Nadro
b6f902f13f
- decreased default infinity value from 10000.0f to 1000.0f.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4327 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-15 21:12:53 +00:00
Nadro
40933b9ef6
- Fixed problem with a wrong type of GL_DEPTH_COMPONENT on MacOSX.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4326 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-11 16:02:01 +00:00
Nadro
b5539bdfe6
- Fixed a problem with ZFail shadows, when back cap was behind of far plane.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4325 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-10 23:23:09 +00:00
Nadro
18d6f0c7cf
- Fixed alt+tab issue under fullscreen OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4324 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-05 17:07:22 +00:00
Nadro
f8d77add00
- Added missing methods for Cg interface.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4323 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-03 18:25:19 +00:00
cutealien
5a265656cc
Fix compiling with _IRR_WCHAR_FILESYSTEM on MinGW. Thx @ alexzk for reporting. Note that I tested this with gcc 4.7.0 and only compiling is tested.
...
Also added some documentation that UNICODE must be set as well for compiling with _IRR_WCHAR_FILESYSTEM ('cause I always forget to set that at first otherwise...).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4322 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-03 10:51:20 +00:00
cutealien
cbe3f1ac70
Add skin-constants to control push-button behavior better.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4321 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-01 16:31:34 +00:00
hybrid
0a2330890a
Bump copyright to 2012
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4320 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-30 23:38:54 +00:00
hybrid
c0f9e06dff
Merged revisions 4208-4318 from 1.7 branch. Aliasing fix for CAttributeImpl only.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4319 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-30 22:33:11 +00:00
lukeph
e7c904e299
typo reported by KroArtem
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4318 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-25 10:03:20 +00:00
Nadro
3cf4e010f0
- Fixed shadows issue in example no. 8.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4317 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-20 14:12:11 +00:00
Nadro
0942a6d360
- Fixed some minor problems with zfail shadow volumes (problem with an infinite matrix still exist).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4316 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-20 02:50:48 +00:00
Nadro
ff51e31363
- Fixed ZFail shadows problem related to second - unnecessary shadow on the scene (only minor problems related to less depth exist).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4315 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-18 14:37:47 +00:00
Nadro
be047b4885
- Backward shift shadow pass as the last render pass (it was changed rev4312).
...
- Fixed reset material issues in D3D9 driver which solve shadow bug issue visible in example no. 8 (small, movable shadow bug still exist).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4314 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-18 07:50:58 +00:00
Nadro
f84412dc66
- Fixed D3D9 shadow bug visible in Example no. 8.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4313 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-18 06:27:52 +00:00
hybrid
0755c18c3b
Fix problem with 64bit systems, due to wrong return types used. Problem still persists with mingw, where the return type is used as before and is kept via ifdef.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4312 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-17 21:41:52 +00:00
cutealien
b607c3afa9
Allow preventing Collada export for lights and cameras now same way as for other nodes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4310 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-14 12:39:24 +00:00
cutealien
a87bb3a063
- Fix a bunch of off-by one errors in irr::core::string in functions equals_substring_ignore_case, findFirst, findFirstChar, findNext, findLast, findLastChar, replace, remove and removeChars. This prevents some potential memory access errors, find functions no longer try to find the \0, replace no longer replaces the \0 and remove no longer tries to remove it (which did remove the last character instead).
...
- Fix a few new warnings in gcc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4308 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-06 19:49:45 +00:00
cutealien
74d18ec67e
Fix crash with null-driver in combination with IrrDeviceLinux caused by my last check-in. Thx @ all reporting that.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4307 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-05 19:17:57 +00:00
cutealien
ebc16c6e72
Release inviscursor in IrrDeviceLinux. Thanks @hendu for reporting.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4306 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-02 18:44:29 +00:00
hybrid
5f509b2185
Oops, actually three file formats with two enabling defines. Fixed now for both (LMP and WAL).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4305 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-24 20:29:34 +00:00
hybrid
3bd9de3070
Fixing compile time enabler guards for the image loaders. Bug, i.e. missing parts, found by hendu.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4304 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-24 20:17:27 +00:00
hybrid
4e1426e465
Remove event handling in device constructor. Seems it was not really the cause for the problems, only the missing size update of the d3d9 driver. To avoid complications, only the least change was left in.
...
Also improved the userclipplane test to really show errors in case of the original problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4303 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 23:45:53 +00:00
hybrid
af7b86ea77
Last project file for old msvc
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4299 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 09:32:51 +00:00
hybrid
ecc6ea3884
First try for MSVC2012 project files. conversion seems to have worked, though some warnings for 64bit targets were shown.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4298 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-22 23:14:16 +00:00
cutealien
83b118c396
Collada exporter now writes cameras.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4296 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-21 17:15:12 +00:00
hybrid
1ea1bbaa7a
Fix user clip planes. For D3D only a security measure in case plane3d changes. For OpenGL we fixed the user clip planes to world coords now. This is coherent with D3D usage and more natural. Bug fix suggested by heda.
...
I've also removed the clip plane upload from the projection matrix setting. I don't think it's needed there. At least my test cases don't need it. If someone finds a problem with this change, please report in the forum.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4291 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 15:19:46 +00:00
hybrid
eaeb461d67
Move system message handling into own function
...
Process events and resize operation upon startup once to initialize everything, fixing user clip planes which are defined before first device->run()
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4290 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 14:51:12 +00:00
hybrid
d869aa5dd4
Revert changes from last two commits regarding odd alignment
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4289 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 12:42:48 +00:00
hybrid
6978f503e6
Skip rendering of lines, points, polygons, and triangle fans, as these lead to crahses due to wrong access to the vertex lists. A fix would need major rewrite of the vertex cache, or at least some other render methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4288 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 22:43:53 +00:00
hybrid
27aae0477c
I think this one is better. Guess I should've searched for a test case...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4287 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 20:23:21 +00:00
hybrid
8e50010b4a
Fix alignment problem with odd sized images
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4286 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 20:20:52 +00:00
hybrid
820108a79f
Add mipmap generation for makeColorKeyTexture
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4285 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 16:22:33 +00:00
hybrid
516faec05b
Add another saveScene overload which allows to pass in a user-created XMLWriter. Patch suggested by eversilver.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4284 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 15:20:22 +00:00
cutealien
86bd1032f9
ColladaExporter does now cache material-names on export by default which leads to smaller .dae files.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4279 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 10:36:25 +00:00
cutealien
9459acf1ee
Added IColladaMeshWriterProperties::useNodeMaterial to allow handling custom ISceneNode implementation on export.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4278 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 08:49:46 +00:00
cutealien
f1aea87c1a
- IColladaMeshWriter now writes a scene by default (most tools can't handle .dae's otherwise)
...
- In CColladaMeshWriter the texcoords in in mesh-source and those in texture (for effects) don't use the same name anymore. bind_vertex_input does handle that connection and having the same name had complicated the code (and was confusing)
- In Collada export mesh-geometries can now be copied when different materials are using the same mesh. Reason was that many tools (all I tested so far including Irrlicht) can't handle such materials otherwise.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4277 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-14 20:17:39 +00:00
cutealien
26f44f6f48
quaternion conversions to and from matrix4 no longer invert rotations. Define IRR_TEST_BROKEN_QUATERNION_USE in quaternion.h allows compile-tests to find affected code (see changes.txt for more info). Loaders for b3d, ms3d, ogre and .X just use transposed matrixes now for downward compatibility - meaning if it worked before it still works - if it was broken before it's still broken. Same for CSkinnedMesh. For collada (.dae) loader this fixed previously wrong rotations.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4276 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-14 19:12:49 +00:00
cutealien
1cc1271e9b
Add some documentation for last check-in.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4275 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-13 09:55:16 +00:00
cutealien
9f66a1f43d
Distinguish on collada-export between DummyTransformationSceneNode and other nodes and export matrix for the former and position, rotation, scale for the latter. That way we can maybe get rid of the increasing the number of nodes on each import later on.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4274 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-13 09:50:31 +00:00
cutealien
41efacc9c1
- CGUIEnvironment::loadGui - loading a gui into a target-element no longer messes up when the gui-file contained guienvironment serialization.
...
- Improve IGUIEnvironment::loadGui documentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4272 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-11 18:23:23 +00:00
cutealien
af0ccd9de8
Clean up some confusing variable naming in ColladaMeshWriter and build some id-string together a little earlier to not create it that often unnecessarily.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4271 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-10 16:26:11 +00:00