Commit Graph

693 Commits (7ac7c9cb9cc110fcc37d1d155d4a6e540983a751)

Author SHA1 Message Date
hybrid f1198e2c44 Fixed RTT zbuffer usage. Also cleaned up RTT bind and unbind operations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1501 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-18 12:36:17 +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 6bdb14fd7f Bugfix by Vitek to allow zip files inside zip files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1491 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-14 07:57:16 +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 ed1cd4ea1e This time a proper sw renderer fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1485 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-11 16:12:15 +00:00
hybrid aca761b6d6 Fix XML reader creation for non-existing files and invalid callbacks to return 0.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1482 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 16:08:25 +00:00
hybrid 45f581d75c Fix coredump due to forgotten 0-check.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1481 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 15:38:33 +00:00
hybrid 6d3e9efe0e Prevent b3d loader to load textures from unused materials. Other mesh loader might still suffer from this.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1480 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-10 15:26:45 +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 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 8ac1ffd74e New glext.h.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1473 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-08 12:00:59 +00:00
hybrid 246191a20b Oops, some variable name mismatches on big endian systems...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1459 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 19:15:18 +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 49026f745e Fixed event handling under win32.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1457 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 12:08:08 +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 d3491565ed Added RTT locking for OpenGL driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1455 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:36:56 +00:00
hybrid 2275b5fab8 Forgot one method call change.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1454 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 11:34:09 +00:00
hybrid 6c4a691db1 Removed unused parameter from win32 OpenGL setup. Separated wrap mode handling into new method in ogl driver. Fixed pixel alignment in ogl pixel transfers to avoid problems on special systems. Fixed an info message to be printed always, not just for big endian systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1453 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-07 10:25:44 +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 8099c45b64 Missed a constification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1450 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 22:46:48 +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 d3ccf6335e Fixed reference counting problems due to statically allocated meshbuffers. Bug found by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1447 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-06 14:45:22 +00:00
hybrid 878c280ccb Some driver cleanup. Fixed the issues with external window usage under OpenGL and Linux. Added error checking for VBO usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1443 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-03 12:28:21 +00:00
hybrid c270bd9955 Missed the focus change enabling. Now the events are properly processed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1442 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-01 18:27:14 +00:00
hybrid 65cfbeb218 Cleanup and some speed improvements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1440 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 17:24:27 +00:00
hybrid 7b4d76de26 Fixed some things in .obj texture handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1439 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 11:31:19 +00:00
hybrid c493b739d8 Fixed keyframe data parsing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1438 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 09:47:54 +00:00
hybrid d296e17fdb Fixed normal generation for obj files without normals.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1437 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-31 09:47:37 +00:00
hybrid c1b36e96a5 Bug fix to avoid core dump due to access to empty meshbuffers by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1436 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 23:24:15 +00:00
hybrid 9226383d37 Fix to make the OIS interfacing work under Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1435 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 23:16:08 +00:00
hybrid b083e20be4 Fixed OnCreateNode call to be made only after the attributes and all children were loaded.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1434 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 22:48:51 +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 ad669fc78d Added fix by drewbacca which avoids spinning camera if the event receiver is disabled while mouse was moved.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1430 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 20:35:36 +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 846ea61467 Removed WIP code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1428 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 16:14:03 +00:00
hybrid a2822317a7 Fixed memory leak in b3d loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1426 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-30 14:13:25 +00:00
bitplane b0ccc2f5c3 Typo in tangent mesh loading code, thanks pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1425 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-29 20:02:34 +00:00
hybrid 63e4360fa2 Fixed the clamping problems in OpenGL, thanks to ikam. Also cleaned up the 2d render state init.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1424 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-29 13:04:01 +00:00
hybrid 17d5f8a3f6 Merged from 1.4 branch revisions 1368:1422.
This fixes wrong child handling in AnimatedMesh SceneNode, 2dimage clipping in d3d drivers, and a string handling issue in example 16.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1423 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-28 17:34:05 +00:00
hybrid 471219360d Minor tweaks in cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1422 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-25 16:52:43 +00:00
hybrid 7e732e9056 Fixed MSVC warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1420 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-18 14:45:17 +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 f66d930804 Properly initialize vertex copies.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1418 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:08:33 +00:00
hybrid b9c1b18f10 Small code cleaning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1417 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 09:07:21 +00:00
hybrid c8cd14a495 Fixed forgotten class qualifier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1414 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-17 08:29:04 +00:00
hybrid 5f3580a5a7 Added missing member functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1413 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-16 11:08:13 +00:00
bitplane 3d51b275d4 Checking for IsEnabled is now consistent across all GUI elements (bug 2003234 by CuteAlien)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1412 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 19:47:51 +00:00
hybrid f717384735 Project file for SCons build tool.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1411 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 16:09:42 +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 d0888a25a7 Fix line endings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1409 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 15:02:31 +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
lukeph 3807fcf362 Fixed a bug with the Frontface culling render state in opengl.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1407 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-07-08 05:19:36 +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
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 c661079e7e FBO patch from Nadro for better ATI support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1402 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 15:38:48 +00:00
hybrid 2c1aa553a8 floating point rounding problem fix by rogerborg/cutealien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1401 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 09:22:40 +00:00
hybrid e5818880b9 Merge the new libpng version. Seems to take care of the WIN_CE problems on its own, so no need for the 'if 0' check anymore. Also fixes the const static warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1400 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 08:41:15 +00:00
hybrid a43e6376be Add fpic for shared libraries.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1399 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-27 08:39:20 +00:00
hybrid 0d0c05625a Fix warnings if no X extension is available.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1397 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-26 09:12:11 +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 9646ed09af Some material fixes pointed out in the deled forum.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1390 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-20 08:36:07 +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 26682d0102 Fixed warning in software driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1388 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-19 13:09:57 +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
teella 7d6f77dd91 get rid of compiler warning OSX
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1382 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-15 20:42:08 +00:00
teella a2946ae772 OSX sync with latest 1.4.1
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1381 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-14 19:59:53 +00:00
hybrid 2601d0b8b6 Changed ReadBuffer to be always the front buffer. Hence, screenshots under OpenGL will now also reflect the currently visible image, whatever render calls have been made in between.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1380 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 15:59:50 +00:00
hybrid d6c32fd9f0 Push the params also for OSX.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1379 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 15:52:54 +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 6fae142426 Fixed line endings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1377 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 14:01:17 +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 e0b7099b9f Fixed const problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1374 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 13:25:01 +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
hybrid 6b09fabba4 Also updated the WinCE device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1371 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-13 08:54:48 +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 93ec1e0a4d Fixed draw2DImage methods for RTT usage under OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1368 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 12:00:41 +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
bitplane 96b3d0beed Fixed bug with Maya cam animator absorbing all wheel events (1983850)
OpenGL render target flip now works with texture clamping (assuming tcoords are 0.0 to 1.0)
Quick fix for crash when removing old hardware buffers.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1366 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-12 03:15:59 +00:00
hybrid 5ac04338ae Speed up screenshot with OpenGL on Intel gfx cards.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1365 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-11 07:59:28 +00:00
bitplane 1833dcdb23 Camera FPS animator: Fixed float scaling bug. When horizontal movement is disabled the camera now moves at a constant speed regardless of angle.
Collision response animator now animates camera target (can be disabled via attributes) and the node can be changed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1364 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-10 01:10:06 +00:00
hybrid 1dac6b6c0b Fixed a method signature bug, found by kburkhart84
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1361 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-06-06 16:07:30 +00:00
hybrid daeb4d0412 MY3D loading bug fixed. Some more code cleaning, removed the my3d stuff file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1357 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-30 12:31:06 +00:00
hybrid 464c714f39 Performance improvement for terrainmesh generation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1356 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-30 12:10:24 +00:00
hybrid 8ee7c89b14 Minor include fix for OSX by grafikrobot.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1355 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-30 08:16:47 +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 a69531ee82 Fixed wrong cast spotted by greenya.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1349 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-16 21:56:57 +00:00
hybrid 7bfe4830d2 Fixed cleanup in case of failed shader compilation such that the base material is used.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1344 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-30 17:06:08 +00:00
hybrid 376c58fe28 The d3d drivers also suffered from the shader compilation failure problem, now fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1343 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-30 14:38:43 +00:00
bitplane ad9518894f Fixed memory leak in cube node
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1341 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 20:55:30 +00:00
bitplane f51d8bf3f0 Added debug data strings to most classes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1340 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 20:54:12 +00:00
hybrid f15aa6b053 Cleanup for FPS cam.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1339 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 16:51:26 +00:00
hybrid 6ae5273344 Avoid warning on systems not supporting FBOs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1338 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 16:26:19 +00:00
hybrid 1092362c9d Removed doubly stored image, as in d3d9 driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1337 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 16:22:23 +00:00
hybrid 2f8299d3e3 Fixed OpenGL shader materials to always add a material renderer in order to avoid mismatched predefined material renderers. Moreover, this is also the behavior if no shader support is available.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1336 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 16:05:42 +00:00
hybrid 35cb5664d3 Make md3 models movable again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1335 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 15:15:51 +00:00
hybrid cd6632de6c Fixed minor mem leak in 3ds loader. Fixed texture translation in q3 shaders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1334 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 12:14:07 +00:00
hybrid c65379e770 Minor changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1331 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 12:02:59 +00:00
hybrid 1884d75682 Simplified code for image generation using methods of the CImage class. Untested, due to lack of example files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1330 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 11:58:36 +00:00
hybrid 755e117078 Merged from 1.4 branch revisions 1316:1328.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1329 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 11:34:54 +00:00
hybrid cf0038ca5a Add 64bit linux check for proper library selection.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1328 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 09:29:38 +00:00
hybrid 827a3c6861 Added frontface culling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1327 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-29 08:19:17 +00:00
hybrid a635b71fa2 Fixed typo in Makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1326 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-28 22:16:11 +00:00
teella 760b51273b full screen mouse fix for OSX
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1324 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-25 20:21:06 +00:00
bitplane f524ab2b03 ISceneNodeAnimator now inherits IEventReceiver, cameras send events to their animators. FPS and Maya cameras are now animators.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1321 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-24 21:39:22 +00:00
hybrid 304c3b2449 Fixed mem leak.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1319 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-22 16:12:24 +00:00
lukeph 24202d861a committed patch:
[ 1942358 ] DX9 Blindside VBO Implementation plus SiO2 fix

