Commit Graph

416 Commits (1671a7b43c7f5986e2c9e8a12241625e7c8d8326)

Author SHA1 Message Date
hybrid 1671a7b43c Avoid warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1112 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-10 23:33:24 +00:00
hybrid 65331f5789 Make HWbuffer stuff protected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1111 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-10 23:30:46 +00:00
hybrid a128e87ed1 Moved enum to additional file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1110 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-10 23:26:20 +00:00
lukeph 4cd89381d9 small vbo changes, added removeHardwareBuffer(const scene::IMeshBuffer* mb)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1109 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-09 13:19:31 +00:00
hybrid 2f0855e260 Fix extra qualification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1108 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-09 13:14:10 +00:00
hybrid 809e81aec9 Fix merge bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1107 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-08 14:50:54 +00:00
hybrid 48e009de8f Merged 1.4 branch 1075:1105.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1105 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-08 13:11:39 +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 e240aeaf91 Fix to compile on non-VBO systems without OpenGL extension pointers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1102 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 09:02:41 +00:00
hybrid 6a714981eb Added initial values, to be corrected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1101 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 00:05:16 +00:00
hybrid f6f335af7f Some reindentation, minor bugfixes, removed unused members from ExtensionHandler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1100 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 00:00:23 +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
hybrid 37e2685cc6 Add return values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1097 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 17:15:18 +00:00
lukeph 2ca8282e00 -- added VBO support --
-so far only the openGL driver is supported, will add dx tomorrow or the next day

-right now to use, go: MeshBuffer->setHardwareMappingHint(EHM_STATIC); but this will be automatic when complete

-code needs a clean up, and the design isn't fixed, I just wanted to get stuff happening :)

-works well with hardware skinning :)

(design: http://img220.imageshack.us/img220/1931/vbo8xy8.png)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1095 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 14:10:28 +00:00
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 e409667ce0 Fixed some warnings and minor coding things.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1084 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:10:13 +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 d5a32e5dc1 -------------------------------------------
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@1049 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:37:24 +00:00
engineer_apple e1941642d6 -------------------------------------------
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@1048 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:37:07 +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
engineer_apple 201ce2c119 -------------------------------------------
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@1046 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:35:29 +00:00
engineer_apple 95e75a6321 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1045 dfc29bdd-3216-0410-991c-e03cc46cb475 2007-11-13 14:34:22 +00:00