hybrid
b2f1c1ffd7
Fix attribute value for maximal lights. Add video driver feature flag for texture matrix support.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3818 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 20:12:26 +00:00
cutealien
dabb165279
Reworked collada exporter somewhat so it no longer breaks the xml schema:
...
- blinn attributes have to ordered on writing
- there is no flow="OUT" in accessor - param so I removed it (maybe that was from an older collada version?)
- material-name is without #
- input attribute is called offset not idx
Also a little cleanup to avoid redundant code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3817 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 19:11:28 +00:00
hybrid
23bb72ab6a
Properly add the fix sent in by balrog, was formerly only partially applied.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3810 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 20:32:07 +00:00
hybrid
a959a76b0c
Unify incompatible parameter types, mentioned by balrog
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3809 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 20:19:17 +00:00
hybrid
34d1b8b827
Some patches from balrog
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3808 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 19:13:47 +00:00
cutealien
4ed280b783
Make sure gcc-win32 can still be compiled without directX
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3797 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 11:44:55 +00:00
hybrid
db42c16874
Only indentation changes
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3780 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 21:34:40 +00:00
hybrid
3f697ffe81
Fix typo.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3779 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 20:33:48 +00:00
hybrid
a6e94cc3e9
Changed name and signature of getOperationSystemVersion, which is now correctly called getOperatingSystemVersion. Also changed the internal type and OSOperator creation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3778 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 20:18:54 +00:00
hybrid
45914a477d
Remove unused or elsewhere included libs from all targets
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3777 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 19:51:37 +00:00
hybrid
e236fbdf67
Fix Filename type in attribute struct to support unicode strings
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3776 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 19:26:18 +00:00
hybrid
edade62497
Some unicode fixes by Nalin et al.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3775 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 19:18:00 +00:00
hybrid
93764466ab
Fix ifdef nesting. The linking against winmm was wrongly placed in an else branch.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3774 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 17:51:26 +00:00
cutealien
1869d1ec6c
Added IGUITabControl::insertTab, IGUITabControl::removeTab, IGUITabControl::clear and IGUITabControl::getTabAt
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3773 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 13:31:33 +00:00
cutealien
30cf180d28
Fix crash in CFileSystem::getRelativeFilename
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3771 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-31 12:22:06 +00:00
hybrid
37a6fef54a
Fix transparent shaders, seems that the base setup does not fix all blend mode settings properly.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3770 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-31 09:31:56 +00:00
hybrid
eba0f91834
Fix d3d9 adapter reference, found by yoran.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3769 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-30 15:15:58 +00:00
hybrid
d245db3a98
Move sw driver render support methods out of cimage class.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3767 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-29 00:04:41 +00:00
hybrid
0c7e433063
Fix mipmap overwriting after manually changing automatically generated mipmaps due to changing the base texture and triggering an auto update of the mipmaps. The auto update cannot be re-enabled afterwards for now, though.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3766 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-28 23:50:38 +00:00
hybrid
84eeb0e6de
Added 32bit support to some more of the mesh manipulator methods. Unfortunately, the cloning methods (createXXX) will require huge code duplication, so I left them unchanged so far.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3765 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-28 22:54:07 +00:00
hybrid
1e321bc0ff
Add test case to ensure that terrain nodes fit nicely together - when correctly placed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3764 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-27 17:02:48 +00:00
cutealien
c77bc63189
Replace afxres.h by windows.h in Irrlicht.rc to allow compiling it with VS Express.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3763 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-27 10:22:10 +00:00
hybrid
8202d6dc92
Add also a lock and write test for level 0, in order to check mipmap updates problems reported on the forum. Works all as expected.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3762 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 21:01:14 +00:00
hybrid
c6a42a3b2d
Add correct screenshots for mipmap render test, forgot to add this in last commit
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3761 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 20:53:09 +00:00
hybrid
9ce8dd8631
Fix issues with mipmap locking under OpenGL. For some reason, the texture was wrongly flipped, though correctly rendered. Test cases added and fixed for OpenGL driver, all others were correctly working.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3760 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 20:52:02 +00:00
cutealien
cbc8f22484
Sorry, outcommented GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB now as it crashes when set to true on 32-bit Linux and crashes when set to false on 64-bit Linux.
...
The error is always: "No doublebuffering available." followed by "Fatal error, could not get visual."
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3759 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 20:37:59 +00:00
cutealien
07a43cfcaa
Add pointer-check for cursor before update to avoid crash when window generation failed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3758 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 19:42:57 +00:00
cutealien
b5c52236f7
Change GUI-focus on TAB now after the active element got the TAB-key, so the element has a chance to prevent focus-changes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3757 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 19:02:31 +00:00
cutealien
1f1df157de
glxChooseFBConfig needs pair parameters, I think GLX_FRAMEBUFFER_SRGB initialization was probably meant to be as in this change (crashs otherwise).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3756 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 18:48:09 +00:00
hybrid
49be1f912b
Fix image assignment which was lost in recent changes due to copy/paste problem
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3755 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 18:12:26 +00:00
hybrid
be4fae0335
Fix comments
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3754 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 22:29:53 +00:00
hybrid
d542ddaa7a
Return 0 screenshot where targets are unsupported. D3D now supports automatic conversion to all basic color formats.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3753 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 22:28:15 +00:00
hybrid
cae05e6a69
Fix segfaults in case the image is not created. Add test which simply checks which formats are supported for screenshots.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3752 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 16:39:47 +00:00
hybrid
8d6dd90997
Add proper format support for all possible color formats in screenshot method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3751 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 16:09:58 +00:00
hybrid
4eb8de5f01
Fix typo from recent changes
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3750 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 11:47:48 +00:00
hybrid
e78a326f2a
Remove references to CImage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3749 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 10:53:20 +00:00
hybrid
3df56aee3b
Remove references to CImage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3748 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 09:37:26 +00:00
hybrid
2fae98942d
Remove some unneeded includes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3747 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 09:23:39 +00:00
hybrid
2603feb226
Fix color ordering
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3745 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-24 08:09:38 +00:00
hybrid
738b571e40
Change screenshot function to allow reading from other render targets as well. This is not yet fully implemented, just an API preparation for further features. Most drivers don't support the extra targets anyway. But it will be also possible to ask for different color formats, which should be possible on all drivers. Passing ECF_UNKNOWN will choose an optimal color format without the need of pixel value adaptions.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3744 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-24 07:15:26 +00:00
hybrid
73414257b5
Fix NAN error in getAngle of vector2d, patch by Rocko Bonaparte
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3743 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-23 07:29:44 +00:00
hybrid
5a7032e420
Add test vector from forum.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3742 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-22 20:40:30 +00:00
hybrid
847e4cb038
Add proper unit for video memory output.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3739 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 22:00:55 +00:00
hybrid
d43cb8b531
Another inaccuracy we need to handle
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3738 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 21:59:13 +00:00
hybrid
b1ddb0475d
Fix render size update after render target change. Only happened with some render targets.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3737 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 21:29:13 +00:00
hybrid
c889104aaf
Add output about available video memory to d3d9 driver.
...
Allow changing zbuffer enable and write in 2d override material.
Introduce NO_CLIP hints to d3d9 and opengl driver for 2d mode. Since we clip all 2d operations manually, it should be safe to tell the driver to disable clipping here. Might help on slower machines and is generally suggested by the hw vendors. We might introduce a mesh flag for this as well in the future, in order to disable clipping for larger geometry as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3736 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 16:36:39 +00:00
hybrid
3e1e9eea34
Remove 2d render settings cache completely, as it didn't seem to speed up things, but only introduced complexity and failures. Speed up text rendering under dx again, just as before in OpenGL by skipping too many render state resets. Unified all three setRenderStates2DMode methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3734 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 14:25:30 +00:00
hybrid
1e0b237cc9
Fix cache handling for 2d setup settings
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3733 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 11:47:41 +00:00
hybrid
369febf7cb
Disable the linearize flag if no SRGB handling. It's probably not necessary then, only in very special cases. But I'm not really sure about this...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3732 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 21:35:44 +00:00
hybrid
f7d337d317
Fix 64bit problem with dds loader, not yet tested, though.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3731 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 20:11:28 +00:00