Commit Graph

1018 Commits (90eec5ade9e4dbd0acb3ebff56edda7e76a8798f)

Author SHA1 Message Date
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
Rogerborg d10bb4431d Rename IGUIElement::setRelativePosition(const core::rect<f32>&) to setProportionalPosition(). Tested with a modified example 05.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1777 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 12:46:29 +00:00
Rogerborg b045b2e349 Add IGUIElement::setRelativePosition(const core::position2di &) as requested on IRC. Trivially tested with a modified example 05. Also clarified a few comments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1776 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 12:32:50 +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 4bc5ad4e86 Added missing new interface to irrlicht.h for easier user access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1774 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-18 12:49:25 +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
Rogerborg 088082644d Include dimension2d.h in SIrrCreationParameters.h; required on MSVC builds after change to COpenGLDriver.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1771 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 21:48:12 +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 1b2a4f214a Elucidate on the (non) encoding conversions in irrString.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1769 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 12:09:12 +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 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
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
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
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
Rogerborg 6ec9347962 Clarify comment on ISceneManager::addCameraSceneNodeFPS().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1755 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 00:01:04 +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 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
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 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
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
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
hybrid a60b414e9c Destructors removed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1733 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:28:23 +00:00
hybrid bbd1d5a475 Docs fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1732 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:28:08 +00:00