Commit Graph

1518 Commits (4030c50364d25032d17300150ce02d0f4524f709)

Author SHA1 Message Date
hybrid 4030c50364 Add support for mrt separate blend and colormask in OpenGL. Update OpenGL extension headers to latest version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2809 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 17:36:20 +00:00
hybrid 91e86f4c9c Add MRT support for OpenGL and Direct3D9. This patch is heavily based on the code from Nadro. This version supports also special render targets for OpenGL, and is already prepared for further MRT extensions such as per-target blend support. The d3d9 version is not yet tested.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2808 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 16:53:35 +00:00
hybrid 039d42da66 Fix strict-aliasing problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2807 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-05 14:47:29 +00:00
hybrid bcf09b2ee4 Filesystem cwd patch for virtual file systems, by IPv6.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2806 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 16:06:19 +00:00
hybrid 107fb67d31 Added test case by vitek, currently commented out as it does not go through.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2805 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:29:01 +00:00
hybrid 291a7ca4c0 Add default formats support to new method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2804 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:15:46 +00:00
hybrid 9f7c98bb38 Make color format method available to all texture types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2803 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:08:14 +00:00
hybrid 14e47232ea Add another FBO failure code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2802 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:01:04 +00:00
hybrid 9c672f8c08 Oops, off by one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2801 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 14:56:47 +00:00
hybrid 2ead52b2a1 Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2800 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 13:46:50 +00:00
hybrid 21a52f9317 Slightly reorder the members.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2799 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 13:44:58 +00:00
hybrid ecd1072080 Add rtt test case from stefbuet.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2798 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:58:55 +00:00
hybrid 4f80f4a223 Make sure we really set the proper texture matrix. Fixes a render state confusion.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2797 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:58:06 +00:00
hybrid 01478210af Make sure we init all matrices.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2796 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:57:00 +00:00
hybrid 28482fb61d Add aprroximated implementation of one of the 2d image methods in Nulldriver. This enables support in the software drivers as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2795 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:52:18 +00:00
hybrid de53c9b789 Properly reduce the polycount of the sphere until within allowed range.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2794 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 09:02:37 +00:00
cutealien 23ed479fd7 Fix compile warnings in Demo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2793 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 00:47:29 +00:00
hybrid 95b4283a27 Split method suggested by obscurusnox added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2792 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 23:52:33 +00:00
hybrid 058f1d26b0 Add missing includes and reduce libraries used.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2791 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 22:51:31 +00:00
hybrid e5368f57f6 Fix warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2790 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 22:28:43 +00:00
hybrid 68a7f4b11a Add rogerborg's irrString assignment allocation patch and a testcase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2787 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 16:45:39 +00:00
hybrid bb4727f201 Use new typedef.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2786 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 10:22:29 +00:00
hybrid 061464d17e Add parameter name and remove unused constructor.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2785 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:51:56 +00:00
hybrid c8570dca84 Constification of getter return value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2784 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:42:15 +00:00
hybrid 22fdb7130b Put method into class scope.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2783 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:35:55 +00:00
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