Commit Graph

275 Commits (fa91c5ab41e1cbfbdf04e680cf41b789256146bd)

Author SHA1 Message Date
hybrid be8a2cf192 Fix some differences between trunk and branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2146 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-27 14:15:59 +00:00
hybrid 55e2c6d600 Merged from trunk, all revisions from 1977 to 2143.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2144 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-27 13:23:36 +00:00
hybrid 1df5e063fb Fix compilation on iPhone platform, submitted by grafikrobot.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2051 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-06 21:06:19 +00:00
hybrid e905a9ef0c Added iPhone device and ogl-es support for it. Patch submitted by grafikrobot.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2022 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-03 01:02:59 +00:00
hybrid 40966c5a1a Add and comment the ogl-es extension define. Make opengl and ogl-es mutually exclusive by default.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@2015 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-02 11:09:37 +00:00
hybrid 30100db0a5 Merged all revisions up to 1976 from trunk into ogl-es branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@1977 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-12-19 09:56:25 +00:00
hybrid cc7f977f60 Merged revisions 1726:1852 from trunk for the recent updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@1853 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-27 23:52:13 +00:00
hybrid 0504cb817e A compilable version of the ogl-es1 driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@1727 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 23:04:00 +00:00
hybrid 51484af6d3 Merge rev. 1524:1721 from trunk in order to get latest initialisation code and feature support for ogl-es driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@1722 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 10:11:25 +00:00
hybrid a9b64e9e5c Removed some consts from POD type return values. Added missing imlementations in SSkinMeshBuffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1517 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 14:20:05 +00:00
hybrid fd61d6dd19 Removed some consts from POD type return values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1516 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 14:08:12 +00:00
lukeph 341dc16566 -added support for 32bit buffers in the opengl and directx9 drivers :) hopefully not buggy...
(may need to add support for directx8 and software?)

-made terrainNode use DynamicMeshBuffer, so it can use 32bit buffers. (no more size limits now on terrains!!! )
if the terrainNode loads an image over 256x256, it is set to 32bit, smaller sizes will use 16bit for better speed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1515 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 04:00:22 +00:00
hybrid 57485235b9 Added some vector operations which take just one scalar as argument.
Optimized isBetweenPoints for vector2d
Added some virtual qualifiers for better readability
Added some terrain interface methods which are not properly working, yet


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1513 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-26 11:46:07 +00:00
hybrid 682a1200a8 Replaced transformBox by transformBoxEx to avoid major malfunction of the transformations when the transformation includes rotations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1511 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-25 13:46:22 +00:00
hybrid d9c0ceb6ea Change parameter to bool.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1509 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:51:31 +00:00
hybrid e78db30247 Docs update for trunk and branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1508 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:36:41 +00:00
hybrid 2489bda2e8 Merged 1499:1506 from 1.4 branch: Doc updates, getEmitter added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1507 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:24:52 +00:00
hybrid 37e15009b5 Const correctness for a pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1499 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-15 08:46:57 +00:00
hybrid 763acaa745 Merge revisions 1495:1497 from 1.4 branch. GUIImage fix by CuteAlien. Default value changes in particle system and scene manager.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1498 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-14 15:36:21 +00:00
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