Commit Graph

1036 Commits (7e3770c871c6f15892d8dc0d898428d455cf855e)

Author SHA1 Message Date
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
hybrid 38677f7204 Replace private filename method by FileSystem member. Some more cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2068 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-12 23:14:46 +00:00
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
hybrid de02b25a28 Set default material settings properly (like MView does)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2062 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-09 22:36:10 +00:00
hybrid cf404ad287 Add default material-face-indices for very compact .x files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2061 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-09 22:30:10 +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
hybrid 082040520e Fix FVF data loading of binary .x files
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2053 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-07 00:36:51 +00:00
Rogerborg 2563bf14d8 Small efficiency improvements in scene collision:
Have all public ISceneCollisionManager.h methods take 'const type &' rather than 'type' where appropriate.

Conversely, have CSceneManager::getPickedNodeBB() take a non-const 'core::line3df& ray', so that child nodes can truncate the master ray when they get a collision.

This is an API change, so goes to the trunk only.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2050 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-06 16:02:03 +00:00
Rogerborg d232810cf8 Last fix to https://sourceforge.net/tracker2/?func=detail&aid=2473520&group_id=74339&atid=540676
Last fix to CSceneCollisionManager::getPickedNodeBB(). ;)  Efficiency improvements to reduce the number of checks, since we can only hit one face of each box, and we needn't consider boxes that are further away than the closest hit.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2049 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-06 15:48:00 +00:00
Rogerborg 2b18db4c67 https://sourceforge.net/tracker2/?func=detail&aid=2473520&group_id=74339&atid=540676
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
2009-01-06 15:40:00 +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 41b87c400b Make variables more local.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2038 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-05 12:20:32 +00:00
hybrid 94ecc76364 Fixed typo in variable name.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2035 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-05 08:58:16 +00:00
hybrid e7ced16d04 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
2009-01-05 00:30:11 +00:00
hybrid a669b865f1 Added better support for AntiAliasing levels, based on the patch by Sylence.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2032 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-04 17:13:54 +00:00
hybrid b95c2fcbd1 Remove/privatize members
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2028 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-04 13:41:42 +00:00
hybrid 5c64512330 Change the swap effect to DISCARD for windowed applications in d3d drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2025 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-03 12:44:09 +00:00
hybrid c3cfdcfa5e Merged revisions 2006:2016 from 1.5 branch, makeColorKeyTexture changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2017 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-02 13:02:05 +00:00
hybrid 7809c48144 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
2008-12-30 11:13:22 +00:00
rogerborg 0ef1056eb8 https://sourceforge.net/tracker2/index.php?func=detail&aid=2472420&group_id=74339&atid=540676
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
2008-12-29 19:40:48 +00:00
rogerborg 77d97b18bf 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
2008-12-29 16:05:49 +00:00
rogerborg c7f82100bc https://sourceforge.net/tracker2/?func=detail&aid=2473520&group_id=74339&atid=540676
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
2008-12-29 00:23:57 +00:00
hybrid d635ca9548 Some more missing files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1989 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-28 23:29:48 +00:00
rogerborg 1caa8223ed 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
2008-12-28 23:19:55 +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
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 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
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
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 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
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
hybrid 501ed34e43 Simplify filepath.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1787 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 22:34:25 +00:00
hybrid b562626271 Added tags target and avoid recreation of .d files on clean.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1786 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 22:33:36 +00:00
hybrid ced47d4e35 Removed BMP_Writer reference from softwaretexture2. Changed texture size check to use the new dimension2d function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1783 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 09:50:55 +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 747fba6b60 Update Irrlicht9.0.sln to fix untested changes from the static build target additions. Now tested with Visual C++ 2008 Express.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1779 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 20:50:44 +00:00
hybrid df3dce717d Fix mem leaks with RTTs under OpenGL due to wrong grabs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1778 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 13:01:24 +00:00
teella 24bf94d6e8 OSX now uses mainstream libpng instead of libpng_osx
removing libpng_osx


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1775 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-18 16:22:46 +00:00
hybrid 063c00cd91 Some more PCX formats supported. Not all modes are fully working, but I doubt anyone really uses them...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1773 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 23:21:58 +00:00
Rogerborg 44846b6f11 OpenGL driver: trigger a setRenderStates2DMode() recalc when the screen size changes. This fixes the OpenGL 2D scaling issue. Excelsior!
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1772 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 22:14:09 +00:00
hybrid 08d27aad2e Fixed compilation without OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1770 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 17:07:15 +00:00
Rogerborg 8ddbcc6790 Add static lib configurations for all VS builds. Add a comment to IrrCompileConfig.h to explain that _IRR_STATIC_LIB_ needs to be defined in both the Irrlicht and application builds.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1768 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 11:52:40 +00:00
hybrid 17c2a7c186 Fixed comments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1766 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 08:26:15 +00:00
hybrid 47a3d3057f Removed some wrong comments
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1765 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 01:09:31 +00:00
hybrid 325a518327 reenabled transparency in collada files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1764 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:56:07 +00:00
hybrid e1bc7122e9 Fixed some issues with the matrix element and disabled transpareny (for now) as it caused z-order problems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1763 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:39:33 +00:00
hybrid b9f35ed02e Fixed several issues with the LMTS format. Simplified the general loading procedure.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1762 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:33:29 +00:00
hybrid 16640845db The filename changes make troubles with uppercase/lowercase differences even on Windows. Temporary fix for LMTS loader here.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1761 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:31:04 +00:00
hybrid 1761aa4b96 Remove unnecessary parameters
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1760 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-16 20:47:08 +00:00
Rogerborg ad497a0e85 Release() and recreate the depth-stencil surface when resetting the D3D9 driver. This surface is implicitly created with D3DPOOL_DEFAULT, so needs to be released or the reset fails.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1759 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 21:56:16 +00:00
teella 89a570adc4 scaling values for OSX joystick support
added scale effectors for particles to XCode project


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1757 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 02:12:14 +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 9f50c25b56 Changed from vector2df to dimension2df
Deprecated setParticleSize from ParticleSystemSceneNode, use setMaxStartSize/setMinStartSize from the emitter instead.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1753 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 22:59:01 +00:00
hybrid 94fce476a1 Some more header files
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1752 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 22:56:25 +00:00
Rogerborg 06ad4408b7 Reducing the optional camera binding to a boolean that binds both ways (rotation to target and vice versa). Thanks to Dorth for suggesting this, which sorts the FPS camera out properly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1750 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 18:10:47 +00:00
hybrid 55a8f70713 Oops, null pointers fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1749 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 15:32:32 +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
hybrid 598103c23f Some more Ogre material loading fixed, and a minor mem leak fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1747 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 15:04:08 +00:00
hybrid a5d73cd0ac Fixed Ogre index interpretation (reported by Zhu) and fixed material loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1746 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 14:21:24 +00:00
hybrid 75ee82d7c9 Added particle scale affector, made by Sudi.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1745 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 13:17:57 +00:00
hybrid 2b1118e478 Particle scale patch from Dark Kilauea.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1743 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 12:25:10 +00:00
hybrid 99aedb34e1 Add convenience functions to change the HW buffer settings for a complete mesh instead of just one buffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1742 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 10:30:34 +00:00
hybrid 900123fde8 Removed multiple inheritance in CBillboardTextSceneNode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1741 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 09:54:37 +00:00
hybrid 12516fe663 disable the not anymore working parts, FAST_MATH needs to be fixed at some point...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1740 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 00:08:56 +00:00
hybrid 2832de310e Fix MSVC confusion
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1739 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 00:07:52 +00:00
hybrid d61b46d88f Use pipe to speed up compilation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1738 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 23:11:17 +00:00
hybrid 53dbcf001f Prepare for release of the additional image stored in GL textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1737 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 22:26:41 +00:00
hybrid 120e86226c Helper function for videomodelist.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1736 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 22:23:31 +00:00
hybrid ef33d9b051 WIP for z-axis up support in Collada.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1735 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:35:17 +00:00
hybrid 2cdae4d9d8 Missing updates for the new IR function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1734 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:34:25 +00:00
Rogerborg 18ff52c0dc Expose irr::core::IdentityMatrix using IRRLICHT_API so that it can be accessed from user apps on Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1725 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 15:37:18 +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
hybrid c5e18829c3 fix install target clash with osx target.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1721 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 08:08:36 +00:00
teella f0b392d96e minor fix for OSX optional joystick activation like Win and Linux
added example 19.MouseAndJoystick to OSX project


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1719 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-11 11:05:53 +00:00
Rogerborg cefc1978ae Best-effort attempt at implementing the new optional joystick activation on MacOSX. I'm not able to compile or test it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1718 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-11 01:49:57 +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 e60558dd97 Better support for osx builds
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1716 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 11:24:06 +00:00
hybrid 540c33965e Changed createOpenGLDriver to use SIrrlichtCreationParameters.
Added Fullscreen AntiAliasing for Win32/OpenGL. Screenshot not working in this mode ATM.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1713 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 00:36:04 +00:00
hybrid 9136b843ac Fix missing free on error. Reindentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1712 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-08 00:51:01 +00:00
hybrid 0831ad932b Added wglext.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1711 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-08 00:34:09 +00:00
hybrid aec173e15c Some updates, submitted by puh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1710 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 23:29:03 +00:00
hybrid 9f25d03159 Moved FBO check method for systems without this extension.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1709 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 12:29:05 +00:00
teella b2445b79c8 bug fix for OSX joystick support SEvent
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1706 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 01:36:15 +00:00
hybrid 60ebacb4e7 D3D RTT unlimited size patch. This fix allows arbitrarily sized RTTs for D3D9. It reuses existing DepthBuffers and tries to find an optimal size. Sharing of depth buffers and forcing creation of new depth buffers cannot be requested at the moment, though, because the API is not public.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1705 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 22:04:44 +00:00
teella 4ed4780d38 fixed xcode release build added IOKit frame work for joystick support
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1704 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:56:30 +00:00
teella 81e2b91218 Basic support for joystick input events on OSX tested with xbox 360 wireless controller and logitech wired controller
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1703 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:40:35 +00:00
hybrid a597253b53 Create smaller RTTs instead of none if screen size is limiting the desired size.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1702 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:38:06 +00:00
bitplane 4e840b1c60 ISceneNode::addChild now recursively updates SceneManager pointers if the node was from another SceneManager.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1700 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 17:46:04 +00:00
hybrid f43d2dfa2a New versions of glext.h (43) and glxext.h (21) with two new GL extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1699 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 17:03:05 +00:00
hybrid 8504d91cd6 Typo fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1698 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 16:55:11 +00:00
hybrid 07909b06a0 Open and close joystick only at beginning and end of SDL driver. Added resize event handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1697 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 16:20:42 +00:00
hybrid 5a6e3f8c67 Added user evnet implementation for SDL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1696 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 09:08:22 +00:00
hybrid 29ca551dbb Also disabled ColorKey blitting, just to be sure.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1694 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 15:18:15 +00:00
hybrid 49a9cb3831 Temporarily disabled alpha channel of the SW renderer framebuffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1693 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 15:05:31 +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
hybrid a4ed0d8ec5 Joystick implementation for SDL device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1689 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 13:17:21 +00:00
hybrid 0335d71c1e Make compilable without joysticks.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1688 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 12:22:33 +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 fe09f2ebbc Avoid using a plain texture as RTT if screensize is too small.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1686 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 23:25:03 +00:00
hybrid 04e788aeeb Fixed getAbsoluteFilename under Linux in case the file does not exist. Did simply return an empty string, now it returns the original filename.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1685 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 15:32:24 +00:00
hybrid a5c1b8e109 Init reorder warning fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1684 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 15:08:20 +00:00
Rogerborg bd9ac50a75 In CNullDriver::getTexture(const c8* filename), restore the old behaviour of using just the filename as a fallback if the file can't be found with the absolute file path.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1680 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 11:41:36 +00:00
hybrid c3bc2fc464 Use helper method instead of local one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1679 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 00:25:06 +00:00
hybrid d4c1631544 Fix for GL types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1676 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 22:27:41 +00:00
Rogerborg 941b333aad Bug 2123736; In getMeshFilename(const IMesh*), test the possibility that the IMesh is an IAnimatedMesh. This is a stopgap.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1674 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 22:13:37 +00:00
Rogerborg d0ac6a9cb4 Bug #1526176 - use absolute path names when creating / finding textures. As a consequence, createAndOpenFile() also needs to use absolute path names in order to match the texture filenames. Tested on Win32 with all example apps and a small test app attached to the bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1673 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 14:51:55 +00:00
hybrid 44b37a7508 Added another texture type for OpenGL, namely the FBODepthRenderbuffer. This is only used internally for now, and also is still WIP as the current design has some bad smell :-(. However, it should allow for depthbuffer reuse for RTTs once the interface is made public.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1672 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 13:13:28 +00:00
hybrid 8fa3b9e570 Added missing header file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1670 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 10:13:32 +00:00
hybrid fb19655088 Workaround avoiding wrong renderstate with culling modes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1669 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-02 21:41:45 +00:00
hybrid 8b8efafc9e Change of the return value for getDX9Texture, necessary for other types of textures. Requested by MasterD.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1668 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-31 20:53:01 +00:00
hybrid 37950db954 Cast hr pointer for proper overload.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1666 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-31 17:52:14 +00:00
hybrid 0e10b3dccf Color format enhancements for SDL device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1663 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-30 08:19:56 +00:00
hybrid 47f7435387 Fixed 24bit PCX files loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1662 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-30 00:53:13 +00:00
hybrid 6f09c6d2bf Forgot the endianess.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1661 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-30 00:34:31 +00:00
hybrid ae15b94a7f PCX Writer implementation, 24bit RLE, which means it's significantly smaller than BMP, but PNG and JPEG are still far smaller...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1660 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-29 22:07:19 +00:00
hybrid 1a8fbda3e4 Minor reorganization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1658 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-28 16:56:01 +00:00
hybrid c232d8de36 Use two different classes for usual and FBO textures in OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1657 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-28 16:51:22 +00:00
hybrid d2dca1f1fe Reindentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1655 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 17:52:41 +00:00
hybrid 33f3a2da8c Reorder namespace and include statements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1654 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:44:19 +00:00
hybrid df70ce4492 Remove warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1653 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:42:33 +00:00
hybrid 5f4681adad Some reorganization of the ogl win32 init.
Rename of pPixels to pixels.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1649 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 00:29:29 +00:00
hybrid 6fa8a63abc Added support for normals and UV coords from DeclData.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1646 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-25 21:22:35 +00:00
Rogerborg a1e21da6b0 Adding IVideoDriver::drawPixel() and implementations, as per http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30741. Test code is in that post.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1642 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:45:47 +00:00
Rogerborg 9a64087ec3 Fix release mode build of CDMFLoader.cpp. Fix D3D8 build (need Summer 2004 SDK). Force alpha in D3D8/D3D9 screenshot pixels to 255 if necessary ( http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=174233#174233 )
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1641 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:23:02 +00:00
hybrid 1d3860ece6 Remove extra semicolons.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1640 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:25:31 +00:00
hybrid bbc0b48e60 Added line counting in .x loader, useful for easy debugging.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1639 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:23:31 +00:00
hybrid a5da1f1361 Add support for window ptr in beginScene.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1638 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:19:51 +00:00
hybrid f902b0a4bb Always check the SoftwareImage pointer, and use the getVideoMode method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1637 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:17:06 +00:00
lukeph 0c4a4ea53c Possible problem with scaling, reported by gbox here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30175
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1635 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:42:14 +00:00
lukeph f3927d5cc2 Was missing a call to load the joints into the node in getJointNode(u32 jointID)
like with getJointNode(const c8* jointName)

reported by xray here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30486

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1634 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:27:26 +00:00
lukeph a98153f8d5 Fixed a problem with terrain culling not updating as the camera FOV changes.
reported here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30575

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1633 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:11:14 +00:00
hybrid 67b315786d Some more texture loading updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1632 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-13 22:50:46 +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 d42ce61775 Added a check method to query the device reset event for D3D drivers. Since in the case of a reset the content of all RTTs are lost, it's required to become aware of this fact.
The current solution is just a simply check which works with lots about the drivers. A cleaner solution would return all structures which have to be regenerated. A new enum is already created for this reason, but not yet implemented. However, the interface of the new checkDriverReset method might change in the near future...

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1630 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-12 14:30:22 +00:00
hybrid be924b27ed Fixed core dumps and loading errors. Some speedup and simplifications.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1629 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-11 23:25:48 +00:00
teella f180825e51 added GUIEditor to OSX project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1628 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-11 14:18:52 +00:00
hybrid 9577119772 Fixed problems with missing (default) strings in the obj loader and copyright statement.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1627 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-10 14:38:50 +00:00
hybrid 2fcc151d7e 64bit fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1626 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 22:42:47 +00:00
hybrid 19ec5143af Enable minimize button for win32 windows.
Add some more error tests in d3d9 driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1625 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 22:24:06 +00:00
hybrid e8ef136cfe Working version of the d3d device lost patch. It might need some more working for VBOs, but RTTs are now properly released before reset().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1624 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 11:23:37 +00:00
hybrid 3f153d2a2c First try for d3d9 lost device fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1623 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 09:39:13 +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
hybrid 6fdfa14d6e Clone method implementation for Animated Mesh Scenenode, by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1620 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-08 14:56:40 +00:00
hybrid 07b9bc8a90 Fix warning about new enum value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1619 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-08 14:55:48 +00:00
hybrid dee929e08d Fix the RTT POT sizes, which were now usually too small.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1617 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-05 21:48:50 +00:00
hybrid f1f236b9d7 Added proper ZWrite behavior for transparency.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1614 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-02 13:11:03 +00:00
hybrid 009e6d440c Fixed the handedness of the coord system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1613 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-02 13:10:08 +00:00
hybrid 493f688fda Added a driver feature check for non-square textures (which some d3d drivers don't seem to support...). It's not yet used in size calculations, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1612 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 22:27:15 +00:00
hybrid 0879f07be7 The real bbox fix from tprochownik.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1611 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 21:07:45 +00:00
hybrid 47eaf3c0fc Another material cleanup for the debug renders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1610 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 21:06:34 +00:00
hybrid f2a70abb69 Don't render debug boxes with complete transparency
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1609 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 20:47:11 +00:00
hybrid a091e4fab5 Added debug output and fixed Giles Lightmap loading for b3d loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1608 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 13:11:50 +00:00
hybrid 00bd0d6b85 Fixed comment handling and added support for compact meshmaterial lists.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1607 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 11:36:20 +00:00
hybrid a649829f3d Some minor changes from the RTT patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1606 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 22:56:29 +00:00
hybrid bae1cd68b3 Fixed a missing symbol in older DX SDKs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1605 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 21:51:52 +00:00
hybrid ba581fddd0 Relaxed the Window caption setting in order to avoid problems with threaded applications or external windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1604 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 21:27:14 +00:00
hybrid 28dbc4bec4 Defer bbox calculation of skinned mesh as suggested by tprochownik.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1603 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 14:41:22 +00:00
hybrid f6beb73a1b Added some window status fixes for OSX.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1602 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 09:44:00 +00:00
hybrid 04d2218833 Store the actual render window in ExposedData.OpenGLLinux.X11Window, even for externally created parent windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1601 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 09:18:42 +00:00
hybrid b4c597aa83 Merged revision 1599 from 1.4 branch and fixed also the second issue we had with disabled X11 support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1600 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 08:57:47 +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
teella 9d3b46ab0a bring OSX build up to latest svn
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1597 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:39:52 +00:00
hybrid 6eeb984a78 Update to libpng 1.2.32
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1596 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:12:22 +00:00
hybrid 31fb388347 Another color method rename fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1595 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:09:56 +00:00
hybrid fa9a548328 Removed default destructor.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1593 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 11:31:17 +00:00
hybrid f16ed30071 Wrong cast type.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1592 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 11:13:29 +00:00
hybrid 01a0042f91 Moved windowId and sourceRect parameters from endScene to beginScene in order to support several windows for OpenGL as well. This is not yet implemented, though, just made some preparations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1591 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-27 13:19:29 +00:00
hybrid bf2d25aece Added a disableFeature method to the drivers, which can override the support of render features.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1590 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-26 20:29:45 +00:00
hybrid e1ed3d4a77 Fixed the image flip for draw2DImage in OpenGL driver as suggested by omaremad.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1578 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-22 19:24:22 +00:00
lukeph 4a1a067709 fixed a slow down in terrain nodes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1572 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-18 09:07:07 +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 c1aadf5acc Forgot addition to the new project file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1564 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-14 21:40:06 +00:00
hybrid 1edc55c924 Fixed a missing function call, found by night_hawk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1561 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-12 16:39:03 +00:00
hybrid 529b6f0f3c Merged revisions 1543:1559 from 1.4 branch. Mainly zbuffer issues and the TextureMatrix allocator patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1560 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-12 15:19:19 +00:00
hybrid 05c55f7151 Hmm, general front buffer reading is bad for texture based RTTs, so fixed this change to the screenshot method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1558 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-11 08:16:28 +00:00
hybrid 8050b2d031 Fixed reorder warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1557 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-10 14:49:33 +00:00
hybrid 5122087981 Hotfix for some better character support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1556 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-10 14:20:21 +00:00
bitplane 93947151cb Fix for [2003232] EET_KEY_INPUT_EVENT send twice when an element is focused, by CuteAlien
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1554 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-09 22:50:14 +00:00
bitplane e3fd0142e1 Fixed bug id 2074582, CSceneNodeAnimatorCameraMaya uses uninitialized OldTarget.
Animator now remembers the previously used camera and resets the OldTarget on a change

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1553 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-09 21:51:57 +00:00
hybrid a32d8dc446 Oops, wrong types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1552 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-09 20:59:31 +00:00
hybrid b7d528d4a0 Q3 shader fix by sio2
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1550 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-08 22:22:22 +00:00
hybrid 47b358bcd1 Fix a problem with whitespace at end of XML files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1548 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-08 11:05:40 +00:00
hybrid 37db2e6b65 Use the existing interfaces.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1547 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-08 08:26:46 +00:00
hybrid a55e2d6b0a Added .obj writer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1542 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 16:40:33 +00:00
hybrid 60f1955826 Allow to skip extensions of filenames.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1541 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 16:35:10 +00:00
hybrid ec4d244224 Avoid 32bit depth in XVisuals unless transparency is really necessary.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1540 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 15:06:54 +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 ed5710bf5e Made some string constructors explicit to avoid nasty misinterpretations. Just add core::stringc or core::stringw around the numbers the compiler doesn't want to convert automatically anymore.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1534 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 13:18:58 +00:00
hybrid 4750bbc3bc Fixed wrongly used overload - was taking number instead of character.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1533 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 13:14:51 +00:00
hybrid a512894396 Added support for loading of textures in oct files from the same place like the mesh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1532 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 12:46:37 +00:00
hybrid a8377b263f Added some more stringc taking overloads.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1531 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 12:44:11 +00:00
hybrid 953b9e6383 Changed error message again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1530 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 23:47:08 +00:00
hybrid 97dddc60eb Better XError message. Improved Software render present() under X11.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1529 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 23:15:33 +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 8a070d9cc6 Replaced BoneName by scene node's Name as suggested by rogerborg. Added setName method overload for stringc parameter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1527 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 09:25:19 +00:00
hybrid fce0e252a4 Some cleanup for IdentityMatrix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1526 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-02 22:11:19 +00:00
hybrid 1970d0f34c Fixed context release for glx 1.3 amd higher.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1525 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-01 22:44:22 +00:00
hybrid 4dd11b322d Cleanup of some helper structs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1521 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-31 10:33:47 +00:00
hybrid ea335d936a Removed unused jpeglib files from project files. Mentioned by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1518 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 15:06:35 +00:00
lukeph 341dc16566 -added support for 32bit buffers in the opengl and directx9 drivers :) hopefully not buggy...
(may need to add support for directx8 and software?)

-made terrainNode use DynamicMeshBuffer, so it can use 32bit buffers. (no more size limits now on terrains!!! )
if the terrainNode loads an image over 256x256, it is set to 32bit, smaller sizes will use 16bit for better speed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1515 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 04:00:22 +00:00
hybrid 320c8b91cb Removed unnecessary default value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1514 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-26 11:47:22 +00:00
hybrid a7d24e4b8a Fixed an issue with alpha values in 2d opengl mode.
Changed the interpretation of MaterialTypeParam==0 in transparent materials. Before, it was interpreted as 0.5, now it's used as 0 (perfectly smooth transparency). This is slower than the old value, but you can achieve the same effect by specifying 0.5 as MaterialTypeParam.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1512 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-25 20:25:22 +00:00
hybrid 682a1200a8 Replaced transformBox by transformBoxEx to avoid major malfunction of the transformations when the transformation includes rotations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1511 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-25 13:46:22 +00:00
hybrid 9e354df022 Fix texture path handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1510 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-21 08:07:35 +00:00
hybrid d9c0ceb6ea Change parameter to bool.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1509 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:51:31 +00:00
hybrid 2489bda2e8 Merged 1499:1506 from 1.4 branch: Doc updates, getEmitter added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1507 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:24:52 +00:00
hybrid 7bc7d66d7d Fix for compiling without OpenGL, provided by jmpep.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1504 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-19 13:02:20 +00:00
hybrid d797e16201 Readded the texture settings, which have to be made for every texture used, not just once...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1503 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-19 12:58:36 +00:00
hybrid 07518fba46 New glext.h and glxext.h including support in ExtensionHandler for OpenGL 3.0 additions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1502 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-18 15:17:03 +00:00
hybrid f1198e2c44 Fixed RTT zbuffer usage. Also cleaned up RTT bind and unbind operations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1501 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-18 12:36:17 +00:00
hybrid 37e15009b5 Const correctness for a pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1499 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-15 08:46:57 +00:00
hybrid 763acaa745 Merge revisions 1495:1497 from 1.4 branch. GUIImage fix by CuteAlien. Default value changes in particle system and scene manager.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1498 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-14 15:36:21 +00:00
hybrid 9c33ae93ad Merge revisions 1489:1494 from 1.4 branch. Mainly cleanup, removal of .NET wrapper, and postEventFromUser patch to return if the event was absorbed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1495 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-14 08:55:40 +00:00
hybrid 6bdb14fd7f Bugfix by Vitek to allow zip files inside zip files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1491 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-14 07:57:16 +00:00
hybrid 565fc47062 Merged 1486-1488 from 1.4 branch, IImage methods exposed and MeshManipulator moved.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1489 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-13 23:48:33 +00:00