Commit Graph

333 Commits (51f7a3580dd8d6804d77863529687c05a2228032)

Author SHA1 Message Date
lukeph 51f7a3580d fixed bug from rev 1082
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1094 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 09:20:51 +00:00
hybrid 2a7f88fc8e Reindentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1092 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:58:57 +00:00
hybrid fbb1d585b4 Make even more use of meshbuffer vertex access methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1091 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:56:57 +00:00
hybrid f02c10a045 Make more use of meshbuffer vertex access methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1090 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:29:00 +00:00
hybrid e548cc90e6 Hide helper variables.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1086 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:44:12 +00:00
hybrid 81ff2ebb72 Provide meshbuffer level access to vertex elements which always exist.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1085 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:42:58 +00:00
hybrid 7e0bcfcf50 Properly reset renderstate. Remove extra no-op.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1083 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:08:36 +00:00
hybrid cce97d491e Some code cleaning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1082 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:07:40 +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
lukeph 1abb464b49 -fixed a bug in setting shader constants.
passing arrays were not working, can an openGL programmer check this is now right?

-let the user add a shader without a pixel or vertex shader, as docs state.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1080 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 08:03:21 +00:00
hybrid 29b968088a Make use of core::IdentityMatrix. Removed some redundant or unused code. Some minor reorganizations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1079 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 23:57:20 +00:00
hybrid a691540444 Replace another redundant variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1078 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 22:35:42 +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
hybrid d60c4cc3cb Missed the WAL file in project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1066 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:56:10 +00:00
hybrid 590dff3e7e Support alpha values with OpenGL RTTs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1065 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:49:02 +00:00
hybrid 9bb951a23a Added the WAL loader made by Murphy McCauley.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1064 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:27:21 +00:00
hybrid 8d4304f93f Maybe final fix for VBO extension methods...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1063 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-19 07:22:07 +00:00
lukeph 26c312e8c9 typo with the openGL extension handler under Linux
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1062 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-19 03:15:55 +00:00
hybrid dd3ce1b8bb Fixed some missing returns in OpenGL driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1061 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 23:31:25 +00:00
lukeph 4dc79e883f added:
virtual void OnSetMaterial(const SMaterial& material) { }

to IShaderConstantSetCallBack, so the callback is able to set constants based on the properties of the used material.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1060 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 13:03:57 +00:00
lukeph 1e51dbcbe4 added some VBO (vertex buffer object) extensions to the openGL driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1059 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 10:52:06 +00:00
hybrid fd3974a776 Remove wrong file from Makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1058 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 10:07:55 +00:00
bitplane 1f5444c9ce Fixed menu bug reported by hey_i_am_real, it's now possible to change the font after menu creation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1057 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-17 20:06:09 +00:00
lukeph 7e857cea93 committed getVendorInfo() patch by BlindSide.
seems to work fine in opengl. directx untested

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1055 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 11:48:51 +00:00
lukeph 11a1695773 the vertices normals weren't rotated with the node's matrix when used, in b3d meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1054 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 08:35:20 +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
hybrid b5436c6fe8 Linux VideoModeList fix by jef.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1044 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-12 13:42:18 +00:00
bitplane d73565d1a6 Menu fix by CuteAlien.
Bug with double mouse events sent to user receiver, reported by Xplod
Documentation error in IVideoDriver.h

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1043 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-09 21:55:42 +00:00
bitplane d55dc0f63c Added a warning when loading .ms3d v4 files, as not all of the file is loaded
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1041 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-08 12:06:41 +00:00
hybrid fbdbc934a4 Some code doc updates by Dorth.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1040 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-06 23:29:59 +00:00
hybrid c294fb0a52 Fix MacOSX consts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1038 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-02 00:24:27 +00:00
hybrid d3d2f26951 NO_ALPHA_CHANNEL bugfix from KH.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1036 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-20 20:50:25 +00:00
hybrid a61e2d6589 Fixed doc typos mentioned by Dorth.
Added scalar value operations to vector2d.
Reindentation of Q3 code.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1033 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-19 11:43:18 +00:00
hybrid 8f8702c766 Removed umlauts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1032 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-18 08:02:27 +00:00
hybrid 41e57a3e5d Some doc updates by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1030 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-17 16:03:42 +00:00
hybrid 56d40c3b4f Avoid problem with missing POSIX symbols.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1028 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-17 08:05:32 +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
hybrid ce4a300234 Fix the variable declaration.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1026 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 22:27:45 +00:00
hybrid 06629a4ba0 Fixed a mem leak in b3d loader, spotted by Ico.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1025 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 12:27:19 +00:00
hybrid a316fe7361 Make the win32 device close again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1024 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 12:00:23 +00:00
hybrid dcde0eaeb8 Fixed some unpleasant code fragments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1022 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-10 14:07:40 +00:00
hybrid 57ddd994dc Partially reverted the skybox changes, such that now only a right/left texture exchange is needed. Skyboxes are still correctly oriented and other tools are still compatible.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1021 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-05 07:48:53 +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
irrlicht d17d5a260e codeblocks project update
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1012 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-29 08:11:14 +00:00
hybrid ced5e21846 Fixed the skybox textures orientation. They are now displayed non-flipped. Existing skybox textures have to be exchanged and rotated, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1011 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-28 23:10:53 +00:00
hybrid e7393eddc7 Added a Mesh to 2TCoords converter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1010 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-28 21:11:30 +00:00