Commit Graph

78 Commits (94a1346a5c06e89b7233e7961102fc506d57ead8)

Author SHA1 Message Date
Rogerborg 94a1346a5c Adding an optional light manager that allows hardware lights to be turned on and off before each scene node is rendered. This can be used to produce "zoned" lighting.
If a light manager is not registered, the existing behaviour (activate the closest lights to the camera) will be retained unchanged.  New example project added to demonstrate the usage, and regression tests and existing samples run.  No regression test for the light manager yet, since I am more interested in not regressing the default behaviour.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2064 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-12 10:55:39 +00:00
Rogerborg bac02b5bb0 https://sourceforge.net/tracker2/?func=detail&aid=2473520&group_id=74339&atid=540676
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
2009-01-06 15:12:15 +00:00
hybrid 6fe8e2d89d 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
2009-01-05 15:34:22 +00:00
hybrid ac8ee5270d Initialisation changed to use createDeviceEX
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2031 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-04 17:11:54 +00:00
hybrid 136f9981d5 Oops, off by one merge error. Revision 1885 was missing in trunk...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2026 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-03 23:19:41 +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
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 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
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
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
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 5fed90d38b Missing break spotted by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1784 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 13:59:19 +00:00
hybrid aa85d14ed3 Fix emitter interface.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1767 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 08:30:35 +00:00
Rogerborg 0a1d6a8904 Adding camera rotation/target binding to changes.txt. Updating the example 19 vc9 vcproj GUID (I can't pretend to understand why it keeps changing).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1758 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 17:13:12 +00:00
Rogerborg 604d2fd754 Replace possessive "it's" with the grammatically correct "its".
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1756 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 00:42:45 +00:00
hybrid 47d10f9ffd Move particle scale from ParticleSystem to Emitter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1754 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 23:19:05 +00:00
hybrid c73357af9e The new scale values require the emitter to be set before the particle scale is set. I guess we might have to change something else here...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1751 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 22:06:23 +00:00
Rogerborg 1460843e14 Fix vcproj GUIDS for example 19.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1744 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 12:28:52 +00:00
Rogerborg 5a6eb22f25 Removing all .dsw and .dsp files; Microsoft Visual "C++" 6 is no longer a supported build environment.
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=176288#176288

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1724 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 12:44:15 +00:00
Rogerborg dc2b2cebac Make joystick activation optional, so that Irrlicht doesn't consume all joystick events. This allows us to pass joystick enumeration data to the user app. Revert example 04 to just do key movement, but have it show framerate independent movement. Add a new 19.MouseAndJoystick example. Tested with Win32 and Linux devices, and with the SDL device on Windows and Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1717 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-11 01:33:02 +00:00
hybrid 524cbc4a5a Added a checkbox for enabling antialiasing.
Changed to use createDeviceEx for all creation parameters.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1714 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 00:42:36 +00:00
Rogerborg 0ef9b20b26 Stop linux/joystick.h from including linux/include.h, as this #defines many KEY_FOOs which override the irr::KEY_FOO values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1690 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 13:29:40 +00:00
Rogerborg ab5d88da77 Add basic joystick support on Windows and Linux, with an option to compile it out. winmm added to all .dsp/.vcproj/.dev projects. Example 04.Movement updated to demonstrate the functionality. Tested with 1 USB joypad on WinXP and Ubuntu 8.04 (via VmWare).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1687 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 02:07:27 +00:00
hybrid 386a18b566 Merged revisions 1652:1682 from the 1.4 branch: Code layout changes in the examples and SMaterial checks for self-assignment.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1683 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 14:47:51 +00:00
hybrid 24c7dd09c2 Merged revisions 1600:1650 from 1.4 branch. Just renaming of example 17.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1651 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:40:56 +00:00
hybrid 9f1d5f1d2c Add an empty implementation of the clone method for the animator.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1644 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 22:41:52 +00:00
hybrid b44c2bdadf Added RTTs to texture cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1622 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 08:13:34 +00:00
engineer_apple a8912664e9 changed deployment, removed opengl driver call.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1615 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-03 16:07:26 +00:00
hybrid 8db1da30c2 Merge revisions 1572:1596 from 1.4 branch: Some late bugfixes of the 1.4.2 release. Tutorial generation mechanism.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1598 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:46:43 +00:00
hybrid 432657705c Added another HSL method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1594 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 12:39:15 +00:00
hybrid 038d839eb8 Merged revisions 1561:1570 from 1.4 branch. This fixes the ZWrite enable scene attribute and does some minor cosmetic changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1571 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-16 16:33:33 +00:00
hybrid a8a075bec1 Merged from branch 1.4 revisions 1529:1538
vc9 project files, pointer checks in GUI

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1539 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 23:20:51 +00:00
hybrid 9672dec5f2 Merged from other branches up to revision 1527:
LinuxDevice initialiser list fix. WinCE setup parameter handling bug fix.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1528 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 22:01:27 +00:00
hybrid 4cca69a37b Some Q3 example changes. OctTree has been reenabled with larger vertex numbers. Example 16 now accepts pk3 files and bsp levels on the command line, and it can display the bounding boxes of octrees.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1441 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 17:29:23 +00:00
hybrid 641b1a3d56 Another merge that didn't work properly...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1433 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 22:45:02 +00:00
hybrid e6e34950af Added some enhancements for scene graph traversal and an example for collision checking with .irr scenes from rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1432 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 21:24:19 +00:00
hybrid 17d5f8a3f6 Merged from 1.4 branch revisions 1368:1422.
This fixes wrong child handling in AnimatedMesh SceneNode, 2dimage clipping in d3d drivers, and a string handling issue in example 16.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1423 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-28 17:34:05 +00:00
hybrid c55da82a0c Merged revisions 1357:1366 from 1.4 branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1367 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 11:15:45 +00:00
hybrid 755e117078 Merged from 1.4 branch revisions 1316:1328.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1329 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 11:34:54 +00:00
bitplane 818b79852a Added a texture animator to volume light in special effects example to show off how cool it can look, and better integrated it into the tutorial.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1316 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-16 07:27:20 +00:00
hybrid e480b85d31 Fixed the setter methods to recreate the volume light.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1301 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-26 13:59:01 +00:00
hybrid e7add51880 Merged from 1.4 branch revisions 1272:1279
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1280 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-05 00:02:00 +00:00
teella 405a2682ba fix mouse cursor in OSX reported by Jay Riley
Hide Menu and Doc when in fullscreen mode on OSX


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1261 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-26 13:12:53 +00:00
hybrid 68e1f2a67d Added command line support for loading meshes at startup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1228 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-07 15:57:49 +00:00
hybrid 99aa627e76 Merged from 1.4 branch revisions 1174:1188
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1189 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-21 00:24:28 +00:00
bitplane 0add053f81 getMaterialCount in custom node example was non-const, reported by vitek
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1163 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-06 19:55:43 +00:00