610 Commits

Author SHA1 Message Date
hybrid
5b1cd785d5 Merged 1.4 branch 1075:1105.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1105 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-08 13:11:39 +00:00
lukeph
6d5735b9c1 let skinnedMesh software animate with VBOs, other small changes with VBOs, left in debug output
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1104 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-07 15:25:07 +00:00
hybrid
203fc243b6 Fixes to make VBOs actually work in OpenGL. Need more improvements, though. Minor fixes in other files.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1103 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 16:26:14 +00:00
hybrid
99aa0c91ab Fix to compile on non-VBO systems without OpenGL extension pointers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1102 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 09:02:41 +00:00
hybrid
560ed3b25d Added initial values, to be corrected.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1101 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 00:05:16 +00:00
hybrid
11aba60bfd Some reindentation, minor bugfixes, removed unused members from ExtensionHandler.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1100 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 00:00:23 +00:00
hybrid
75208f2f20 Let md2 animate even with hw buffers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1098 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 21:10:36 +00:00
hybrid
a08dc1d84e Add return values.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1097 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 17:15:18 +00:00
lukeph
7ee29e3b71 -- 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1095 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 14:10:28 +00:00
lukeph
f88aef242e fixed bug from rev 1082
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1094 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 09:20:51 +00:00
hybrid
0528061a8c Reindentation.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1092 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:58:57 +00:00
hybrid
5ddb952b9a Make even more use of meshbuffer vertex access methods.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1091 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:56:57 +00:00
hybrid
6d0a6ed367 Make more use of meshbuffer vertex access methods.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1090 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:29:00 +00:00
hybrid
a43c05f62c Hide helper variables.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1086 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:44:12 +00:00
hybrid
e5adc16b03 Provide meshbuffer level access to vertex elements which always exist.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1085 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:42:58 +00:00
hybrid
7c67795b43 Fixed some warnings and minor coding things.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1084 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:10:13 +00:00
hybrid
eba458dec5 Properly reset renderstate. Remove extra no-op.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1083 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:08:36 +00:00
hybrid
3b0031961a Some code cleaning.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1082 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:07:40 +00:00
lukeph
e4efbfedf0 CSkinnedMesh::setHardwareSkinning was not returning a value.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1081 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:06:01 +00:00
lukeph
2c6df8aa23 -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: http://svn.code.sf.net/p/irrlicht/code/trunk@1080 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 08:03:21 +00:00
hybrid
f3e3b5e8ea Make use of core::IdentityMatrix. Removed some redundant or unused code. Some minor reorganizations.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1079 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 23:57:20 +00:00
hybrid
1f515c1ba4 Replace another redundant variable.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1078 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 22:35:42 +00:00
hybrid
39b20ab3f7 Merged with 1.4 branch (rev 1051:1075).
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1077 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 20:20:41 +00:00
lukeph
12d0d2730b added ISkinnedMesh::setHardwareSkinning(bool on),
right now this only disables software skinning so that hardware skinning can be done externally

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

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1069 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-27 14:05:57 +00:00
hybrid
aead48362d Missed the WAL file in project files.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1066 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:56:10 +00:00
hybrid
fcbd870035 Support alpha values with OpenGL RTTs.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1065 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:49:02 +00:00
hybrid
444a2aba69 Added the WAL loader made by Murphy McCauley.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1064 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:27:21 +00:00
hybrid
97b153f1c3 Maybe final fix for VBO extension methods...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1063 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-19 07:22:07 +00:00
lukeph
64ff6d1e13 typo with the openGL extension handler under Linux
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1062 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-19 03:15:55 +00:00
hybrid
49ca5addcf Fixed some missing returns in OpenGL driver.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1061 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 23:31:25 +00:00
lukeph
7d8186cd7e 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1060 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 13:03:57 +00:00
lukeph
0099e5b344 added some VBO (vertex buffer object) extensions to the openGL driver.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1059 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 10:52:06 +00:00
hybrid
e633bae5bc Remove wrong file from Makefile.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1058 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 10:07:55 +00:00
bitplane
cc8219bb64 Fixed menu bug reported by hey_i_am_real, it's now possible to change the font after menu creation.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1057 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-17 20:06:09 +00:00
lukeph
64b92ff738 committed getVendorInfo() patch by BlindSide.
seems to work fine in opengl. directx untested

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1055 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 11:48:51 +00:00
lukeph
a0a731965d the vertices normals weren't rotated with the node's matrix when used, in b3d meshes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1054 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 08:35:20 +00:00
hybrid
a884e590d0 Warning and project file fixes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1053 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-14 09:50:41 +00:00
lukeph
aedf5c9994 -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: http://svn.code.sf.net/p/irrlicht/code/trunk@1051 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-14 07:35:40 +00:00
engineer_apple
cf487001a4 -------------------------------------------
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: http://svn.code.sf.net/p/irrlicht/code/trunk@1049 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:37:24 +00:00
engineer_apple
6228469d58 -------------------------------------------
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: http://svn.code.sf.net/p/irrlicht/code/trunk@1048 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:37:07 +00:00
engineer_apple
a905ccbd77 -------------------------------------------
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: http://svn.code.sf.net/p/irrlicht/code/trunk@1047 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:36:17 +00:00
engineer_apple
49fa546f6a -------------------------------------------
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: http://svn.code.sf.net/p/irrlicht/code/trunk@1046 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:35:29 +00:00
engineer_apple
fef068f9cd git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1045 dfc29bdd-3216-0410-991c-e03cc46cb475 2007-11-13 14:34:22 +00:00
hybrid
e9d4f22d6e Linux VideoModeList fix by jef.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1044 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-12 13:42:18 +00:00
bitplane
abe4b6b3c2 Menu fix by CuteAlien.
Bug with double mouse events sent to user receiver, reported by Xplod
Documentation error in IVideoDriver.h

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1043 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-09 21:55:42 +00:00
hybrid
84a117ccb2 Added documentation for attenuation.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1042 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-09 15:37:46 +00:00
bitplane
63b6c4cc23 Added a warning when loading .ms3d v4 files, as not all of the file is loaded
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1041 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-08 12:06:41 +00:00
hybrid
5a16a9ccfd Some code doc updates by Dorth.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1040 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-06 23:29:59 +00:00
hybrid
b1cdd2a014 Merged fix by rogerborg for better programming style.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1039 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-04 12:33:25 +00:00