to allow hardware buffers to be used by dx9, like openGL

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1318 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-21 15:36:14 +00:00
bitplane 4325befbb1 Volume light to use hardware buffers and correct render pass. Doesn't make much difference as complex lights do lots of filling when close up
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1317 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-17 06:27:47 +00:00
hybrid 0e63486fbe Merged revisions 1309:1314 from 1.4 branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1315 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-12 23:02:15 +00:00
hybrid 6a0d4ea7b2 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@1313 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-09 09:15:12 +00:00
hybrid 7b8dbd227f Moved the variable to avoid warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1309 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-04 08:49:28 +00:00
hybrid ec8f03d70e Added another material flag to enable front face culling. Can be useful for special effects.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1308 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-04 08:48:22 +00:00
hybrid 1a45ab5d92 Additional check to avoid access to non-exisiting indices, by kosuha.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1307 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-04 08:43:08 +00:00
hybrid 897a3fa6a6 Merged from branch 1.4 revisions 1290:1305.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1306 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-30 23:19:12 +00:00
hybrid bffa0b1905 Fix addHLShaderMaterialFromFiles to properly reset the file when being used twice, found by Kriolyth. Fixed affinityMask type, found by Kosuha.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1305 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-27 23:39:37 +00:00
hybrid e480b85d31 Fixed the setter methods to recreate the volume light.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1301 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-26 13:59:01 +00:00
hybrid 9eb99c5bd7 Fixed quaternion warnings. Fixed returned interface pointers for newly introduced scene node changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1299 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-26 12:56:25 +00:00
hybrid 11d12d3488 Changed scene node sorting to use squared distances.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1296 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 13:11:42 +00:00
hybrid 7c19d2db5f Use the filesystem methods to deal with paths.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1294 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 10:22:33 +00:00
hybrid e300dc2c3b Added some bounding box updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1293 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 10:21:27 +00:00
hybrid 4e6e236ec4 Merged from branch 1.4, revisions 1275:1289
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1290 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 09:54:51 +00:00
hybrid ca91742a1e Fixed a possible transformation problem in debug render.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1289 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 09:33:59 +00:00
hybrid eefa8390a9 Made cube node a mesh node.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1288 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 09:29:57 +00:00
hybrid b6f67a0b46 Removed a default destructor. Fixed .x loader to avoid loading .xml files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1287 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-19 09:28:55 +00:00
teella 14b4e58c6c added depthSize and alphaSize support to OSX based on colour bit
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1284 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-12 08:37:30 +00:00
teella fca48f5a8f added peroid work around for OSX reported by Ori Hanegby
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1283 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-12 05:05:54 +00:00
teella 09e767a933 anti alias added for OSX and GL_LINE_SMOOTH enabled if antiAlias true
How ever createDevice does not pass any AntiAlias option so default is always false


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1282 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-12 04:50:29 +00:00
hybrid 5bdb986ed0 Added a method to get the basename of the file, without path.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1281 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-05 16:47:30 +00:00
hybrid e7add51880 Merged from 1.4 branch revisions 1272:1279
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1280 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-05 00:02:00 +00:00
hybrid 7818dcbfc0 Removed some unused code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1279 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-04 16:56:55 +00:00
hybrid 451d5bca72 Merged from 1.4 branch revisions 1251:1271
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1272 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-02 14:28:48 +00:00
LukePH 89aa5dab47 bug from VBO changes. when more indices are drawn then the last frame, the debug build would crash
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1271 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-03-01 05:31:48 +00:00
teella 3258b181b6 added getVideoModeList and getDesktopResolution support for OSX
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1270 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-27 19:59:16 +00:00
lukeph 580c3f5365 terrains can now use VBOs, but index and vertex data will need to be updated independently for any speed gain
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1269 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-27 14:07:27 +00:00
hybrid ee6f54877e Added TangentMesh support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1265 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-02-26 23:23:19 +00:00