hybrid
f22fe54680
Add another test for pixel exact 2d rendering
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3826 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 17:06:44 +00:00
hybrid
0c18bf9e8a
Add output to test macros
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3825 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 17:05:49 +00:00
cutealien
21509dd2ef
Avoid crash in .mdl loader on 64bit unix systems.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3824 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 15:31:48 +00:00
hybrid
87aae4f760
Relax screenshot test for loaded scene. Due to the animator start the scene looks different each time.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3823 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 11:58:44 +00:00
cutealien
d79c51324e
Fix color writing in ColladaMeshWriter (Collada needs floats not integers).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3822 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 10:17:59 +00:00
hybrid
606168737c
Debugged the quat test. Was just a float inaccuracy. Fixed now by using a less picky test.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3821 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 22:11:08 +00:00
hybrid
68bbf21e64
Fix shader version calculation
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3820 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 21:53:55 +00:00
hybrid
3f47f80798
Added two macros to call tests for all drivers, or for all hw drivers, with just one call.
...
Added tests to check whether the driver supports the necessary features, and stop early if it does not make sense.
Fixed line endings for testXML.cpp
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3819 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 21:09:32 +00:00
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