Commit Graph

256 Commits (9c33ae93ad8fa622c7efa9c563758e3fb43ab430)

Author SHA1 Message Date
hybrid 9c33ae93ad Merge revisions 1489:1494 from 1.4 branch. Mainly cleanup, removal of .NET wrapper, and postEventFromUser patch to return if the event was absorbed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1495 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-14 08:55:40 +00:00
hybrid 565fc47062 Merged 1486-1488 from 1.4 branch, IImage methods exposed and MeshManipulator moved.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1489 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-13 23:48:33 +00:00
hybrid 674b535c2b Added hint on proper IMeshBuffer usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1484 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 21:26:35 +00:00
hybrid 9f390fe59c Make isBetweenPoints-check include the begin and end points.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1483 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 16:14:03 +00:00
hybrid b5d6000f8d Added new mMeshManipulator method scaleTCoords to scale texture coords of a mesh. Added two new access methods to texture coords of vertices of a meshbuffer. This allowed to replace the template for planar mapping as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1479 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-09 12:04:56 +00:00
hybrid 69389d0c9e Renamed scaleMesh to scale, added support for meshbuffer scaling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1478 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-09 10:34:58 +00:00
hybrid 76547f8f97 Added support for proxy meshes as source of the shadow volume. This enables the use of a simplified version of a mesh for the generation of the shadow volume, which can significantly improve the render performance with shadow volumes. Patch provided by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1477 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 19:39:24 +00:00
hybrid 3c45d6f44a Merge with 1..4 branch revisions 1444:1475, namely the irrMap bug and changes.txt updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1476 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 15:25:43 +00:00
hybrid 696baaa789 Removed signedned of colors, fixing the color flicker in software rendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1475 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 15:15:44 +00:00
hybrid 07fa12d085 Added copy constructor and assignment operator to cope with const member.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1474 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 12:53:27 +00:00
hybrid 5a1c69a9b3 Minor cleanup and constification of camera node.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1458 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 12:45:53 +00:00
hybrid f25d01b31b Allow read-only locking of textures, which may improve the performance due to optimized access to the data and skipped updates when unlocking.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1456 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:59:42 +00:00
hybrid 89b96c6609 Increased and synced the default parameter for polys per octree node.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1452 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:21:09 +00:00
hybrid a5654c661f Added default parameter for setParticlesAreGlobal. Code cleaning in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1451 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:16:12 +00:00
hybrid 1886b79274 Implementation of UserData passing from the system event receiver to the Irrlicht IEventReceiver. Currently only available for Windows (thanks to rogerborg) and Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1449 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 19:10:54 +00:00
hybrid a3d72206f8 Camera interface changed such that projection matrix and isOrthogonal flag are changed together, if necessary. Patch provided by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1448 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 15:25:05 +00:00
hybrid bcdb49774e Fixed whitespace and line endings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1446 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 11:25:56 +00:00
lukeph bea9e087fd 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1444 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-05 01:57:45 +00:00
hybrid e6e34950af Added some enhancements for scene graph traversal and an example for collision checking with .irr scenes from rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1432 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 21:24:19 +00:00
hybrid 9cbeca1cca Added node creation callback patch from fullmetalcoder. This allows a callback per created scene node for .irr scene loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1429 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:18:17 +00:00
hybrid fd06e88d09 Code cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1421 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-25 16:51:08 +00:00
hybrid 0f278fa5ed Added a meshbuffer transform method and renamed the transformMesh method to transform.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1419 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:09:30 +00:00
hybrid b9d47be01d Added rogerborg's rotationToDirection method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1416 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:02:40 +00:00
hybrid 3f664b5391 Small code cleaning. Additional check for proper values in substring method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1415 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:01:06 +00:00
hybrid 0ebbe96031 Moved the arrow mesh parts into separate mesh constructor methods for cylinder and cone. Not yet exposed in the API.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1410 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 15:04:34 +00:00
hybrid a0709c155f Fixed a bug in the terrain mesh generation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1408 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 11:26:39 +00:00
hybrid 2aeafd70e5 Allow external input processing, currently supported for X11 only.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1406 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 14:33:23 +00:00
hybrid e80e76c763 Fixed line endings and a little bug in the if check.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1404 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 09:41:58 +00:00
lukeph e903f2ca6b -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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1403 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-07 05:20:39 +00:00
hybrid f10937f31b PerfHUD enabler by Rene Rivera
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1396 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-24 15:32:20 +00:00
hybrid 2843b8b583 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1392 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 12:45:05 +00:00
hybrid 23949554cd Added angleweighted and smoothed generation of tangent space, by ryanclark.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1391 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 12:20:15 +00:00
hybrid 05cdfb61ab Added angleweighted smoothing of normals, by ryanclark.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1389 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 08:34:39 +00:00
hybrid 4dc82327d4 Added the getColorFormat for some drivers. Added the GLX context in exposed video data under OpenGL/X11.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1387 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-19 12:45:40 +00:00
hybrid 67da89e32c Fixed getColorFormat for SDL device and compiler errors.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1386 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 14:20:24 +00:00
hybrid 0874600315 Added getColorFormat methods, currently only method stubs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1385 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 10:06:04 +00:00
hybrid 8d4c92a751 Added isFulscreen method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1384 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 09:37:25 +00:00
hybrid 966db1eac4 Added isWindowFocused and isWindowMinimized methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1383 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-16 09:24:11 +00:00
hybrid 97577f9bc2 Push creation parameters to video drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1378 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 14:59:28 +00:00
hybrid 24793abad8 Cleaned up private version string parameter usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1376 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 13:35:03 +00:00
hybrid 70e78d80c9 Changed return value of a videomodelist method. missing linebreak in vector3d.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1375 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 13:34:05 +00:00
hybrid 90c297019a Added zbuffer depth flag, not all drivers and devices honor it, yet. Adapted OSX device to recent device creation changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1373 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 13:15:53 +00:00
hybrid 85d886a0ae Added a new device creation parameter to choose alpha channel support for the color buffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1372 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 09:39:30 +00:00
bitplane 32ae11b4b2 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1370 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 01:35:42 +00:00
hybrid f8010d7289 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1369 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 15:45:07 +00:00
hybrid c55da82a0c Merged revisions 1357:1366 from 1.4 branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1367 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 11:15:45 +00:00
hybrid e1df173280 Minor code cleaning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1362 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-09 14:24:03 +00:00
hybrid 9c167398bb Added the missing copyright headers and changed the new files to 2008 as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1354 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 12:07:43 +00:00
hybrid cdffc4a5d6 Merge from branch 1.4, revisions 1344:1352, which are the doc updates from the 1.4.1 release.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1353 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-22 11:51:37 +00:00
hybrid a5286dbb30 Fixed warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1342 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 22:07:21 +00:00