240 Commits

Author SHA1 Message Date
hybrid
dc4bb13c67 Fixed whitespace and line endings.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1446 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 11:25:56 +00:00
lukeph
7d6db82893 Some header files for a new meshbuffer, not being used yet, till I commit the changes to irrlicht.
new meshbuffer has split vertex and index buffers and supports switching between different vertex and index(16/32bit) types at runtime.

some parts like CSpecific(Vertex/Index)List may need to be optimized. may change to use plain switches, having options (like 32bit) able to be undefined.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1444 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-05 01:57:45 +00:00
hybrid
e96f38e8f4 Added some enhancements for scene graph traversal and an example for collision checking with .irr scenes from rogerborg.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1432 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 21:24:19 +00:00
hybrid
9bdbb00ba0 Added node creation callback patch from fullmetalcoder. This allows a callback per created scene node for .irr scene loading.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1429 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:18:17 +00:00
hybrid
3a89fe6179 Code cleanup.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1421 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-25 16:51:08 +00:00
hybrid
f1ae46d9c9 Added a meshbuffer transform method and renamed the transformMesh method to transform.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1419 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:09:30 +00:00
hybrid
4999cf7c44 Added rogerborg's rotationToDirection method.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1416 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:02:40 +00:00
hybrid
ef06f6ef9b Small code cleaning. Additional check for proper values in substring method.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1415 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:01:06 +00:00
hybrid
dfaa6b062f Moved the arrow mesh parts into separate mesh constructor methods for cylinder and cone. Not yet exposed in the API.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1410 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 15:04:34 +00:00
hybrid
197fd43b70 Fixed a bug in the terrain mesh generation.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1408 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 11:26:39 +00:00
hybrid
2dc886ca74 Allow external input processing, currently supported for X11 only.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1406 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 14:33:23 +00:00
hybrid
676091b2c1 Fixed line endings and a little bug in the if check.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1404 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 09:41:58 +00:00
lukeph
7b442ffc0e -Made drivers update vertex and index VBOs independently. Massive speed up for terrain nodes. Interface isn’t so clean yet, but will be when vertex and index buffers are separated.
-fixed a rendering state bug, in openGL and directx drivers, while changing from 3d to 2d rendering.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1403 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 05:20:39 +00:00
hybrid
030213c71e PerfHUD enabler by Rene Rivera
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1396 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-24 15:32:20 +00:00
hybrid
6da17e04b6 Added generation of tangent space which can keep the original normals, by ryanclark. Note that inaccuracies of the tangent space may arise if you keep the original tangents. Angle weighted smoothing seems to be bogus, maybe indices are wrong.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1392 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 12:45:05 +00:00
hybrid
029707298c Added angleweighted and smoothed generation of tangent space, by ryanclark.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1391 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 12:20:15 +00:00
hybrid
051ded6b4e Added angleweighted smoothing of normals, by ryanclark.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1389 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 08:34:39 +00:00
hybrid
c3b1616721 Added the getColorFormat for some drivers. Added the GLX context in exposed video data under OpenGL/X11.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1387 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-19 12:45:40 +00:00
hybrid
b2e6104c2a Fixed getColorFormat for SDL device and compiler errors.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1386 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 14:20:24 +00:00
hybrid
5ee4f39df0 Added getColorFormat methods, currently only method stubs.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1385 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 10:06:04 +00:00
hybrid
a831468612 Added isFulscreen method.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1384 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 09:37:25 +00:00
hybrid
e80e0dc385 Added isWindowFocused and isWindowMinimized methods.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1383 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 09:24:11 +00:00
hybrid
c5a6f77c5c Push creation parameters to video drivers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1378 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 14:59:28 +00:00
hybrid
74fa36f184 Cleaned up private version string parameter usage.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1376 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 13:35:03 +00:00
hybrid
11f0027021 Changed return value of a videomodelist method. missing linebreak in vector3d.h
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1375 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 13:34:05 +00:00
hybrid
43eaa60a81 Added zbuffer depth flag, not all drivers and devices honor it, yet. Adapted OSX device to recent device creation changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1373 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 13:15:53 +00:00
hybrid
668e4814f2 Added a new device creation parameter to choose alpha channel support for the color buffer.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1372 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 09:39:30 +00:00
bitplane
9979f9eb5a Applied Hybrid's device creation parameter changes to the Win32 device.
Clarified docs on event types and added a couple of links.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1370 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 01:35:42 +00:00
hybrid
404ffb492a Changed the device creation to make more use of SIrrlichtCreationParameters. This should increase maintainability and ease addition of more configurable properties. The windows devices need to be adapted still, but should compile for now...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1369 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 15:45:07 +00:00
hybrid
21473242eb Merged revisions 1357:1366 from 1.4 branch.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1367 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 11:15:45 +00:00
hybrid
77062fd244 Minor code cleaning.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1362 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-09 14:24:03 +00:00
hybrid
7dec3961bf Added the missing copyright headers and changed the new files to 2008 as well.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1354 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 12:07:43 +00:00
hybrid
5e04a990eb Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +00:00
hybrid
5ee1a74fbe Fixed warning.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1342 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 22:07:21 +00:00
hybrid
498669d260 Change material field to char in order to save memory.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1333 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 12:11:37 +00:00
hybrid
42f6be9be0 Warning fix and new method for both 1.4 branch and trunk.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1332 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 12:10:33 +00:00
hybrid
fd2cce9692 Minor changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1331 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 12:02:59 +00:00
hybrid
8d3077d1af Merged from 1.4 branch revisions 1316:1328.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1329 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 11:34:54 +00:00
bitplane
084fd00669 ISceneNodeAnimator now inherits IEventReceiver, cameras send events to their animators. FPS and Maya cameras are now animators.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1321 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-24 21:39:22 +00:00
hybrid
9137530c94 Merged revisions 1309:1314 from 1.4 branch.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1315 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-12 23:02:15 +00:00
hybrid
d637656e71 Changed ExposedVideoData to use void* under Windows, fixes problems on 64bit systems. Some other 64bit warnings silenced. All changes provided by Kosuha.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1313 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-09 09:15:12 +00:00
hybrid
23de18de7a Added another material flag to enable front face culling. Can be useful for special effects.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1308 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-04 08:48:22 +00:00
hybrid
133cd79f4a Merged from branch 1.4 revisions 1290:1305.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1306 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-30 23:19:12 +00:00
hybrid
9ab230b754 Fixed types mismatch.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1300 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-26 13:40:01 +00:00
hybrid
fed3e8ae4f Fixed quaternion warnings. Fixed returned interface pointers for newly introduced scene node changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1299 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-26 12:56:25 +00:00
hybrid
67d09fa37a Fixed the quaternion problem. However, getMatrix(m) and m=getMatrix do produce different values now, and seem to have made this for quite a long time. This needs some more fixing and testing.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1298 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-20 09:52:00 +00:00
hybrid
8325a442b2 Fixed the missing Windows API check for _WIN32 and _WIN64, both in trunk and 1.4. Finished the API enhancements in quaternion and vector classes. All methods now return the object where necessary.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1297 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 21:48:23 +00:00
hybrid
075edcbdc7 Fixed extra qualification.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1295 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 12:50:53 +00:00
hybrid
fd15c09a2a Minor changes and cleanup.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1292 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 10:20:41 +00:00
hybrid
7a5305f608 API changes to the quaternion class. Some methods now return the quaternion by reference in order to chain operations. Renamed getDotProduct to dotProduct to follow the vector class.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@1291 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 10:20:13 +00:00