Commit Graph

1913 Commits (4eeafca1448e4f1a2ad56500de3a16a9b5d42821)

Author SHA1 Message Date
hybrid 3a66a00b68 Add a test case for mrt usage. Based on code by wing64.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3414 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:26:03 +00:00
hybrid fc8bf66fbc Fix driver attribute setting in all other drivers.
Fix wrong destruction calls, due to missing drop ion the attribute. Was a cyclic dependency on the video driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3413 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:22:33 +00:00
hybrid a7eb327b3b Fix MRT reset code. This fixes usage of MRTs under d3d. Test case comes later.
Also fix the driver attribute setting in d3d driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3412 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:17:58 +00:00
hybrid bb44b62433 Add some closeDevice calls to reduce the open windows after tests have run.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3411 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 07:24:33 +00:00
hybrid 69bc11c8f5 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3409 dfc29bdd-3216-0410-991c-e03cc46cb475 2010-09-13 11:24:14 +00:00
hybrid d6eb580f95 Add a generic attribute interface for querying video driver attributes which are not necessarily of type bool. This interface allows to check certain supported features, such as the number of user clip planes, supported lights and textures, MRTs, and other things. The interface might change in the future, but it's fully functional already. The supported attributes are listed in the API docs of the function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3408 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:19:42 +00:00
hybrid c4d88dbd54 Minor changes for the gl shadow rendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3407 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:10:00 +00:00
hybrid 56010f2fd0 Add gui image for 2dmaterial test. Enable anti-aliasing in aa test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3406 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:05:32 +00:00
hybrid 7a70e59eff Change version number for code in trunk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3405 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:02:39 +00:00
hybrid 88a3cc6126 Add variable to store the maximum number of simultaneously supported textures of the driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3404 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:00:54 +00:00
hybrid 6d80b11144 Fix function signature for Linux systems. Bug noted by cheshirekow
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3403 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-10 07:56:41 +00:00
hybrid db0375bf15 Add UseMipMaps serialization as pointed out by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3402 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-09 08:26:04 +00:00
hybrid 68dd0061eb Make some methods const
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3401 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 22:28:28 +00:00
hybrid c11c87f20c Fix getRotationDegrees in matrix class as noted by drewbacca
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3400 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 17:03:54 +00:00
hybrid e08e256fdc Fix docs for collision manager API, wrong return value was given.
Change default blend mode in OpenGL to SRC_ALPHA,ONE_MINUS_SRC_ALPHA
Use less precision in 2dmaterial test.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3399 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 15:03:27 +00:00
hybrid 6f27d721ef Rename test file and adapt project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3398 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 12:02:49 +00:00
hybrid 0058bfc4fa Added creation parameter to disable highres timers. Patch submitted by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3397 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 11:54:13 +00:00
hybrid da27ae4f3f Fix vertex alpha blending, as found by darktib
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3396 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 10:41:31 +00:00
hybrid 8aa6c92bb5 Added a RealTimeDate structure, which can be queried for time and date in human readable form.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3395 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 08:22:52 +00:00
hybrid b645fdb2d3 Add test case for proper file name handling in mountpoint reader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3394 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-06 16:26:40 +00:00
hybrid 1bfa7d2480 Add folder for archive tests
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3393 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-06 16:17:44 +00:00
hybrid b9d6265969 Allow to add folder archives with names without trailing slash. Added test to make sure the possible variants are checked.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3392 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-06 16:03:53 +00:00
hybrid d46ccdbb38 Correct test image.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3391 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 22:56:32 +00:00
hybrid bde7b62fef Add some more tests and fix a problem with transparency in the transparent_refelction_2_layers material as found by xDan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3390 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 21:56:01 +00:00
hybrid 000efed8cf Add some default parameters.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3389 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 21:46:27 +00:00
hybrid 7e236b0192 Merged from trunk, revisions 3366-3387. A few bug fixes all over the place.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3388 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 19:33:06 +00:00
hybrid 531a697d6a Reenable second light, thanks to greenya
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3387 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-01 16:22:52 +00:00
hybrid 02585abef2 Fix comment copy-paste error, as found by greenya
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3386 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-01 16:19:11 +00:00
hybrid 97aa2d4fa3 Fix compilation dependencies for old solution files, as mentioned by greenya
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3385 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-01 16:17:01 +00:00
hybrid 307eb89955 Add some more tolerance for execution on IntelHD graphics cards.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3383 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-01 14:08:42 +00:00
hybrid ba5f014c15 Remove non-existing files from project list. This avoids the dumb "need to recompile" dialogs in MSVC 2010. Also cleaned up some more things.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3382 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 17:35:38 +00:00
hybrid 1fcf0461fe Add the other msvc 2010 project and solution files. Fix all configurations to work as expected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3381 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 16:51:14 +00:00
hybrid 8524459883 Add VS2010 project file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3380 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 12:37:11 +00:00
hybrid ba95d4c27f Avoid the warning about unsupported format when creating FBOs, and try to be more clever with choosing the proper fbo format.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3376 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-29 15:03:22 +00:00
hybrid 68d91c65d0 Fix render state update for UseMipMaps flag in d3d drivers. Thanks to kvakvs for the bug ticket and fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3374 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-29 14:47:52 +00:00
hybrid 61a65d211d Fix deprecation warnings in PNG handling. Also added a warning message handler to get png warnings through the Irrlicht logger. Fix signed/unsigne comparison in WAL loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3368 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 19:18:00 +00:00
hybrid 3357e7bb60 Fix deprecation warnings in PNG handling. Also added a warning message handler to get png warnings through the Irrlicht logger. Fix signed/unsigne comparison in WAL loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3367 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 19:17:31 +00:00
hybrid 9ecd5ddb45 Fix big endian compile problem. Avoid warning under non-msvc compilers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3366 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 16:19:05 +00:00
hybrid d4c81c4427 Merged from 1.7 branch, revisions 3358-3364. This was the revert of the win32 device change, which caused most test fails, and a few test updates. Moreover, updated the reference screenshots for burnings video tests. These all seemed to be correct (just the lights test was a little strong?)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3365 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 15:47:00 +00:00
cutealien 3c0e2b8204 Fix compiling on linux/gcc.
Fix crash in cursors when null-device was used.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3363 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 12:07:57 +00:00
hybrid 4493f9de4d Fix function name change from libpng update.
Fix warnings in test suite.
Disable XML reader check which was marked as still open.
Most tests don't go through, due to wrong image size (probably from changes in Win32 device, which now takes a larger render size than actually used).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3360 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 11:00:28 +00:00
hybrid 548f57af6c Merge in the new support lib versions. Made a little trouble due to manual removals of vc6 files a few hundred revisions ago.
Now we're on jpeglib 8b, libpng 1.4.3, and zlib 1.2.5

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3359 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 10:26:41 +00:00
hybrid e8fa33e154 Merged from 1.7 branch, revisions 3300-3357. Huge number of bug fixes, mostly in GUI and serialization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3358 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 22:45:45 +00:00
cutealien ab95e1980d Let example 11 also use the driverChoice function (was only example using other keys when selecting driver)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3357 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 18:59:47 +00:00
cutealien 1641e03aac Add IGUIElement::bringToBack (patch written by DtD, although I'm to blame for the function-name)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3356 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 18:29:11 +00:00
cutealien 011be981e7 Disabled DDS_LOADER by default.
a) It break 64-bit builds and I'm not deep enough in the format to fix this. Actually from the documentation I found so far the header-format used in the loader looked rather different to me from the format-descriptions I found and Microsoft warned that several dds-versions are out there and loaders
should care about that.
b) I suspect that this loader contains a S3TC implementation, although once again I'm not deep enough in it to validate that. This alorithm is unfortunately rather famous for it's patent as S3 is known to collect fees for it (that's the reason we didn't add that loader before). So users using it should be aware of this. (I think we could work around that at least for hardware-drivers as VideoCards-Vendors have licensed dds and it's possible to pass compressed data directly to the card, but that certainly wouldn't work for software-drivers).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3352 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-16 21:48:08 +00:00
cutealien a716532bb0 Make sure tests run through again. Also cleaned them up a little removing the memory-leaks.
Many tests for burnings-renderer fail atm, but probably just because renderer was improved and tests would need new reference images.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3351 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-16 20:29:07 +00:00
cutealien 0f94624fef Add the new parameter for IFileList::addItem in a few places (will fix FileOpenDialog again).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3350 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-16 19:42:27 +00:00
cutealien d8fbf825d3 - Removed d3d8 again from compile-config (sorry)
- DisplayAdapter parameter should actually be used now (wasn't... thx Yoran for seeing that it didn't seem to do what it was supposed to do)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3346 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-12 14:36:12 +00:00
engineer_apple 5316708d70 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3343 dfc29bdd-3216-0410-991c-e03cc46cb475 2010-07-09 21:18:56 +00:00