384 Commits

Author SHA1 Message Date
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
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
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
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
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
f33a1d9f7e Fix MacOSX consts.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1038 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-02 00:24:27 +00:00
hybrid
1b1c6f5c90 NO_ALPHA_CHANNEL bugfix from KH.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1036 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-20 20:50:25 +00:00
hybrid
06fc30da32 Fixed doc typos mentioned by Dorth.
Added scalar value operations to vector2d.
Reindentation of Q3 code.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1033 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-19 11:43:18 +00:00
hybrid
3ad7c54c48 Removed umlauts.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1032 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-18 08:02:27 +00:00
hybrid
dfaacfb5d8 Some doc updates by CuteAlien.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1030 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-17 16:03:42 +00:00
hybrid
82b8cd6ce5 Avoid problem with missing POSIX symbols.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1028 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-17 08:05:32 +00:00
lukeph
014e5aef45 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1027 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-16 13:34:07 +00:00
hybrid
fead2f1fc0 Fix the variable declaration.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1026 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 22:27:45 +00:00
hybrid
cc928eae36 Fixed a mem leak in b3d loader, spotted by Ico.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1025 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 12:27:19 +00:00
hybrid
a6e218c6b3 Make the win32 device close again.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1024 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 12:00:23 +00:00
hybrid
bcd59a38b5 Fixed some unpleasant code fragments.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1022 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-10 14:07:40 +00:00
hybrid
79f1237b02 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1021 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-05 07:48:53 +00:00
lukeph
8bb1ff90d8 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: http://svn.code.sf.net/p/irrlicht/code/trunk@1016 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-02 04:01:08 +00:00
irrlicht
02327ceb82 codeblocks project update
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1012 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-29 08:11:14 +00:00