Commit Graph

728 Commits (1f5b75b0a5b6412e1ce27b8ee119a34f7436823b)

Author SHA1 Message Date
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
hybrid 263951a8b1 Fix doxygen comment
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3527 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-01 19:03:45 +00:00
hybrid 49fc81f564 Show debug messages (ELL_DEBUG) as default when compiled with debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3525 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-30 14:43:35 +00:00
hybrid 3d8dab6ae1 Add default values for createPlaneMesh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3522 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-28 19:10:23 +00:00
cutealien 481f550313 Add some getters to IGUIImage: getImage, getColor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3520 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-27 20:33:56 +00:00
hybrid 1ad3c74407 Merge from 1.7 branch, revisions 3449-3513. createImage fixed. Many GUI fixes. Saved particles can be loaded again. Volume light, skydome and water scene node updates. Let hw mapping hint be loaded. D3D reset fix, now terrain scenes can resize screens again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3514 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-19 19:39:20 +00:00
hybrid d9c9de5158 Add a new texture lock mode for write-only access. The lock method has changed for this. Support is only implemented under OpenGL so far.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3510 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-14 23:32:54 +00:00
cutealien 7988585f8c Improve docs for IGUIFileOpenDialog.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3505 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 18:30:41 +00:00
cutealien cee8c4fbb5 - Add function IParticleSystemSceneNode::clearParticles
- Speedup deleting of particles


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3503 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 16:46:47 +00:00
hybrid 195c746018 Add driver attribute element for AntiAliasing level. This allows to check whether the driver has AA enabled, and which level.
Fix AA setup for OpenGL under windows, where the extension was missing and no error came up due to unsupported feature request. Now, the driver recognizes the missing support and properly sets AA to 0.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3491 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 17:58:11 +00:00
hybrid 014272f2c1 Fix the text scene node placing in viewports. The problem was, that the calculation took the absolute viewport dimension into account, while rendering into the viewport requires the screenwidth to be taken. Hence, the text was usually misplaced. The collision method can still be used for this mixed mode calculation (get screen coordinate during viewport rendering, use it for full screen rendering), but requires an additional parameter.
Software drivers don't support 2d rendering into viewports, so they still fail to properly position text (or other 2d things) into a viewport.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3489 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 15:22:58 +00:00
hybrid fbde0c7fc8 Fix mrt disabling, also avoid duplicated enabling for all rtts. Both affects only OpenGL
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3485 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 13:53:00 +00:00
hybrid e877b786c7 Patch by Auria, which allows to render text in gui static text elements over the element clip area. This makes handling of changing text simpler. As default, this feature is turned off.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3483 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-05 15:19:51 +00:00
cutealien ac1d878aac Add IGUIEnvironment::removeFont (requested regularly).
Note: Currently we still will have the font-texture for CGUIFont's in the cache afterward.
But that needs a more general mechanims that allows cleaning up textures easier when the last one has been removed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3465 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-02 22:14:44 +00:00
cutealien 1e69bb99bc Functions in IMeshCache expecting IAnimatedMesh* parameters removed as similar functions with IMesh* can be used since a while. Fixes also problems when IAnimatedMesh* got upcasted to IMesh*. (thx @ Greenya for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3457 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-24 21:28:15 +00:00
hybrid 22e391f814 Merged from 1.7 branch, revisions 3421-3447. Fix for Attributes, documentation fixes, disabled menu handling, treeview disabling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3448 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 22:57:26 +00:00
cutealien 5596d96da8 Use more descriptive variable-names in addArrowMesh (noted by Yoran)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3447 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 16:00:44 +00:00
cutealien 8b71ff58b4 The following functions will now use a "ISceneNode *" instead of a "const ISceneNode *":
ITriangleSelector::getSceneNodeForTriangle, ISceneNodeAnimatorCollisionResponse::getCollisionNode, ISceneCollisionManager::getCollisionPoint and ISceneCollisionManager::getCollisionResultPosition.
As collision functions often are followed by changing node positions users where so far forced to using const_casts (found by Greenya).
(This will lead once more to many post about correct getCollisionResultPosition usage, but can't be helped - those consts were too restricitive, sorry)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3442 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-21 00:23:09 +00:00
cutealien 5c3e9500f8 Add vector3d::getAs3Values (patch provided by slavik262)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3441 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-20 13:31:44 +00:00
cutealien 5db243df93 Add function to SViewFrustum to get corners of the near plane (patch provided by slavik262)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3440 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-20 13:18:30 +00:00
cutealien 43fa6a674f - ParticleFadeOutAffector::setFadeOutTime can no longer be set to invalid values
- ParticleFadeOutAffector uses now throughout u32 for fadeOutTime (found by greenya)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3439 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-16 23:45:45 +00:00
cutealien 90c021e123 - Add missing access function CParticleSystemSceneNode::getAffectors() (seen by B@z)
- Add missing setters/getters for particle emitters (seen by B@z)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3438 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-16 23:21:34 +00:00