Commit Graph

39 Commits (ef33d9b05163a582bdfb023f091be4da2460355b)

Author SHA1 Message Date
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
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 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 76547f8f97 Added support for proxy meshes as source of the shadow volume. This enables the use of a simplified version of a mesh for the generation of the shadow volume, which can significantly improve the render performance with shadow volumes. Patch provided by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1477 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 19:39:24 +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 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 35cb5664d3 Make md3 models movable again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1335 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 15:15:51 +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
hybrid ca91742a1e Fixed a possible transformation problem in debug render.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1289 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 09:33:59 +00:00
hybrid 451d5bca72 Merged from 1.4 branch revisions 1251:1271
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1272 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-02 14:28:48 +00:00
hybrid beea38a195 Merged from 1.4 branch revisions 1235:1250
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1251 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-21 00:20:39 +00:00
hybrid f9a0f21bef Merged from 1.4 branch revisions 1218:1234
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1235 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-09 14:12:28 +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 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
hybrid 8d1aef90d6 Warning and project file fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1053 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-14 09:50:41 +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
engineer_apple 0efce9c9a2 -------------------------------------------
Changes in version 1.4 (... 13.11.2007)
- Fixed somed CQuake3ShaderSceneNode problems.
- Changed BurningsVideo internal Vertex Format. version changed to 0.39
- SceneManager:
   Removed the seperate rendering states for quake3 Shader Scene Nodes.
   Nodes are now solid or transparent. ( but still more states are needed )


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1047 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:36:17 +00:00
lukeph 329e8f6c23 added enum E_JOINT_UPDATE_ON_RENDER, for IAnimatedMeshSceneNode::setJointMode
changed IAnimatedMeshSceneNode::animateJoints() to animateJoints(bool CalculateAbsolutePositions=true)

removed ISkinnedMesh::recoverJointsFromMesh, transferJointsToMesh, and createJoints from interface.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1027 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-16 13:34:07 +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 738951ff4b Fixed some type issues with sqrt. Fixed rect.isValid to work with all types and avoid useless tests. Cleaned up some variable uses and scopes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1004 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-26 16:18:11 +00:00
hybrid df946a1ce6 Removed unnecessary irr namespace prefixing.
Added STL mesh file format reader and writer. This is a pretty simple format, but I wanted to try the mesh writer interface.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@983 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 14:08:28 +00:00
hybrid 61a5af828e Some fixes for method signature unification and some other C++ fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@977 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 14:01:28 +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 f74f7586e2 Some more constification, but still not done. Now we have also SEvent in OnEvent as const ref, so most user apps will need some kind of upgrade for the new library version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@964 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 23:41:55 +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 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
irrlicht 7b734957d8 removed getVertexPitch() method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@923 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 05:06:47 +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
lukeph a03e241be7 updated docs in AnimatedMeshSceneNode for the new commands.
added: getJointNode(u32 jointID)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@901 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:54:40 +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
hybrid ef4443353b Changed addArrowMesh parameter order. Changed OBJ loader to use stringc instead of dynamically allocated char array.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@766 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:08:47 +00:00
lukeph c374f1b724 no changes made:
Box = Mesh->getBoundingBox(); //can we remove this, the box is set on 'setMesh', and without it the user can set their own boundingbox (if the normal one is too small) without it being overwritten

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@716 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 12:39:10 +00:00
bitplane ef6f9fd006 changed CAnimatedMeshSceneNode to use the bounding box of its IAnimatedMesh instead of calling getMesh() and re-skinning. Tested with a few different mesh formats and couldn't see any obvious problems. IAnimatedMesh implementations are now responsible for keeping a maximum bounding box.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@704 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-10 01:29:10 +00:00
bitplane c729f356f0 renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation, it was causing problems for users accessing ISceneNode::getAbsoluteTransformation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@701 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:14:17 +00:00
lukeph 93dc18fced the matrix used to draw the debugging normals was being calculated incorrectly
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@659 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 04:56:56 +00:00
bitplane c00ce1d372 Moved everything to /trunk
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00