Commit Graph

1643 Commits (a0aebc868b0693ae54bacae668692d684552ca4f)

Author SHA1 Message Date
hybrid 82fc088f15 Add typedefs for better readability.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2782 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:26:55 +00:00
hybrid 7713cddaf8 Merged revisions 2748:2778 from branch 1.6. A few bug fixes (wrong drop/grab, normals handling, rotation animator) and many doc fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2780 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-02 10:27:15 +00:00
monstrobishi 24265b1527 - Fixed the OpenGL normal mapping some more (Works properly now).
- Fixed the OpenGL parallax mapping offset.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2776 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-31 06:32:36 +00:00
monstrobishi d21b144624 - Fixed active camera scene node registering itself twice (This causes anything parented to the camera to get drawn twice, potentially a major performance issue). Scene manager now calls "render()" to update the active camera's matrices prior to doing culling, rather than OnRegisterSceneNode.
- Fixed the object-space lighting normal mapping/parallax mapping bug in OpenGL. Parallax offset still looks a bit weird in OpenGL compared to D3D IMO.
 - Fixed a compile warning in D3D9 driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2775 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-31 06:00:53 +00:00
hybrid ae0240d602 Avoid multiple calls to makeNormalMapTexture for the same texture.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2774 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-30 16:42:59 +00:00
hybrid ddc0a95cd4 Fog serialization patch by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2773 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-30 16:21:19 +00:00
cutealien 387f910cf9 New contextmenue features:
- automatic checking for checked flag.
- close handling now customizable
- serialization can handle incomplete xml's
- setEventParent now in public interface
- New function findItemWithCommandId.
- New function insertItem


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2771 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-29 17:04:14 +00:00
cutealien d12a0027ec Let maya-cam animator react on a setTarget call to the camera which happened outside it's own control
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2770 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-29 15:39:12 +00:00
hybrid f2145fd200 Added bbox testing for skinned meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2769 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 15:56:14 +00:00
hybrid 8292b7feed Fix bounding boxes for skinned meshes. Moved LocalMatrix computation out of the loop. This works for the meshes I tested, but might break with others. Further testing required.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2768 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 15:41:44 +00:00
hybrid d9e92b0783 Add FPS getter for Animated Mesh SN, add some values in serialization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2767 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:42:47 +00:00
hybrid c8c8028003 Add clone method for camera.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2766 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:30:11 +00:00
hybrid 719e8cb959 Fix scrollbars, patch submitted by puh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2765 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:21:59 +00:00
hybrid 752384e1ca Add transparency support for the 2d vertex list render method for directx drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2764 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 12:56:46 +00:00
hybrid 2bc50a25bd Add transparency support for the 2d vertex list render method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2763 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 12:29:33 +00:00
hybrid b920e1bfbc Simplify window generation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2760 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 12:55:59 +00:00
hybrid 3a29e0bbc1 Merge fullscreen resolution reset into new method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2759 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:28:24 +00:00
hybrid 83e2ed8554 Separate fullscreen resolution method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2758 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:18:51 +00:00
hybrid f7f96520ef Add fixes to handle screen changes in fullscreen mode. This allows proper resolution changes with Alt-Tab etc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2755 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-26 22:47:07 +00:00
hybrid e36af0b5d1 Some more unicode fixes for Windows systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2749 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-24 00:28:30 +00:00
hybrid 275874afb1 Merged from 1.6 branch, revisions 2684:2747. Windows serialization fix. Memleak in STL and LWO loader fixed. CursorControl under Windows fixed. CE compilation fixed. Example 21 for Linux fixed. IFileSystem and IFileList additions. Toolbar::addButton fixed. Device::run fixed. Anti-Aliasing on debug rendering disabled. Documenation updated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2748 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 18:06:57 +00:00
hybrid 2917a98867 Add possibility to add cameras without immediately making them active. Feature request by kkrizka.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2745 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:39:55 +00:00
hybrid 07280fa080 Simplify camera methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2744 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:33:19 +00:00
hybrid 9b4d3cbd11 Some new string methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2743 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:02:05 +00:00
hybrid 9178ca932a Add new videodriver method getMaxTextureSize(). Patch submitted by LoneBoco.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2742 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 15:44:31 +00:00
hybrid b410b526b7 PAK archive reader patch and test, submitted by Carmen Wick.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2741 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 12:38:30 +00:00
cutealien d3eff725be - Material type EMT_TRANSPARENT_ALPHA_CHANNEL_REF no longer ignores light in OpenGL.
- Material type EMT_LIGHTMAP_ADD does now use GL_ADD in OpenGL which makes it look identical do the D3D version.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2740 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 04:02:05 +00:00
hybrid 911ca53804 Use io::path for DX library handling, in order to allow for Unicode compilation mode. Found by MadHyde
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2736 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-21 15:52:30 +00:00
cutealien 45b86c8e63 Update c::b project file for tests
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2734 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 16:38:49 +00:00
hybrid eba56658c0 Add tar reader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2733 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 16:19:36 +00:00
hybrid 0114348e5d Add dx9 screenshot
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2732 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 16:18:29 +00:00
hybrid 259332ce8f Add test for correct rendering of bsp example with all drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2731 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 15:57:15 +00:00
hybrid d64c8b9259 Remove virtual from irrString. Probably no one derives from irrString, but this saves some bytes and cycles.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2730 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-19 15:46:19 +00:00
hybrid eaba16db96 Another lightness calculation method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2727 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-19 12:28:14 +00:00
hybrid 23b9b10865 Fix MSVC warning
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2726 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-18 10:39:04 +00:00
hybrid ed29e8ad15 Make some convenience functions non-virtual
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2725 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-17 21:10:54 +00:00
hybrid dbe744d14a Fix draw3dTriangle to render proper 3d objects, not just lines. In order to recover the previous behavior, set the 3d material to wireframe.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2723 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-17 20:34:33 +00:00
hybrid 870f4f07d2 Hint on ranges added
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2719 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-16 15:09:22 +00:00
cutealien 53c48a78df Avoid div by 0 for colorselect element
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2711 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-15 17:03:59 +00:00
cutealien 1818454023 MessageBox supports now automatic resizing and images.
Deprecated EGDS_MESSAGE_BOX_WIDTH and EGDS_MESSAGE_BOX_HEIGHT.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2710 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-14 13:28:20 +00:00
monstrobishi a897201597 - Set default tolerance for s32 core::equals to 0 (Was 1).
- Added tests to vector2d and vector3d regression tests for 0 to 1 equally using the s32 data type (Related to previous change).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2707 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-02 21:15:17 +00:00
cutealien 10201179ea fix rounding problem in IGUIElements which have EGUIA_SCALE alignments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2697 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-21 19:57:08 +00:00
hybrid 64ad07a38e Merged from 1.6 branch, revisions 2665:2683. External creation of CSkinnedMesh. Texture matrix bug fixed. obj loader fixed. Divide by zero checks. Some API methods renamed. Strict aliasing fixes. Collada loader fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2684 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-09 14:30:44 +00:00
cutealien 34d47c1cff Fix cursor problems found by buffer and by rvl2 as described in http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=34823&highlight=
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2669 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-29 23:33:59 +00:00
hybrid 5f1f6b1b18 Add support for CMYK JPGs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2666 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-25 15:46:14 +00:00
hybrid 9bc21ba1ac Due to a commit bug this had to be added later.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2665 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-24 09:22:38 +00:00
hybrid 157cd67caf Merged revisions 2622:2663 from branch 1.6. SMaterial bug, MS3D patch, LWO fix. Better Shift recognition under 2in32. D3D depth buffer MSAA problems fixed. string<c16> changed to io::path. Fix 2dimagebatch, add better mtl file finder. Fix some OpenGL extension checks. Fixed x86-64 warnings. Export symbols in gcc4. Scolling in GUITab fixed. Fixed PixelBlend16 and SW driver. FPS cam stuttering fixed. OSX project additions. New scene parameter to ignore obj's mtl files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2664 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-24 09:12:27 +00:00
cutealien 2f9c3864e7 Add setTabMaxWidth to tabcontrol (backport from 1.6)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2651 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-20 08:03:10 +00:00
cutealien 6361391247 Fix scrolling controls in CGUITabControl (backport from 1.6 branch)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2637 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-19 07:25:58 +00:00
hybrid be8a1ff7b6 Disable anti-aliasing of sky
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2620 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 20:56:41 +00:00