Commit Graph

  • 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
  • 53db262bd2
    Update CIrrDeviceSDL to support SDL2 (#85) 1.9.0mt4 Emmanuel Hansen 2022-01-16 11:16:15 +0000
  • 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
  • 52e03a8485
    Remove unused attribute saving and loading (#86) ROllerozxa 2021-12-29 23:00:56 +0100
  • dd09fdcb4e
    Remove more unused code (#87) sfan5 2021-12-29 13:12:09 +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
  • 4bdecbc6b7 Automatically use SSE registers for FP operations on i386 (#83) William L. DeRieux IV 2021-12-11 06:43:23 -0500
  • 6d96663c9a Merging r6256 through r6273 from trunk to ogl-es branch cutealien 2021-12-12 14:06:53 +0000
  • e037502141 Merging r6272 from branch releases/1.8 to trunk - readme.txt fix cutealien 2021-12-12 14:04:12 +0000
  • 2bed22acbb Merging r6270 from branch releases/1.8 to trunk - Prevent buffer overflow in md2 loader cutealien 2021-12-12 13:55:03 +0000
  • 73d562d745 Merging r6266 through r6268 from branch releases/1.8 to trunk - Spelling fixes - Makefile adding to CFLAGS instead of replacing them. cutealien 2021-12-05 20:25:26 +0000
  • 6d133e1bcc Fix various GCC warnings JosiahWI 2021-11-11 15:53:46 -0600
  • d4119ba664 Remove unused functions JosiahWI 2021-11-09 13:47:54 -0600
  • 2f2d37dce6 Reduce _IRR_MATERIAL_MAX_TEXTURES_ to 4 sfan5 2021-11-19 20:27:51 +0100
  • d322b73e4c Get rid of MATERIAL_MAX_TEXTURES_USED sfan5 2021-11-19 20:16:57 +0100
  • 6779cb7254 Unconditionally load first texture matrix in OpenGL driver sfan5 2021-11-19 19:27:47 +0100
  • 39cad3e618
    Fix updating of vertex normals for animated meshes (#77) x2048 2021-11-16 12:30:31 +0100
  • 853939405b Add XMLFontConverter source file bitmapfont sfan5 2021-11-09 22:19:35 +0100
  • 9b0bc2aaed Readd simple text format to replace bitmap font XML sfan5 2021-11-09 22:19:05 +0100
  • 3e61e81b06 Merging r6203 through r6264 from branch releases/1.8 to trunk Just updating text files after Irrlicht 1.8.5 release. All other changes had been backports and were in trunk already. cutealien 2021-11-01 15:47:21 +0000
  • 81bae5b717 Replace some questionable math implementations sfan5 2021-10-24 01:11:31 +0200
  • 60b245bf4f 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
  • dbd39120e7 Limit dimensions of all image loaders to 23000x23000 sfan5 2021-09-30 16:40:41 +0200
  • 594de99153 CImageLoaderJPG: protect size calculation from overflow by rejecting huge dimensions sfan5 2021-09-14 20:02:40 +0200
  • 713471e9a2 Bump revision to 1.9.0mt4 sfan5 2021-09-12 20:56:20 +0200
  • ac57007c55
    Readd TGA format support (#64) ROllerozxa 2021-09-13 21:21:26 +0200
  • 4389a15e0f Remove unused locale-like code, utf8 functions and headers 1.9.0mt3 sfan5 2021-08-30 22:18:43 +0200
  • 8f386999a6 Change clipboard to UTF-8 on macOS sfan5 2021-08-30 21:53:04 +0200
  • 34f1f8d089 Make clipboard UTF-8 on Windows too sfan5 2021-08-30 21:51:24 +0200
  • 9c4b6f25ab
    Fix X11 selections (#55) DS 2021-08-30 21:44:56 +0200
  • 75b4c05741 Drop _IRR_WCHAR_FILESYSTEM sfan5 2021-08-30 20:44:51 +0200
  • 2dc2846c3f
    Add support for OpenBSD JosiahWI 2021-08-28 11:12:40 -0500
  • 6025242ee9 Fix compiling Android and iOS cutealien 2021-08-27 19:26:01 +0000
  • 1efc93d766 Merging r6256 from trunk to ogl-es branch (fixing OSX again) cutealien 2021-08-27 19:20:42 +0000
  • 377e9c59df Change _IRR_OVERRIDE to IRR_OVERRIDE also on OSX headers. cutealien 2021-08-27 19:19:09 +0000
  • ee3579015b Merging r6250 through r6254 from trunk to ogl-es branch cutealien 2021-08-27 19:14:39 +0000
  • b691098fae Unify VS project files some more. Trying to clarify comments in irrLegacyDefines.h cutealien 2021-08-27 18:09:14 +0000
  • 3d2a55e788 Replace header guards in source folder to avoid using identifiers reserved by c++ Basically fixing original Bug#427 reported by MArkus Elfring. Unfortunately there are still more defines (in IrrCompileConfig.h) which also are not nice c++ Lots of files touched for very minor cleanup *sigh* cutealien 2021-08-27 15:55:04 +0000
  • 0c6385cb92 Replace public header guards to avoid using indentifiers reserved by c++ Usually something like __IRR_SOME_GUARD_INCLUDED__ replaced by IRR_SOME_GUARD_INCLUDED. Removing underscores at the end wasn't necessary, but more symmetric (probably the reason they got added there as well). While this touches every header it shouldn't affect users (I hope). cutealien 2021-08-27 15:03:34 +0000
  • ffd7b63af0 API BREAKER: Replacing defines in irrTypes.h which are conflicting with c++ reserved identifier rules. C++ has undefined behavior for identifiers starting with __ or with _ followed by an uppercase letter. We still have many more (in IrrCompileConfig.h and in all header-guards), will likely replace those later as well. As a workaround for users which might use irrlicht defines in their code, I've added the header irrLegacyDefines.h Including that allows to continue using old defines for a while - or make it easier to have code which compiles with old and new Irrlicht library versions. cutealien 2021-08-27 12:55:10 +0000
  • ee180dbd24 Unify VS project files and add a few more headers into them. cutealien 2021-08-27 10:47:05 +0000
  • 9690c1b3e3 Merging r6196 through r6248 from trunk to ogl-es branch cutealien 2021-08-26 21:57:27 +0000
  • c26ff3476f
    CIrrDeviceLinux: Add support For TouchInput.touchedCount TheBrokenRail 2021-08-27 04:58:46 -0400
  • 21302d038a Merging r6196 through r6248 from trunk to ogl-es branch cutealien 2021-08-26 21:57:27 +0000
  • dba40bb36f PACK_STRUCT was likely ignored in ieee654 struct. clang warned about that and I think warning made sense. Also still works on gcc - will test on VS tomorrow. cutealien 2021-08-26 21:32:17 +0000
  • 9564827d57 Avoid clang warning. cutealien 2021-08-26 21:30:44 +0000
  • 8e149ffb40 Avoid gcc warning and fix some indention/whitespace. cutealien 2021-08-26 21:09:08 +0000
  • 0c2049610a Add missing _IRR_OVERRIDE_ Clang complained. Slightly interesting case - pure virtual function with override - I suppose for documentation purposes. cutealien 2021-08-26 21:00:31 +0000
  • da33f80bb8 Readd CSceneCollisionManager with only the method we need sfan5 2021-08-24 23:51:48 +0200