Rogerborg
2a3eb2c20d
Add missing test file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1981 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-20 11:18:07 +00:00
Rogerborg
04a344c75d
Add an ISceneNodeAnimator::hasFinished() method. It can only return true for non-looping delete, fly straight and texture animators.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1980 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-19 23:21:26 +00:00
Rogerborg
baa858b66c
From IRC: CSceneCollisionManager::getPickedNodeBB() unconditionally checks collision against children, so visible children of invisible nodes can be hit. This seems nonsensical, so we now only check children of visible nodes.
...
Also clarified the comments on ISceneNode::setVisible() and isVisible(), and added a new method, isTrulyVisible() that recursively checks any Parent nodes as well.
Unit/regression tests updated, verifying that they tested (and failed) with the old behaviour and pass with the new.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1978 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-19 11:51:51 +00:00
hybrid
4e3f078ef6
Merged all revisions up to 1975 from 1.5 branch. Boiled down to changes.txt fix and terrain fix, all others were already commited.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1976 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-18 17:27:57 +00:00
Rogerborg
b2ea2b3fee
Fix Maya and FPS cameras so that they only animate if they are:
...
1) The active camera.
2) Receiving input.
This allows example 09.Meshviewer (with two cameras) to work as expected. Replace the magic numbers in that example with enumerated values.
This patch also exposes ISceneNode::SceneManager through a public getSceneManager() API.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1974 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-18 15:25:30 +00:00
Rogerborg
dfc9db6ca1
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=31490
...
Another poke at matrix4::transformPlane(). Tested with the example from the report, a (1,5,1) scaled node in 02.Quake3Map, and the existing regression tests, with some expected results updated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1970 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-17 23:52:19 +00:00
hybrid
f093ed8d32
Fix meshbuffer creation for new groups.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1968 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-17 15:55:25 +00:00
hybrid
9f2d1075fe
Added debug info in ms3d loader.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1967 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-17 15:54:08 +00:00
Rogerborg
7e336eea29
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=180192
...
Have the FPS animator set the cursor to the window centre unconditionally to cope with the cursor escaping the window.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1966 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-17 13:01:46 +00:00
Rogerborg
0025933fb0
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=31496
...
Forget about the cached mesh frame for animated mesh scene nodes when the mesh is changed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1963 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-17 11:28:16 +00:00
Rogerborg
e8cbe44b1f
Merge SVN 1961 (C::B project fix) to trunk.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1962 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-16 17:40:05 +00:00
Rogerborg
96b28d9162
Actually SVN add the new unit test files for collisionResponseAnimator and sceneCollisionManager...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1959 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-16 16:18:33 +00:00
Rogerborg
340b984ced
Add a hitPosition to ISceneCollisionManager::getCollisionResultPosition() as per
...
https://sourceforge.net/tracker2/?func=detail&aid=1339139&group_id=74339&atid=540679
This is a very small API breaking change to a method that's unlikely to be heavily used in user code. It is commented in the declaration, in changes.txt and a unit test has been added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1958 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-16 16:16:35 +00:00
Rogerborg
1b628ef663
Expose the target scene nodes of collision response animators. Setting the target forces an update of its last position. This allows a setPosition() to take effect without being blocked by the collision geometry. Added comments to this effect, a unit test, and some unrelated !node checks in all the animators' animateNode() methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1957 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-16 15:07:01 +00:00
hybrid
9bc11201d5
Merged from 1.5 branch to trunk, all changes from 1933 to 1953. Camera and animation fixes, project file updates, etc.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1954 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-15 14:18:11 +00:00
hybrid
7e9e5f179f
Removed some debug tests left over in previous revision
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1950 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-13 23:13:17 +00:00
hybrid
60814bf872
Added support for FVF data. Added support for 2nd UV coord set from either FVF data or DeclData.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1949 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-13 23:09:39 +00:00
hybrid
05ac2ef679
Separated specualr settings from other color settings. Made changes propagate even when shininess is 0, which introduced some renderstate bugs previously.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1948 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-13 23:06:32 +00:00
hybrid
ad43762777
Merged from 1.5 branch to trunk, all changes from 1913 to 1932. Mostly example and test fixes. Some bug fixes, camera interface changes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1933 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-08 17:06:34 +00:00
hybrid
ace653f4fc
Merged revisions 1885:1912 from 1.5 branch. More unit tests and bug fixes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1913 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-03 22:26:53 +00:00
hybrid
7a1fac9dfb
Merged revisiosn 1851:1883 from 1.5 branch. unit tests and severla bug fixes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1884 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-29 22:35:56 +00:00
hybrid
19491a579f
Merged from 1.5 branch revisions 1837:1850. Light property changes, shader problems fixed, OSX resize fixed, meshloader debug messages disabled.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1851 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-27 23:25:20 +00:00
hybrid
0b03402773
Merged from 1.5 branch to trunk, all changes from 1821 to 1835. Mostly warning fixes, GL ASM shaders repaired, d3d9 RTTs less memory consuming, skinned mesh bboxes updating.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1837 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-26 10:44:30 +00:00
hybrid
f778a1eb7f
further merged from 1.5 branch to trunk, all changes from 1815 to 1819.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1821 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-24 17:34:27 +00:00
Rogerborg
b548cee8fc
Clarify the comment on matrix4::getRotationDegrees() to explain that the returned Euler triplet will be an equivalent rotation to that set by setRotationDegrees(), just not necessarily identical to it.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1814 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-23 15:25:38 +00:00
Rogerborg
e0bf67e05e
Tidy up the User Interface example to pass a context instead of using globals, and enumerate values instead of using magic numbers. Just for niceness.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1813 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-23 13:36:30 +00:00
hybrid
ed72437ee4
Flip terrain heightmap and texture coords. Now the heightmap and texture are used unaltered - the terrain looks like the texture/heightmap when looked from high above.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1812 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-23 00:40:38 +00:00
Rogerborg
a83051f62e
Bug https://sourceforge.net/tracker/index.php?func=detail&aid=1769820&group_id=74339&atid=540676
...
Significant internal change to the way that FPS camera jump speed and collision response animator gravity interact. The behaviour is now much more realistic, but it will require you to adjust your jump speed and gravity.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1811 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-22 23:41:11 +00:00
Rogerborg
f7dfda9f1f
Replace magic numbers with equivalent EKA_FOO values. Smoke tested.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1810 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-22 22:45:03 +00:00
hybrid
ed9e453d7f
Add debugdata normal rendering to terrain node.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1809 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-22 22:14:46 +00:00
hybrid
8d288d3213
Fixed init warning from gcc.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1808 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-22 22:14:12 +00:00
Rogerborg
d639c5c6f8
Scale the sky box to the average of the near and far clip planes so that it doesn't get clipped. Test by adding (e.g.) camera->setNearValue(100.f); to example 12.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1807 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-22 21:54:09 +00:00
Rogerborg
990410fc5b
Bug #2318880 : in CCubeSceneNode::setSize(), add vertices from index 0 to prevent multiple calls of setSize() adding new vertices, but re-sizing the first 12.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1806 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-22 21:32:39 +00:00
Rogerborg
1c0fab0d96
Update the bounding boxes of animated skinned meshes. (Attempt to) remove duplication of the recalculation of frames of animated meshes in CAnimatedMeshSceneNode::OnAnimate() and CAnimatedMeshSceneNode::render().
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1805 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 23:19:52 +00:00
hybrid
def976c109
Fixed some minor warnings
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1804 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 16:41:30 +00:00
hybrid
bc536750d4
Fixed call to stringc.append
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1803 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 16:38:33 +00:00
Rogerborg
aee0f5b8c8
Fix an uninitialised warning in fast_atof.h
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1802 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 15:56:25 +00:00
Rogerborg
7bed51f531
Making a minimal comment change to changes.txt in order to commit revision 1800 and spoil Hybrid's Friday afternoon.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1801 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 15:09:01 +00:00
hybrid
3bc084229e
Properly initialize particle system in the init list.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1800 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 15:08:40 +00:00
hybrid
ad62c01608
Fix device reset in combination with large RTTs. All DepthBuffers need to be released and recreated...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1799 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 14:36:57 +00:00
Rogerborg
e96027cbec
Have CBillboardTextSceneNode use the default GUI font if no font is specified. Also rename "shade_top"/"shade_down" to colorTop / colorBottom (and similarly for other "shade" parameters and members) in *BillboardSceneNode, *SceneManager and *TextSceneNode.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1798 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 13:24:59 +00:00
hybrid
f2066bdeca
Remove internal use of setParticleSize.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1797 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 13:04:59 +00:00
hybrid
3915fd9c9e
Makefile for concurrent builds.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1796 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 11:43:25 +00:00
hybrid
d75d4041b1
Ignore obj directory from MSVC
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1795 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 00:05:17 +00:00
hybrid
deb8b0dba4
another little optimization
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1794 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 00:02:58 +00:00
hybrid
236d6c33d9
Changed from f64 C-array to core::array, some minor optimizations.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1793 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:50:43 +00:00
Rogerborg
7004d4a175
Clarify the comments on ISceneNode::setDebugDataVisible() / isDebugDataVisible().
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1792 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:32:44 +00:00
Rogerborg
98f2250560
Rename IGUIElement::setProportionalPosition() to setRelativePositionProportional()
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1790 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:22:59 +00:00
hybrid
b6f9e543e5
Make proper texture coords which are not clamped...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1789 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:07:53 +00:00
hybrid
4a89e8f7bf
Removed extra letters.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1788 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 22:35:37 +00:00