Commit Graph

24 Commits (2f8b537d25bcf2038dc15ff94e3f007a0fa305b6)

Author SHA1 Message Date
hybrid 5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
hybrid bb4727f201 Use new typedef.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2786 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 10:22:29 +00:00
hybrid 157cd67caf Merged revisions 2622:2663 from branch 1.6. SMaterial bug, MS3D patch, LWO fix. Better Shift recognition under 2in32. D3D depth buffer MSAA problems fixed. string<c16> changed to io::path. Fix 2dimagebatch, add better mtl file finder. Fix some OpenGL extension checks. Fixed x86-64 warnings. Export symbols in gcc4. Scolling in GUITab fixed. Fixed PixelBlend16 and SW driver. FPS cam stuttering fixed. OSX project additions. New scene parameter to ignore obj's mtl files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2664 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-24 09:12:27 +00:00
bitplane 2a5a21fce4 Reset all line endings to Windows-style CRLF
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2268 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-10 20:46:58 +00:00
hybrid 2f2e88d8f4 Fix reorder warning in .x loader.
Remove unused member from FPS cam.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2073 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-14 13:01:20 +00:00
hybrid 7472bcd83c Merged from 1.5 branch to trunk, all changes from 2042 to 2071. cursor setVisible fix, OSX FPS cam fix, ALPHA_CHANNEL_REF fix, new method draw2dRectOutline, setOverrideFont fixes, getCollisisonPoint distance bug fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2072 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-14 12:37:51 +00:00
bitplane 4b01f2040f Added a method to invert the Y axis of the FPS camera animator. [1150796]
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2054 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-08 01:25:22 +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 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 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 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
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
Rogerborg 4a4c48acb3 Fix the fix for FPS camera rotations; use a minimum length vector when the camera is at the origin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1781 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 22:14:59 +00:00
Rogerborg 47820ecbe7 Scale the FPS camera look at vector based on the magnitude of the camera's position, to prevent the rotation being swamped by the position.
Tested with the problem data from:
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=27958

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1780 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 21:20:30 +00:00
Rogerborg 86382da2a3 Add a publicly configurable binding between camera target and scene node rotation. By default, they are independent. FPS cameras have their scene node rotation follow their target, which restores the <=1.4.2 behaviour. This is Work In Progress, as the ordering of events isn't quite correct yet: there's a visible lag between FPS camera scene node childrens' relative position catching up with the camera rotation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1748 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 15:10:39 +00:00
teella 3d78d2a9f4 implemented createClone in ISceneNodeAnimators
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1631 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-13 02:55:54 +00:00
hybrid ad669fc78d Added fix by drewbacca which avoids spinning camera if the event receiver is disabled while mouse was moved.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1430 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:35:36 +00:00
bitplane 1833dcdb23 Camera FPS animator: Fixed float scaling bug. When horizontal movement is disabled the camera now moves at a constant speed regardless of angle.
Collision response animator now animates camera target (can be disabled via attributes) and the node can be changed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1364 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-10 01:10:06 +00:00
hybrid 9c167398bb Added the missing copyright headers and changed the new files to 2008 as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1354 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 12:07:43 +00:00
hybrid f15aa6b053 Cleanup for FPS cam.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1339 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 16:51:26 +00:00
bitplane f524ab2b03 ISceneNodeAnimator now inherits IEventReceiver, cameras send events to their animators. FPS and Maya cameras are now animators.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1321 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-24 21:39:22 +00:00