- 06 Jan, 2009 2 commits
-
-
Rogerborg authored
Another fix to CSceneCollisionManager::getPickedNodeBB(). Ensure that the collision point with the plane of a box is actually on the box surface rather than outside it. Retested with regression test and example 07. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2048 dfc29bdd-3216-0410-991c-e03cc46cb475
-
Rogerborg authored
Change ray/bounding box selection so that the nearest node is determined by the actual collision point with the bounding box (or the distance to the box centre if the ray starts inside the box). Since this is a functional change from the old behaviour, I'm only committing to the trunk. This will be slightly slower than the old method, but should return the correct node; I consider accuracy to take priority over efficiency for collision. tests/sceneCollisionManager.cpp has been updated, as has examples/07.Collision/main.cpp. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2047 dfc29bdd-3216-0410-991c-e03cc46cb475
-
- 05 Jan, 2009 7 commits
-
-
hybrid authored
Merged from 1.5 branch to trunk, all changes from 2018 to 2041. OSX keyboard fix, OpenGL version fix, some tests fixed. Example 9 text position fixed. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2042 dfc29bdd-3216-0410-991c-e03cc46cb475
-
Rogerborg authored
Update trunk tests: add textureRenderStates.cpp to tests_vc8.proj and tests.cbp; fix reversed logic in irrCoreEqual.cpp (the test wasn't being run); re-base the trunk tests/main.cpp on 1.5 tests/main.cpp, with the addition of those tests only available on the trunk. Tested on Windows with MSVC 2005 and Code::Blocks, with a local trunk re-application of the terrainSceneNode.cpp change in SVN 2039 (which will get merged down separately). I'll re-test on Linux as soon as I've committed this. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2040 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2038 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2035 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
Made the Anisotropic Filter degree configurable via the SMaterialLayer member which had been a bool formerly. Using the setFlag in SMaterial should still give MaxAnisotropy level as before. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2034 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2032 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2031 dfc29bdd-3216-0410-991c-e03cc46cb475
-
- 04 Jan, 2009 5 commits
-
-
hybrid authored
Hmm, didn't save the last files before committing. So this is the actual test cases which runs through. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2030 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
Added orthogonality check in matrix class, based on a patch by Halifax. Also added some (rather trivial) testcases, corner cases have to be identified... git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2029 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2028 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2027 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2026 dfc29bdd-3216-0410-991c-e03cc46cb475
-
- 03 Jan, 2009 1 commit
-
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2025 dfc29bdd-3216-0410-991c-e03cc46cb475
-
- 02 Jan, 2009 1 commit
-
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2017 dfc29bdd-3216-0410-991c-e03cc46cb475
-
- 30 Dec, 2008 5 commits
-
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2006 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
Merged revisions 1972:2004 from 1.5 branch, except for some revisions which seemed to be merged already. MD2 loader updated, terrain node fixed, opengl texture handling fixed. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2005 dfc29bdd-3216-0410-991c-e03cc46cb475
-
rogerborg authored
Merge fix for CTerrainSceneNode::preRenderLODCalculations() to trunk; take the camera's up vector into account when determining whether terrain scene node visibility needs to be rechecked. New test added; thanks to Travis for another great test case. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2003 dfc29bdd-3216-0410-991c-e03cc46cb475
-
rogerborg authored
Add missing irrCoreEquals.cpp test file. Update changes.txt to note that position2d is now a synonym for vector2d. Add proper doxygen \deprecated tags for position2d. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2001 dfc29bdd-3216-0410-991c-e03cc46cb475
-
rogerborg authored
Make position2d a typedef of vector2d. Very tentatively deprecate position2d. Add the position2d methods that operate on a dimension2d to vector2d. Add vector2d constructor and equality methods to dimension2d. Add a new test case that verifies that vector2d and position2d are interchangeable, and that vector2d and dimension2d can operate on and implicitly convert each other. Remove the now duplicate position2d methods from CAttributeImpl. Tested with unit/regression tests and building all the examples. This should be a transparent change for users. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2000 dfc29bdd-3216-0410-991c-e03cc46cb475
-
- 29 Dec, 2008 7 commits
-
-
rogerborg authored
Make the integral versions of irr::core::equals() do a direct == comparison when no explicit tolerance is specified, rather than using an implicit tolerance of 0. The floating point versions are unchanged. New unit test added. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1999 dfc29bdd-3216-0410-991c-e03cc46cb475
-
rogerborg authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1998 dfc29bdd-3216-0410-991c-e03cc46cb475
-
bitplane authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1993 dfc29bdd-3216-0410-991c-e03cc46cb475
-
rogerborg authored
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=181419 Partial fix for CSceneCollisionManager::getPickedNodeBB(), but we should push on and do a proper test for the actual intersection point with each hit cube. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1991 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1989 dfc29bdd-3216-0410-991c-e03cc46cb475
-
rogerborg authored
Fixing some benign but annoying build warnings about unhandled values in switch statements and order of pre-constructor instantiation. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1988 dfc29bdd-3216-0410-991c-e03cc46cb475
-
rogerborg authored
Fix bug in dimension2d::operator+=. Add operator-= and have operator == use core::equals() while I'm in there. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1984 dfc29bdd-3216-0410-991c-e03cc46cb475
-
- 20 Dec, 2008 2 commits
-
-
Rogerborg authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1981 dfc29bdd-3216-0410-991c-e03cc46cb475
-
Rogerborg authored
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
-
- 19 Dec, 2008 2 commits
-
-
Rogerborg authored
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
-
hybrid authored
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
-
- 18 Dec, 2008 2 commits
-
-
Rogerborg authored
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
-
Rogerborg authored
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
-
- 17 Dec, 2008 6 commits
-
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1968 dfc29bdd-3216-0410-991c-e03cc46cb475
-
hybrid authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1967 dfc29bdd-3216-0410-991c-e03cc46cb475
-
Rogerborg authored
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
-
Rogerborg authored
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
-
Rogerborg authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1962 dfc29bdd-3216-0410-991c-e03cc46cb475
-
Rogerborg authored
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1959 dfc29bdd-3216-0410-991c-e03cc46cb475
-