Commit Graph

40 Commits (92892c4fd5cad5fce74e631824feb96bf476a7df)

Author SHA1 Message Date
hybrid 9e23a0482f Rename local variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3222 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-14 22:56:54 +00:00
hybrid 0ca3ba3744 Merged revisions 3089-3138 from 1.7 branch. Full merge, all changes from 1.7 beta phase up to now are included.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3139 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-08 11:46:38 +00:00
hybrid c77b66a50a Support for Ogre skeletons. Animations are not correctly working, yet. Also flipping mesh from right-handed to left-handed now, so expect some changes with loaded meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2827 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 13:26:45 +00:00
hybrid cf8c269ffc Rename MoveTo_ methods in SSkinMeshBuffer for proper Irrlicht naming scheme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2817 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 09:48:29 +00:00
hybrid 8292b7feed Fix bounding boxes for skinned meshes. Moved LocalMatrix computation out of the loop. This works for the meshes I tested, but might break with others. Further testing required.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2768 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 15:41:44 +00:00
hybrid 64ad07a38e Merged from 1.6 branch, revisions 2665:2683. External creation of CSkinnedMesh. Texture matrix bug fixed. obj loader fixed. Divide by zero checks. Some API methods renamed. Strict aliasing fixes. Collada loader fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2684 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-09 14:30:44 +00:00
hybrid 920e2cfaad Reorder members.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2560 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 14:35:42 +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 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 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 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
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
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 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
lukeph e903f2ca6b -Made drivers update vertex and index VBOs independently. Massive speed up for terrain nodes. Interface isn’t so clean yet, but will be when vertex and index buffers are separated.
-fixed a rendering state bug, in openGL and directx drivers, while changing from 3d to 2d rendering.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1403 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 05:20:39 +00:00
hybrid cdffc4a5d6 Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +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
hybrid 93bf946053 Some coding style changes, made one method const.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1242 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-12 15:31:35 +00:00
lukeph 199c83dab5 fixed a bug in skinnedMesh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1150 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-03 13:36:54 +00:00
lukeph e11859e83c let skinnedMesh software animate with VBOs, other small changes with VBOs, left in debug output
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1104 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-07 15:25:07 +00:00
hybrid d9abe1d946 Fixes to make VBOs actually work in OpenGL. Need more improvements, though. Minor fixes in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1103 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 16:26:14 +00:00
hybrid b2f55c369b Let md2 animate even with hw buffers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1098 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 21:10:36 +00:00
lukeph 8bd0195372 CSkinnedMesh::setHardwareSkinning was not returning a value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1081 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:06:01 +00:00
hybrid eed5ae57a0 Merged with 1.4 branch (rev 1051:1075).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1077 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 20:20:41 +00:00
lukeph 5ecaaedbf8 added ISkinnedMesh::setHardwareSkinning(bool on),
right now this only disables software skinning so that hardware skinning can be done externally

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1076 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 03:36:11 +00:00
lukeph 968c611d6a -fixed bug with joints being one frame off updating their AbsolutePositions when transiting, pointed out by shogun
-optimized CSkinnedMesh::buildAll_LocalAnimatedMatrices()

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1069 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-27 14:05:57 +00:00
lukeph 9611bd19bb -fix in:
bool CAnimatedMeshSceneNode::removeChild(ISceneNode* child)
found by ssexton

-added requested getJointCount() in AnimatedMeshSceneNode, which simply calls getJointCount on the held mesh

-added CSkinnedMesh::isStatic()

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1051 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-14 07:35:40 +00:00
lukeph 98f8e5317c support for positioning joints at an absolute position. Without this support, doing ragdolls would require the inverse of a matrix (slow)
I'll write a tutorial in the wiki for this.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1016 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-02 04:01:08 +00:00
hybrid 8ac0921468 Removed debug output
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@976 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 12:45:21 +00:00
hybrid be0a677b18 Fixed multi-mesh animations in .x and added face color in case vertex color is missing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@974 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 12:00:03 +00:00
hybrid 13b9851487 Another round of constness additions. Almost finished now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@969 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 16:09:50 +00:00
lukeph 13d10077a3 added rigid animation support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@967 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 11:09:07 +00:00
hybrid f4bc95371b First larger constification. Made serialization const. Some other constification and signedness changes. Minor other code changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@959 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 22:25:59 +00:00
hybrid f583f7dcfb Use methods of the vector class.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@947 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-12 17:47:48 +00:00
hybrid d6a18858b2 Fixed .x parser for missing whitespaces and delimiters. Some minor changes in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@935 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 22:40:28 +00:00
lukeph c02aca0029 -skinnedMesh: meshes with weights are still counted as animated for ragdolls, etc, even if they have no animation data.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@930 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 04:53:25 +00:00
hybrid e3d76c04a5 Minor cleanup and type usage clarifications.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@906 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 12:11:28 +00:00
hybrid a1e7be3375 Fixed the win32 project files.
Fixed more problems with rounding and s32/f32 changes for animated meshes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@904 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 09:31:56 +00:00
hybrid 2c7b3dbee7 Put even more messages into debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@902 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:59:46 +00:00
hybrid bda0b6e35f Merged SkinnedMesh branch 658:895 into trunk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@896 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 18:51:42 +00:00