Commit Graph

  • 8e2e2886a9 for using correct subimage tex-coordinates in the gui texture->getOriginalSize has to be used engineer_apple 2022-03-30 08:11:58 +0000
  • ddb2028231 Add another screenshot test Drawing the screenshot itself before taking final result to see if the problem is in the render or the screenshot Note: Test-images for software-drivers show some other problems there which this test wasn't about. cutealien 2022-03-29 20:24:24 +0000
  • aa839d45a1 Stop linking to libs which the tests Makefile does not seem to need Tests seem to work fine without -Xext and -Xcursor so kicking those out for now. cutealien 2022-03-28 22:11:26 +0000
  • 044fe29f3d Slow down switching drivers in orthoCam test. Add 2 missing test-files to c::b project file. cutealien 2022-03-28 19:52:00 +0000
  • 71d952acfc Add version 130 requirement to cubeMapReflection.frag Thanks @juozas for reporting the bug: https://irrlicht.sourceforge.io/forum/viewtopic.php?f=7&t=13869&start=390 cutealien 2022-03-27 19:27:19 +0000
  • da77810fb5 Comment fixes in example 25 cutealien 2022-03-25 18:25:33 +0000
  • f0c890d3ff Minor improvements and cleanup for example 24.CursorControl - ESC now also makes cursor visible again (probably first key users press in panic usually) - Bunch of spelling fixes - Let all words in UI elements start with upper-case cutealien 2022-03-25 17:54:28 +0000
  • 60538c3646 Fix comment. (Did I have a stroke when I was typing the old one?) cutealien 2022-03-24 22:24:13 +0000
  • f013a95a0e Improve UI behavior in resizing in example 22.MaterialViewer Also a bit better defaults for sizes and positions of nodes&camera cutealien 2022-03-24 21:32:12 +0000
  • 3f13323e60 Allow switching between cube/sphere in example 22.MaterialViewer cutealien 2022-03-24 21:14:37 +0000
  • 669ad7860a Add new cube mesh type ECMT_1BUF_24VTX_NP. CubeSceneNodes can now use different cube mesh types. 1 Meshbuffer with 24 vertices, so each side has it's own vertices. Normals perpendicular to the cube-sides. CubeSceneNode accepts now a ECUBE_MESH_TYPE CubeSceneNode::clone now also clones rotation and scale (not sure why it didn't do that before - hope there was no reason, but can't think of any). ISceneManager::addCubeSceneNode accepts now a ECUBE_MESH_TYPE and passes it through. Example 22.MaterialViewer using new cube type. Also a few more beauty fixes there. cutealien 2022-03-22 22:08:33 +0000
  • f61b8614ab Cleanup example 22.MaterialViewer Using default light values which work a bit better with cube. But really needs another cube-type (which Irrlicht has not yet, needs single material with 24 vertices) as a cube with vertex normals which average connected sides is horrible with vertex-lighting (the problem is that the light get's behind the plane formed by the vertex-normal this way which is super confusing). Will probably add another cube-type soon. cutealien 2022-03-20 19:09:40 +0000
  • 73247f4a21 Make UI in example 22.MaterialViewer a bit nicer. Less black on grey text. Prevent controlling light and ui-elements same time. Bit more compact code in a few places. cutealien 2022-03-19 16:07:38 +0000
  • 8254c0848c Minor cleanup and comment fixes in example 21 Mostly spelling stuff. Only real code change is that Irrlicht has by now a function to fill images, so no more extra code for that needed. cutealien 2022-03-17 20:12:40 +0000
  • 3035e27e67 Remove unused variable in example 19 Added that one accidentally in my last commit (leftover from a failed experiment) cutealien 2022-03-17 19:16:28 +0000
  • 713018cae1 Minor update for example 19.MouseAndJoystick. Don't move the mouse anymore when the mouse hasn't moved. This was sometimes confusing because events are only caught inside the window (at least on Windows), which lead to the node moving seemingly randomly when the mouse was outside. Also added a few more comments to mention CursorControl as an alternative. cutealien 2022-03-16 20:59:43 +0000
  • e50adc3066 Add tiny UI to SplitScreen example and some minor cleanup. Just to show that GUI can be used print usable keys on screen. Also ESC can be used now to quit. cutealien 2022-03-15 19:31:04 +0000
  • d31b7aa261 Minor comment changes in example 16 cutealien 2022-03-14 17:59:47 +0000
  • 530ddbf32f line2d::intersectWith now using f64 instead of f32 internally Avoid losing precision when working with line2d<f64> cutealien 2022-03-14 15:11:05 +0000
  • 709cbe9df6 Avoid some more warnings when working with CMatrix4<f64> cutealien 2022-03-10 12:51:10 +0000
  • c5fd5bc4cd Avoid warnings when working with CMatrix4<f64> cutealien 2022-03-10 12:24:03 +0000
  • 8b1d0db8e2 AutomatedTest: improve and run under macOS CI too sfan5 2022-03-09 22:43:35 +0100
  • e469c54f76 Fix COSOperator::getSystemMemory sfan5 2022-03-09 22:39:25 +0100
  • c20d3d08b6 Cleanup code & documentation of Example 14 a bit. Note: Turns out we never got rendering into 2 OpenGL Windows same time working. Not going to look into this for now as it's not a new bug (never seems to have worked). If anyone has more information (like maybe it's not possible?) be nice and tell us in the forum. cutealien 2022-03-09 18:26:23 +0000
  • 3ad07543be Add IGUIImage::flip to allow flipping/mirroring images. cutealien 2022-03-08 18:44:23 +0000
  • df908ef4ea Get rid of various old compiler and platform checks sfan5 2022-02-26 11:38:43 +0100
  • 01586f584a Delete more old files sfan5 2022-02-26 11:23:23 +0100
  • 95af6d7c08 Get rid of all sprintf calls sfan5 2022-02-26 11:18:19 +0100
  • 00dd274510 Fix uninitialized variable in previous commit sfan5 2022-02-26 12:09:18 +0100
  • d59bcdbd07 Create OpenGL context using CreateContextAttribsARB sfan5 2022-02-20 23:18:17 +0100
  • 09b8837ef9 Fix SDL2 include paths sfan5 2022-02-14 18:26:59 +0100
  • 3da5987f4b IVideoDriver::setMaterialRendererName now using u32 for index like other similar functions Other functions like getMaterialRendererName got switched to u32 in the past. I can see no reason why this one was left out, so changing it to be same as the rest. cutealien 2022-02-09 19:28:45 +0000
  • 4fb1c55ec5 IBillboardSceneNode got functions to access meshbuffers. So uv-coordinates can now be modified directly (previously only possible via texture matrix). cutealien 2022-02-08 21:00:12 +0000
  • 7fb36849c7 vector3d scalar operator/ and operator/= no longer multiply by the inverse but use the expected division. That was a bad case of premature optimization. Multiplication is indeed faster, but when working with floats this can introduce some rather unexpected inaccuracies. Like x/x suddenly no longer being 1.0 (something guaranteed by division). If someone really needs this back, then please add some new function which makes it clear we don't just have a typical division here. cutealien 2022-02-03 14:47:41 +0000
  • 8c0ee7d9ab Avoid some warnings from static code analysis. cutealien 2022-01-22 15:54:43 +0000
  • 684293f527 Prefer static_cast to reinterpret_cast where possible. Just safer. Could probably do in a lot more places... another time. cutealien 2022-01-08 18:22:20 +0000
  • 1b8be72ccb de-deprecate clearZBuffer Lets just keep this one around. Easy to use, downward compatible and generally works as expected. cutealien 2021-10-13 10:12:04 +0000
  • 19b003a840 IBillboardSceneNode got functions to access meshbuffers. So uv-coordinates can now be modified directly (previously only possible via texture matrix). cutealien 2022-02-08 21:00:12 +0000
  • d3132e0731 Update MinGW CI setup to match MT's sfan5 2022-02-04 21:08:37 +0100
  • e5f69157db Bump revision sfan5 2022-02-03 21:50:14 +0100
  • 57f518737d vector3d scalar operator/ and operator/= no longer multiply by the inverse but use the expected division. That was a bad case of premature optimization. Multiplication is indeed faster, but when working with floats this can introduce some rather unexpected inaccuracies. Like x/x suddenly no longer being 1.0 (something guaranteed by division). If someone really needs this back, then please add some new function which makes it clear we don't just have a typical division here. cutealien 2022-02-03 14:47:41 +0000
  • fa2a7dc236 Gracefully handle lack of bundle on macOS sfan5 2022-01-31 20:48:00 +0100
  • 7d1dc8b2d5 Get rid of ancient workaround sfan5 2022-01-22 21:00:54 +0100
  • 42c0b17435 Relax test a bit. Minor example cleanup. Invisible difference, probably some mip-mapping pixel. Getting rid of some unnecessary global in example 14 cutealien 2022-01-22 16:42:12 +0000
  • 0fb6891267 Avoid some warnings from static code analysis. cutealien 2022-01-22 15:54:43 +0000
  • 2a83ed4b67 Add hash for vector2d Richard Try 2022-01-21 17:48:37 +0300
  • 53db262bd2
    Update CIrrDeviceSDL to support SDL2 (#85) 1.9.0mt4 Emmanuel Hansen 2022-01-16 11:16:15 +0000
  • 517867f455 fixes #85 sfan5 2022-01-15 16:53:48 +0100
  • 195759100f CB3DMeshFileLoader: abort if offsets point outside of file sfan5 2022-01-15 16:05:01 +0100
  • 62cf8296b1 Bugfix: XML reader no longer drops last character in strings after certain character replacments Due an off-by-one error it went wrong where there a special character replacement for the second-last character going on. So something like "&lt;X" became "<" instead of "<X". cutealien 2022-01-11 14:45:08 +0000
  • 31f5da289f Remove CPPFLAG -I/usr/X11R6/include in all example Makefiles None uses X11 directly, this is only needed in the Library itself. Also this was even added on all platforms while many don't even have X11. Thanks @Isomorphix noticing something off about that once (a long time ago...): https://irrlicht.sourceforge.io/forum/viewtopic.php?f=1&t=49033 cutealien 2022-01-09 15:50:41 +0000
  • 1dbab53e5a Prefer static_cast to reinterpret_cast where possible. Just safer. Could probably do in a lot more places... another time. cutealien 2022-01-08 18:22:20 +0000
  • cfb27d9a74 Add some error checking in COSOperator::copyToClipboard GlobalAlloc and GlobalLock can return NULL cutealien 2022-01-08 17:36:20 +0000
  • 9e27a6d4bf Avoid allocating more than 16k on stack in OCT loader. Also avoid potential heap overwrites in there. Sadly I have no examples for OCT files and it doesn't seem like a very common format as I couldn't even find any examples online. So just assuming my changes work. cutealien 2022-01-08 17:30:06 +0000
  • 98aed6ba67 utf8ToWchar and wcharToUtf8 work with sizeof checks instead of defines now to call correct conversion Tiny speed hit, but old solution caused warnings. And it was not very safe by assuming all non _WIN32 platforms would use 32 bit sizes for wchar_t. cutealien 2022-01-08 15:19:46 +0000
  • c2ff824550 Define out unused functions in dmf loader to avoid warnings. I don't know enough about DeleD from Delgine to fix this. But keeping the functions defined out as long as they don't get in the way. Also I'm a bit suspicious about the license... for use in Irrlicht core only under zlib license? That's not really zlib license then :-( cutealien 2022-01-07 17:24:38 +0000
  • ed693fddca Avoid some warnings. gcc does not like mixing enums and numbers cutealien 2022-01-07 16:47:56 +0000
  • 67469c8899 Merging r6275 through r6286 from trunk to ogl-es branch - Fixing warnings - Updating bzip2 and zlib libraries cutealien 2022-01-07 16:30:25 +0000
  • 3e7a4666d5 Merging r6283 through r6284 from branch releases/1.8 to trunk - Updating to zlib 1.2.11 cutealien 2022-01-07 16:23:03 +0000
  • 30b78dab9b Merging r6274 through r6281 from branch releases/1.8 to trunk. - Updates bzip2 to 1.0.8 (which sadly didn't reduce the amount of compile warnings, but let's hope it still improves something) cutealien 2022-01-07 15:45:58 +0000
  • b11c4c142c Remove several copy-constructors and assignment operators which did nothing special. They all just implemented the same the default functions do. This causes now warnings with newer gcc -Wdeprecated settings (otherwise they would have had to implement always both, but makes no sense as they did nothing special). cutealien 2022-01-06 14:02:12 +0000
  • 1e7ceac26c Remove assignment operator in quaternion. It's identical to the implicit one generated, so we don't need that. And it triggers warnings with -Wdeprecated in newer gcc. It's because the implicit definition of a copy constructor is deprecated if the class has a user-declared copy assignment operator. cutealien 2022-01-06 12:01:36 +0000
  • 66f9511745 Fix: 64 bit integer typedefs have different definitions in different compilation units Mac OS Thanks @edo9300 for reporting: https://irrlicht.sourceforge.io/forum/viewtopic.php?f=7&t=52795 This is also once more trying to fix bug #433 cutealien 2022-01-04 18:44:35 +0000
  • dadbf64a8c Merging r6274 through r6276 from branch releases/1.8 to trunk - Security fix for md2 loader cutealien 2022-01-02 20:15:24 +0000
  • 2fec5e5dd3
    Reset mesh animation state before recalculating normals (#90) x2048 2022-01-02 20:41:03 +0100
  • 6897d8c565 Create OpenGL context using glXCreateContextAttribsARB #91 Dmitry Kostenko 2022-01-01 03:11:43 +0100
  • 3f42838f03 Reset mesh animation state before recalculating normals #90 Dmitry Kostenko 2022-01-01 03:05:23 +0100
  • 411497c84e Revert "Fix updating of vertex normals for animated meshes (#77)" #89 Lars 2021-12-31 09:01:09 -0800
  • 52e03a8485
    Remove unused attribute saving and loading (#86) ROllerozxa 2021-12-29 23:00:56 +0100
  • 400539295d fix line endings #86 sfan5 2021-12-29 20:09:21 +0100
  • 2897b232cc Readd SceneParameters and relevant code. ROllerozxa 2021-12-29 18:46:14 +0100
  • dd09fdcb4e
    Remove more unused code (#87) sfan5 2021-12-29 13:12:09 +0100
  • ace048d159 Remove unused createEmptyAttributes() method. ROllerozxa 2021-12-28 20:11:21 +0100
  • 8e0e7b5c43 Trim down CAttributes and related files to only what is still used. ROllerozxa 2021-12-28 20:11:04 +0100
  • b1b97dcab4 Remove more stuff. - Remove scene loaders - Remove methods for loading and saving scenes - Remove SceneParameters, replace occurences with their default value - Remove SceneUserDataSerializer ROllerozxa 2021-12-28 18:53:26 +0100
  • 90f9e1e920 del (more random stuff) #87 sfan5 2021-12-28 17:11:01 +0100
  • 28141e938b del software sfan5 2021-12-28 16:49:44 +0100
  • 6205adbb82 del normal sfan5 2021-12-28 16:18:29 +0100
  • 0517da97c5 del parallax sfan5 2021-12-28 16:06:03 +0100
  • d993f0b034 fix keys being detected as unicode, correct sdl headers for linux Emmanuel Hansen 2021-12-23 10:25:15 +0000
  • 2d93482d1c Completely remove IAttributeExchangingObject. ROllerozxa 2021-12-22 20:55:12 +0100
  • fbc7bce4ea Remove unused methods related to loading/saving materials as attributes. ROllerozxa 2021-12-22 20:38:11 +0100
  • 78a1aeb124 Remove {de,}serializeAttributes() methods. ROllerozxa 2021-12-22 20:35:54 +0100
  • e7c7e36347 obj file loader now allows using mtl files with spaces in the filename. mtllib commands previously used only the first word, now they use the rest of the line. Different obj format descriptions describe the mtllib command in 2 different ways: - http://paulbourke.net says it can load several mtl files separated by spaces - Wikipedia says it can load one mtl file (but there can be several mtllib commands) We previously loaded 1 file - using the name up to the first space character, so it basically was not correct for either solution. We now go with Wikipedia, because it allows using space in filenames and I tested several other tools and they all handled it like this. cutealien 2021-12-22 16:19:59 +0000
  • 031de4ff4f address comment Emmanuel Hansen 2021-12-21 20:27:20 +0000
  • 4a93c52696 comment out sdl #define, address comment Emmanuel Hansen 2021-12-21 20:17:17 +0000
  • 38cb186d6b addressed comments Emmanuel Hansen 2021-12-21 19:35:26 +0000
  • a0c07c24c7 add cmake options Emmanuel Hansen 2021-12-19 14:08:10 +0000
  • ebd5ed42ec fix input Emmanuel Hansen 2021-12-19 13:46:16 +0000
  • 5886220fc1 create gl context Emmanuel Hansen 2021-12-19 12:29:34 +0000
  • 3352b10022 sdl Emmanuel Hansen 2021-12-19 08:49:31 +0000
  • 0afab97334
    don't run in parallel in MacOS build JosiahWI 2021-12-16 16:17:28 -0600
  • 52c8f4a7b3
    repair matrix ops test JosiahWI 2021-12-16 16:10:10 -0600
  • 62687d91b1
    repair filesystem test JosiahWI 2021-12-16 16:05:58 -0600
  • c3aec171a4
    remove unnecessary media JosiahWI 2021-12-16 15:31:39 -0600
  • 5129de58fb
    fix testLine2D JosiahWI 2021-12-16 15:14:21 -0600
  • 7f01180ff8
    fix missing newlines and returns JosiahWI 2021-12-16 14:56:07 -0600
  • 891f4acd5c
    remove unused test sources JosiahWI 2021-12-16 14:51:47 -0600
  • f30c7839cf
    remove unfinished tests JosiahWI 2021-12-16 14:40:13 -0600
  • 9f6ccd6809
    add tests to CI JosiahWI 2021-12-16 14:39:59 -0600