Commit Graph

835 Commits (242c1d8d04054d332a86c92d0c17089a3825e8f1)

Author SHA1 Message Date
hybrid d2dca1f1fe Reindentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1655 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 17:52:41 +00:00
hybrid 33f3a2da8c Reorder namespace and include statements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1654 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:44:19 +00:00
hybrid df70ce4492 Remove warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1653 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:42:33 +00:00
hybrid 5f4681adad Some reorganization of the ogl win32 init.
Rename of pPixels to pixels.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1649 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 00:29:29 +00:00
hybrid 6fa8a63abc Added support for normals and UV coords from DeclData.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1646 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-25 21:22:35 +00:00
Rogerborg a1e21da6b0 Adding IVideoDriver::drawPixel() and implementations, as per http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30741. Test code is in that post.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1642 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:45:47 +00:00
Rogerborg 9a64087ec3 Fix release mode build of CDMFLoader.cpp. Fix D3D8 build (need Summer 2004 SDK). Force alpha in D3D8/D3D9 screenshot pixels to 255 if necessary ( http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=174233#174233 )
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1641 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:23:02 +00:00
hybrid 1d3860ece6 Remove extra semicolons.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1640 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:25:31 +00:00
hybrid bbc0b48e60 Added line counting in .x loader, useful for easy debugging.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1639 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:23:31 +00:00
hybrid a5da1f1361 Add support for window ptr in beginScene.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1638 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:19:51 +00:00
hybrid f902b0a4bb Always check the SoftwareImage pointer, and use the getVideoMode method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1637 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:17:06 +00:00
lukeph 0c4a4ea53c Possible problem with scaling, reported by gbox here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30175
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1635 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:42:14 +00:00
lukeph f3927d5cc2 Was missing a call to load the joints into the node in getJointNode(u32 jointID)
like with getJointNode(const c8* jointName)

reported by xray here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30486

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1634 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:27:26 +00:00
lukeph a98153f8d5 Fixed a problem with terrain culling not updating as the camera FOV changes.
reported here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30575

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1633 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:11:14 +00:00
hybrid 67b315786d Some more texture loading updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1632 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-13 22:50:46 +00:00
teella 3d78d2a9f4 implemented createClone in ISceneNodeAnimators
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1631 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-13 02:55:54 +00:00
hybrid d42ce61775 Added a check method to query the device reset event for D3D drivers. Since in the case of a reset the content of all RTTs are lost, it's required to become aware of this fact.
The current solution is just a simply check which works with lots about the drivers. A cleaner solution would return all structures which have to be regenerated. A new enum is already created for this reason, but not yet implemented. However, the interface of the new checkDriverReset method might change in the near future...

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1630 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-12 14:30:22 +00:00
hybrid be924b27ed Fixed core dumps and loading errors. Some speedup and simplifications.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1629 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-11 23:25:48 +00:00
teella f180825e51 added GUIEditor to OSX project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1628 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-11 14:18:52 +00:00
hybrid 9577119772 Fixed problems with missing (default) strings in the obj loader and copyright statement.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1627 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-10 14:38:50 +00:00
hybrid 2fcc151d7e 64bit fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1626 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 22:42:47 +00:00
hybrid 19ec5143af Enable minimize button for win32 windows.
Add some more error tests in d3d9 driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1625 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 22:24:06 +00:00
hybrid e8ef136cfe Working version of the d3d device lost patch. It might need some more working for VBOs, but RTTs are now properly released before reset().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1624 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 11:23:37 +00:00
hybrid 3f153d2a2c First try for d3d9 lost device fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1623 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 09:39:13 +00:00
hybrid b44c2bdadf Added RTTs to texture cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1622 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 08:13:34 +00:00
hybrid 6fdfa14d6e Clone method implementation for Animated Mesh Scenenode, by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1620 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-08 14:56:40 +00:00
hybrid 07b9bc8a90 Fix warning about new enum value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1619 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-08 14:55:48 +00:00
hybrid dee929e08d Fix the RTT POT sizes, which were now usually too small.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1617 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-05 21:48:50 +00:00
hybrid f1f236b9d7 Added proper ZWrite behavior for transparency.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1614 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-02 13:11:03 +00:00
hybrid 009e6d440c Fixed the handedness of the coord system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1613 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-02 13:10:08 +00:00
hybrid 493f688fda Added a driver feature check for non-square textures (which some d3d drivers don't seem to support...). It's not yet used in size calculations, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1612 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 22:27:15 +00:00
hybrid 0879f07be7 The real bbox fix from tprochownik.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1611 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 21:07:45 +00:00
hybrid 47eaf3c0fc Another material cleanup for the debug renders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1610 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 21:06:34 +00:00
hybrid f2a70abb69 Don't render debug boxes with complete transparency
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1609 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 20:47:11 +00:00
hybrid a091e4fab5 Added debug output and fixed Giles Lightmap loading for b3d loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1608 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 13:11:50 +00:00
hybrid 00bd0d6b85 Fixed comment handling and added support for compact meshmaterial lists.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1607 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 11:36:20 +00:00
hybrid a649829f3d Some minor changes from the RTT patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1606 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 22:56:29 +00:00
hybrid bae1cd68b3 Fixed a missing symbol in older DX SDKs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1605 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 21:51:52 +00:00
hybrid ba581fddd0 Relaxed the Window caption setting in order to avoid problems with threaded applications or external windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1604 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 21:27:14 +00:00
hybrid 28dbc4bec4 Defer bbox calculation of skinned mesh as suggested by tprochownik.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1603 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 14:41:22 +00:00
hybrid f6beb73a1b Added some window status fixes for OSX.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1602 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 09:44:00 +00:00
hybrid 04d2218833 Store the actual render window in ExposedData.OpenGLLinux.X11Window, even for externally created parent windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1601 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 09:18:42 +00:00
hybrid b4c597aa83 Merged revision 1599 from 1.4 branch and fixed also the second issue we had with disabled X11 support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1600 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 08:57:47 +00:00
hybrid 8db1da30c2 Merge revisions 1572:1596 from 1.4 branch: Some late bugfixes of the 1.4.2 release. Tutorial generation mechanism.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1598 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:46:43 +00:00
teella 9d3b46ab0a bring OSX build up to latest svn
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1597 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:39:52 +00:00
hybrid 6eeb984a78 Update to libpng 1.2.32
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1596 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:12:22 +00:00
hybrid 31fb388347 Another color method rename fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1595 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:09:56 +00:00
hybrid fa9a548328 Removed default destructor.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1593 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 11:31:17 +00:00
hybrid f16ed30071 Wrong cast type.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1592 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 11:13:29 +00:00
hybrid 01a0042f91 Moved windowId and sourceRect parameters from endScene to beginScene in order to support several windows for OpenGL as well. This is not yet implemented, though, just made some preparations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1591 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-27 13:19:29 +00:00
hybrid bf2d25aece Added a disableFeature method to the drivers, which can override the support of render features.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1590 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-26 20:29:45 +00:00
hybrid e1ed3d4a77 Fixed the image flip for draw2DImage in OpenGL driver as suggested by omaremad.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1578 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-22 19:24:22 +00:00
lukeph 4a1a067709 fixed a slow down in terrain nodes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1572 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-18 09:07:07 +00:00
hybrid 038d839eb8 Merged revisions 1561:1570 from 1.4 branch. This fixes the ZWrite enable scene attribute and does some minor cosmetic changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1571 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-16 16:33:33 +00:00
hybrid c1aadf5acc Forgot addition to the new project file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1564 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-14 21:40:06 +00:00
hybrid 1edc55c924 Fixed a missing function call, found by night_hawk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1561 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-12 16:39:03 +00:00
hybrid 529b6f0f3c Merged revisions 1543:1559 from 1.4 branch. Mainly zbuffer issues and the TextureMatrix allocator patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1560 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-12 15:19:19 +00:00
hybrid 05c55f7151 Hmm, general front buffer reading is bad for texture based RTTs, so fixed this change to the screenshot method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1558 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-11 08:16:28 +00:00
hybrid 8050b2d031 Fixed reorder warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1557 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-10 14:49:33 +00:00
hybrid 5122087981 Hotfix for some better character support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1556 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-10 14:20:21 +00:00
bitplane 93947151cb Fix for [2003232] EET_KEY_INPUT_EVENT send twice when an element is focused, by CuteAlien
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1554 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-09 22:50:14 +00:00
bitplane e3fd0142e1 Fixed bug id 2074582, CSceneNodeAnimatorCameraMaya uses uninitialized OldTarget.
Animator now remembers the previously used camera and resets the OldTarget on a change

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1553 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-09 21:51:57 +00:00
hybrid a32d8dc446 Oops, wrong types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1552 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-09 20:59:31 +00:00
hybrid b7d528d4a0 Q3 shader fix by sio2
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1550 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-08 22:22:22 +00:00
hybrid 47b358bcd1 Fix a problem with whitespace at end of XML files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1548 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-08 11:05:40 +00:00
hybrid 37db2e6b65 Use the existing interfaces.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1547 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-08 08:26:46 +00:00
hybrid a55e2d6b0a Added .obj writer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1542 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 16:40:33 +00:00
hybrid 60f1955826 Allow to skip extensions of filenames.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1541 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 16:35:10 +00:00
hybrid ec4d244224 Avoid 32bit depth in XVisuals unless transparency is really necessary.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1540 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 15:06:54 +00:00
hybrid a8a075bec1 Merged from branch 1.4 revisions 1529:1538
vc9 project files, pointer checks in GUI

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1539 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 23:20:51 +00:00
hybrid ed5710bf5e Made some string constructors explicit to avoid nasty misinterpretations. Just add core::stringc or core::stringw around the numbers the compiler doesn't want to convert automatically anymore.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1534 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 13:18:58 +00:00
hybrid 4750bbc3bc Fixed wrongly used overload - was taking number instead of character.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1533 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 13:14:51 +00:00
hybrid a512894396 Added support for loading of textures in oct files from the same place like the mesh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1532 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 12:46:37 +00:00
hybrid a8377b263f Added some more stringc taking overloads.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1531 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 12:44:11 +00:00
hybrid 953b9e6383 Changed error message again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1530 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 23:47:08 +00:00
hybrid 97dddc60eb Better XError message. Improved Software render present() under X11.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1529 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 23:15:33 +00:00
hybrid 9672dec5f2 Merged from other branches up to revision 1527:
LinuxDevice initialiser list fix. WinCE setup parameter handling bug fix.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1528 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 22:01:27 +00:00
hybrid 8a070d9cc6 Replaced BoneName by scene node's Name as suggested by rogerborg. Added setName method overload for stringc parameter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1527 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 09:25:19 +00:00
hybrid fce0e252a4 Some cleanup for IdentityMatrix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1526 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-02 22:11:19 +00:00
hybrid 1970d0f34c Fixed context release for glx 1.3 amd higher.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1525 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-01 22:44:22 +00:00
hybrid 4dd11b322d Cleanup of some helper structs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1521 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-31 10:33:47 +00:00
hybrid ea335d936a Removed unused jpeglib files from project files. Mentioned by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1518 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 15:06:35 +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 320c8b91cb Removed unnecessary default value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1514 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-26 11:47:22 +00:00
hybrid a7d24e4b8a Fixed an issue with alpha values in 2d opengl mode.
Changed the interpretation of MaterialTypeParam==0 in transparent materials. Before, it was interpreted as 0.5, now it's used as 0 (perfectly smooth transparency). This is slower than the old value, but you can achieve the same effect by specifying 0.5 as MaterialTypeParam.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1512 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-25 20:25:22 +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 9e354df022 Fix texture path handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1510 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-21 08:07:35 +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 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 7bc7d66d7d Fix for compiling without OpenGL, provided by jmpep.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1504 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-19 13:02:20 +00:00
hybrid d797e16201 Readded the texture settings, which have to be made for every texture used, not just once...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1503 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-19 12:58:36 +00:00
hybrid 07518fba46 New glext.h and glxext.h including support in ExtensionHandler for OpenGL 3.0 additions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1502 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-18 15:17:03 +00:00
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