cutealien
666feee11e
Merge branch releases/1.8 revisions r5302:r5310 into trunk:
...
- Tests on Unix now have a short pause between switching drivers to avoid certain X11 errors.
- Fix CEnumAttribute::getInt() which could crash (thx @ luthyr for reporting)
- No longer try to run tests for drivers not supported on a platform
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5311 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-07-08 20:41:42 +00:00
cutealien
2c64159436
Merge branch releases/1.8 revisions 5286:5301 into trunk:
...
- Deprecate CMatrix4::transformBox
- Fix CSceneCollisionManager::getPickedNodeBB which could sometimes miss collisions.
- Get lights and renderTargetTexture tests working again on Windows 10
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5302 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-05-27 19:35:22 +00:00
cutealien
3393d907fe
Update scene test files.
...
(Scene serialization had been extended in the past)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5273 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-09 15:01:41 +00:00
cutealien
ce863d1037
Update test drawVertexPrimitives
...
- new media for OpenGL-drawVPL_h. This test is about finding out if things changed, and this result has been like it is now at least since 1.8
- required match can be reduce for this test, as minor aliasing artifacts always are different between cards and don't matter here.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5090 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-11 16:08:54 +00:00
cutealien
9fc25d9648
Update tests media.
...
- viePortText has improved according to Thomas
- flyCircleAnimator... again brightness differences (maybe due to latest material fixes). If that comes up again will have to investigate further.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5088 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-11 13:20:41 +00:00
cutealien
3871ba4ae5
Remove D3D8 test media.
...
No longer needed due to dx8 removal.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5085 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-09 20:30:31 +00:00
cutealien
0d767d4206
Update test-media for 2dmaterial test and burnings
...
(new result looks better, media just didn't get updated when it was changed).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5084 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-09 12:22:55 +00:00
cutealien
a1cf2945fe
Update test-media for a test where the result is fine.
...
This is only about position of image elements and it failed because elements are now a little brighter. Probably due to some fix in the driver at some point, but not related to this test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5075 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-06 14:54:51 +00:00
hybrid
ae25bdf202
Merged from 1.8 branch, revisions 4345-4378. All release fixes since the branch to 1.8, and some fixes after that. Now commencing development on this branch, and only bug fixes on the others.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4379 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-20 18:31:33 +00:00
hybrid
9f81024521
Test was using wrong size of screen
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4300 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 11:22:16 +00:00
hybrid
79ba8079f6
Add two new test cases for user clip planes and drawVertexPrimitive
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4292 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 17:05:01 +00:00
hybrid
01c9bd4c83
Fix 8bit grey image TGAs, which were not working due to missing palette. Also switched to RGB8 format, as otherwise a loss in precision would occur. Thanks to Klunk for the error report and a test image.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4160 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-29 23:16:29 +00:00
hybrid
f598f78667
Trying an updated reference image, draw2d image positioning changed slightly.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4154 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 22:51:01 +00:00
hybrid
d313db45b0
Even more updated reference images with now white backgrounds of the GUI elements.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4153 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 22:46:11 +00:00
hybrid
a76dc8faf9
Update reference images for viewPort test, also due to GUI skin changes
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4152 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 22:34:27 +00:00
hybrid
cf9e122396
Break textureRenderStates test again by adding the test case for the dangling pointer (white texture OpenGL) problem. Fix will follow later, patch exists on the tracker already.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4150 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 13:58:30 +00:00
hybrid
86d9bb8df8
Fix reference images for texture matrix test, getting up to the GUI changes form the past.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4144 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 08:40:39 +00:00
hybrid
0cc1b698da
Fix software renderer inconsistency with rest of drivers in case of invalid destination rect for draw2DImage. Now no driver will render an image in these cases.
...
Added a test case to check behavior of all drivers for this situation.
Fixed comparison of similar test case to support fuzzy comparison and relaxed threshold.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4143 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-24 16:53:46 +00:00
hybrid
008a470fd0
Fix pixel alignment and draw2DLine inconsistent offset problems. New test added to make sure that drawPixel and draw2DLine use the same alignment.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4138 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-23 17:19:12 +00:00
cutealien
78201934a2
Updated scene.irr files for the ioScene test. I couldn't figure out why the original .irr files where ever used - even going back to the first version when they were created (r3532) those files never worked. But going through the differing values by hand all attributes with different values from the old test-irr's did write the correct value to xml (aka as it was in memory in the scenenodes) so I use now the resulting .irr file as we currently get it. More changes (Linux) for this test coming later, but ioScene test passes now on Windows.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4089 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-20 17:18:44 +00:00
hybrid
314d53a31a
Fix billboard error which used the wrong width for top and bottom width of trapezoid billboards. The reason is the use of cross-product, which flips the vertical axis used in calculations. Properly documented in the code now, API now works as expected. Bug and fix provided by pc0de.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4030 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-06 14:26:04 +00:00
hybrid
ad82f725be
Add billboard test, which shows also why the non-uniform billboards fail at a certain point.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4003 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-03 16:49:43 +00:00
hybrid
31664bce48
Add triangleSelector improvements suggested by rogerborg. Plain triangle selector also needed an additional inverse matrix application, but now works as the octree case. Test cases also added.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3973 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-28 16:27:32 +00:00
hybrid
5c67d339b4
Fix LZMA uncompression. Added test case to ensure proper decoding.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3914 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 23:38:59 +00:00
hybrid
afa978f2a5
Merge from 1.7 branch, revisions 3877-3908. Fix for getSphericalCoordinateAngles, some warnign fixes, md2 normal fix, several GUI fixes, isPointInside fix, zip endianess fix.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3909 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-08 21:50:10 +00:00
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
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
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
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
f80a8cd066
Fix png loader warning, also reordered transform calls such that only one test requires a late place after the read_update call. Added a test case which tests paletted png file loading and rendering.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3725 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-17 17:48:06 +00:00
hybrid
426d9c82ba
Test case fixed with latest changes for relative texture names.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3714 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:53:53 +00:00
hybrid
c28f47bb3b
Added scaling draw2dimage method to burnings video. This fix is based on code submission from Auria.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3701 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-05 14:25:34 +00:00
hybrid
4d1cd9ee13
Added a test case for 2d filtering, provided by Auria from STK team. Fixed a bug in the OpenGL render settings.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3691 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 21:54:59 +00:00
hybrid
2fb61c695a
Add a test case for correctly aligned pixel rendering. Not yet working for Direct3d
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3690 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 17:30:28 +00:00
hybrid
ed26bc8b78
Add test case for polygon offset (depth bias)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3655 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 17:24:35 +00:00
hybrid
1ab25bd37b
Fix reading zip files with incomplete local file headers. These require proper support for the central directory, which is now implemented. Thanks to hiker for supplying such a file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3544 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 16:33:15 +00:00
hybrid
394aedad69
Fix scene files to reflect relative texture names, and disabled the according test until the texture deserialization is actually fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3542 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 11:13:59 +00:00
hybrid
fdcdf60e0b
Add a test for proper file loading from archives, despite two files in the archive have the same name.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3536 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-05 18:09:58 +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
149d9ec814
Fix OpenGL texture matrix setup, found by pc0de. Sorry for the inconvenience, was probably very late when I changed that code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3523 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-28 19:12:50 +00:00
hybrid
a204bb3543
Real fix for the MRT problem. Last time only parts of the problem were fixed. Now, all RTT states should be fixed again. Also, test results are commited and work for both drivers.
...
Also changed the FBODepthTexture implementation in that it will not create another FBO, but only the depth/stencil texture or renderbuffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3519 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-23 13:49:37 +00:00
hybrid
f70257d23b
Fixed the reference images, which have changed due to the text position changes in the 1.7 branch. We are using long texts, hence an empty line had been added in the beginning. This was wrong and fixed in the 1.7 branch already. Now our test had to be fixed as well.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3516 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-21 16:28:37 +00:00
hybrid
c4b6a33726
Disabled the opengl test for reflection transparent material.
...
Fixed the reflection transparent material under OpenGL to use vertex alpha.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3507 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 23:04:13 +00:00
hybrid
91426a212c
New test for filtering 2d renders through 2dmaterial.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3506 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 21:41:16 +00:00
hybrid
4eeafca144
Enable test for projection matrix. I have removed the projection matrix tweak from OpenGL driver, as it does not seem to have any effect. At least no good one.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3501 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 17:11:30 +00:00
hybrid
6b18375616
Fix bug which showed up when RTT and text were used in the same scene. I have removed the old RTT checks in 2d methods, and placed a global fix for the texture matrix into the 2d mode setting.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3500 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 16:52:12 +00:00
hybrid
cfd8e9412d
Add a test which tries to reproduce a bug mentioned by REDDemon. Works correctly here, though.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3498 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 10:33:11 +00:00
hybrid
884ede4efd
Fix transformation matrices for OpenGL rendering after setRenderTarget.
...
Fix draw2DImage into RTT in BurningsVideo
Let ViewPorts unchanged if illegal viewport was given.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3490 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 16:21:43 +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
eff82803d3
The checkbox color seems to have changed. Please check if this was intended!
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3488 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 15:23:49 +00:00