Commit Graph

749 Commits (f7d337d31706b8cc0244fa62813d8f5a78902608)

Author SHA1 Message Date
hybrid 92f1299cd2 Add flag to enable sRGB correct color calculations (e.g. blend and lighting). This allows for much better color calculations, but requires to change the explicitly defined colors in the code to be converted to linear color space.
Changed many init routines to use SIrrlichtCreationParameters struct instead of many single parameters.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3729 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 20:07:13 +00:00
hybrid 13793ac522 Merged from branch 1.7, revisions 3607-3725. Fix some compilation errors, fix soname in Linux Makefile, calculation fix in vector2d class, CGUIScrollBar event handling fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3726 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-18 21:32:00 +00:00
cutealien 4f990e2084 Added IGUIListBox::getItemAt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3723 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-15 22:07:31 +00:00
hybrid 52f84ab7e9 Change type for stored and passed lights array. In most situations, only the ISceneNode was used, and the type is not necessarily ILightSceneNode anyway. So generalize this interface and the storage arrays internally.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3722 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-12 16:46:20 +00:00
hybrid 667a64e566 Fix another const issue with the selector patch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3721 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-12 15:19:19 +00:00
hybrid 0a18c65e90 Add proper compile time define for enabling usage of direct input joystick support (enabled by default)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3720 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-12 12:06:10 +00:00
hybrid 5eaa187004 Fix constness issues of new getSelector method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3716 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-11 09:11:03 +00:00
hybrid 29f591f3b0 Add support for relative texture names in atrributes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3710 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:47:49 +00:00
hybrid 8a9d63615c Add triangle selector methods to get back single selectors from meta triangle selector. Submitted by LexManos
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3707 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-08 21:46:44 +00:00
hybrid 1db83c000e Remove extra qualification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3702 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-05 22:22:00 +00:00
hybrid 2f8b537d25 Remove redundant code from quaternion class
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3699 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-04 15:09:43 +00:00
hybrid 81e59495bf Fix some problems with gimbal lock in quaternion to Euler method. Not yet completely going through the test, I guess it's a euler order problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3694 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-02 16:24:44 +00:00
hybrid abe83366e5 Change Debug data to u32 as it is a binary variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3685 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 16:11:24 +00:00
hybrid f288198424 Make bitfield large enough.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3682 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 14:54:15 +00:00
hybrid 8173e66877 Another exotic extension, which can be emulated by the new AMD extension as well, but is mostly found on ancient SGI machines.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3680 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:45:37 +00:00
hybrid 4424ffec5f Support new blend op from recent AMD extension. OpenGL/AMD only for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3679 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:32:37 +00:00
hybrid 231eca4907 Add support for more image types in q3 level loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3677 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 23:41:14 +00:00
hybrid 0161971c17 Add some more features from assimp patch. Also fix some things in the previously added methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3673 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 22:15:51 +00:00
hybrid 3d6b88ebda Add first round of patches from assimp fast_atof version. This code is slightly slower than the original one, but for the first time works correctly according to the assumptions of the API docs. Especially stopping at the first non-supported character and returning properly MAX_INT or similar values. This obviously means that some more steps need to be done, but parsing shouldn't be the major performance bottleneck anyway.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3672 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 21:23:30 +00:00
hybrid dddac77a75 Add the actual blend equation support for MRTs to the driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3662 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:27:49 +00:00
hybrid 617d5a4e3a Fix default blend mode to EBO_NONE, in order to avoid unintended blending
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3660 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:23:32 +00:00
hybrid 9499db5637 Add support for blend operation field.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3652 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 13:08:48 +00:00
hybrid ca089b25e0 Add new material fields for blend operation and polygon offset (depth bias).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3650 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:53:00 +00:00
hybrid b3552d3cb5 Remove stray whitespace
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3646 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:48:05 +00:00
hybrid 95db447bfc remove default destructor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3632 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-12 12:03:37 +00:00
hybrid 9478732cc5 Fix naming scheme for occlusion queries. Since those are not to drop, but are stored in the driver and can be removed by the according removeOcclusionQuery call, the name should be addOcclusionQuery instead of createOcclusionQuery.
Added an example showing a very simple occlusion query setup.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3628 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 23:32:35 +00:00
hybrid c84fd53f13 Fix HSL color class and conversions from/to RGB classes.
Fix Color selection dialog. It's now fully usable and gives correct results. The color display ring could be reworked.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3616 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 21:44:28 +00:00
hybrid 524204d69d Fix material hint for particles
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3613 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 10:46:18 +00:00
hybrid 881108873e remove destructor which is already inherited from IReferenceCounted
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3612 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 10:30:39 +00:00
hybrid a452e85047 Fix spelling of enum and docs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3610 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-18 22:52:01 +00:00
cutealien a4dc43f581 Added IGUITable::getColumnWidth
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3603 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-06 16:23:51 +00:00
hybrid b4fde1ec49 Add missing include found by greenya
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3601 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-21 20:38:39 +00:00
bitplane ed5344f5e8 Added minimum timelines for removing deprecated methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3598 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-19 09:22:58 +00:00
bitplane aa7a73b0dd Warn that addFileArchive methods will be removed in Irrlicht 1.9
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3596 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-18 04:23:42 +00:00
bitplane 54356391a2 Removed getMS3DJointNode, getXJointNode, and EGDS_MESSAGE_BOX_MAX_TEST_WIDTH. Added deprecated warnings to some more methods, plus a couple of doc string fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3593 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-14 15:59:05 +00:00
bitplane 5ea3a40831 Added method to add an archive from an IReadFile pointer. Added FileToHeader, a tool for embedding a collection of IReadFiles into a user app. Described a way to make single file portable applications using it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3586 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 00:44:08 +00:00
hybrid 777ea0199c Adding a new flag and new text break for support of right-to-left text in StaticText elements. Patch from Auria and STK project.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3585 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 23:15:11 +00:00
bitplane 7543da637a Added ISceneManager::createSceneNodeAnimator to create an animator by name, so scene loaders don't need to worry about how the animator factories are used.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3579 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 06:56:26 +00:00
bitplane d9798dafe7 Added SMF loader, supporting 3D World Studio meshes. Originally written by Joseph Ellis
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3575 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-31 10:43:08 +00:00
bitplane d41aeab701 Moved some stuff out of IAnimatedMesh and back into CAnimatedMeshHalfLife where it should live
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3574 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-28 16:13:48 +00:00
bitplane 07bc66af6c Renamed ISceneLoader::isALoadableFileType to isALoadableFileFormat to match the archive and image loader interfaces. Added getters for mesh, scene and archive loaders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3567 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 05:47:50 +00:00
bitplane 901dac358a Added scene loader interface and moved the .irr loading code out to CSceneLoaderIrr. In future can support scene formats properly rather than loading them as meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3566 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 20:12:17 +00:00
bitplane ff9e6edd8a Added getMesh docs for irrMesh, lwo, md3, mdl, ply and stl formats, plus some ISkinnedMesh info to the skinned mesh loader docs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3564 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 14:48:19 +00:00
hybrid 5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
bitplane 34ccfb68d8 Renamed IGUIElement::bringToBack to sendToBack, like in Win32 SDK
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3554 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-12 19:48:13 +00:00
bitplane 4fc3ef98cd Added root GUI element type. Added tree view to GUI editor, from Armen
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3545 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 18:46:12 +00:00
hybrid 271754f497 Comment fixed
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3540 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 00:28:19 +00:00
hybrid f1cc2dca01 Fix writeScene change in order to write the given node and its descendants, not only the list of children to the scene file.
Add support for loading a scene file as childs of a given node. This will ignore the scene attributes and load all nodes of the scene, storing them as children of a given parent node. The rest will stay as before, including the default behavior to load scene attributes and all nodes directly into the scene manager.
Test cases added for both methods loadScene and saveScene. In order to find a node in the example scene from tutorial 15 I have added a name and ID to one of the scene elements.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3532 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 17:54:10 +00:00
hybrid 080a2ebab3 Add support for saving only part of the scene into a .irr file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3531 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 14:38:51 +00:00
hybrid 16cf9f58b9 Add a method to get a relative filename, based on an given base directory.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3529 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 00:16:35 +00:00