Commit Graph

484 Commits (b5ac2dfa27d6731c8fcf58b6e69b5f1beeba821a)

Author SHA1 Message Date
hybrid 0390bd23a7 Added some sanity checks to avoid buffer overruns. Avoid using this loader on generic images.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1142 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-29 16:09:30 +00:00
teella a1df499bb1 XCode Project clean up . File sorting simular to Visual Studio Project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1135 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-24 05:03:43 +00:00
teella c9697ac659 OSX project update
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1134 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-24 03:33:47 +00:00
hybrid 99fd5bcc7c Merged 1.4 branch, revisions 1106:1132.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1133 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-23 17:04:40 +00:00
bitplane 0dffdd46a6 table serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1132 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-23 02:48:02 +00:00
bitplane 3bba1695e6 ministry of truth update. removed the user settings files from osx projects
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1131 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-23 00:39:02 +00:00
hybrid d8a80a664b Removed another umlaut from comments. Minor other changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1130 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 22:33:51 +00:00
bitplane ec0e4fbdd4 removed umlauts from Acki's credits
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1128 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 21:16:24 +00:00
bitplane 41bfa7d990 Added collision manager optimization by rogerborg, adds early-out optimizations in ray-triangle intersection.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1126 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 08:15:22 +00:00
bitplane db41d013ef oops missed this one
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1125 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 07:50:37 +00:00
bitplane aab1dfa7cb Added StarSonata GUI patch from the tracker, const corrected. Fixed some bugs and changed the style and behaviour of the tabs. Tables aren't fully tested and don't serialize properly yet.
Changed gui editor to show off and test the new tab features.
Updated project files and makefile, have only tested vc8 and dev-cpp. Didn't know how to do the OSX project so I'll leave it for Dean.
Moved EGUI_ALIGNMENT into separate header.
Added getArea and getVolume for bounding boxes, no real reason for them.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1124 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 07:49:29 +00:00
bitplane 6c7fa2438e editbox didn't draw children.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1123 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 01:34:57 +00:00
bitplane 0b391b0380 Added fix for d3d9 textures by rogerborg- D3D9 textures no longer hold on to the IImage pointer, a copy is already in system ram due to using the d3d_managed pool. The same change should also be added to D3D8 textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1122 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-21 21:20:34 +00:00
hybrid 78a681194d Made the scenenode parameter for selectors const.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1120 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-21 15:41:51 +00:00
hybrid 379b7570d7 Check for null pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1119 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-21 15:39:23 +00:00
hybrid fb26c88b28 Removed some WIP code which was not completely commited, and yet not working.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1117 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-21 14:28:55 +00:00
hybrid 757cb257a6 Some character handling fixes for SDL device by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1116 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-21 11:50:15 +00:00
lukeph a5a266304b -added a linux codeblocks project file (may have some unnecessary includes right now)
-stopped wal image loader trying to load (and crashing on) every unknown image file

-fixed bug with hybrid's offsets, in the vbos. btw the offsets really needs to be changed back to my method with plain casts (I cannot see a problem there), or use the offsetOf macro.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1114 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-18 04:25:45 +00:00
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