Commit Graph

  • a498bb330b Fix loaded texture log spam #5 Lars Mueller 2020-05-20 01:37:16 +0200
  • d0401e37ca Remove bundled libraries #3 sfan5 2020-05-18 14:45:36 +0200
  • 15bc758439
    Merge pull request #2 from minetest/feature/github_workflow Loïc Blot 2020-05-18 10:02:37 +0200
  • 0f916f2fc0
    Add github workflow & gitignore #2 Loic Blot 2020-05-18 09:35:38 +0200
  • 1dbebc0a0c
    Fix compilation warning Loic Blot 2020-05-18 08:43:04 +0200
  • 6fe86df4b3
    Import irrlicht 1.8.4 release Loic Blot 2020-05-16 23:31:28 +0200
  • 9062ac91af ICursorControl::isVisible is now always returning the flag that was set in setVisible. This changes the behaviour on Win32 somewhat when Windows returned a CURSOR_SUPPRESSED state (touch-screen input hiding cursor globally). Previously we set IsVisible it to false when CURSOR_SUPPRESSED was set. Also we handle the CURSOR_SUPPRESSED state slightly different now and still try to hide cursors once when requested. Reason for the change is that the old behaviour made it harder to recover from touch-screens hiding the cursor because Irrlicht didn't know anymore which state is _should_ have. This also unifies the behaviour on all drivers as the other drivers already returned the visible flag independent of the system being able to actually show the cursor. cutealien 2020-05-05 13:19:42 +0000
  • 780eec5363 Improvements to B3D writer for speed, readability and handling of low framerate animations. Thanks @JLouisB for the patch (For more info, see: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=2&t=50067&start=15) cutealien 2020-04-27 20:52:21 +0000
  • a67b616fc9 Add another render pass ESNRP_GUI which is drawn last and is p.E. useful for rendering gui nodes in the scenemanager. UI and scenenodes are often connected. And while it was possible to work around this already by using custom draw functions or deriving from gui and scene-nodes at the same time, it did already lead a few times to uglier code for me. So I guess adding one more pass to the engine has it's uses. cutealien 2020-03-30 16:04:53 +0000
  • bca8023261 CSoftwareDriver2: Normalmap like Irrlicht. Lightpos in vertex space CSoftwareTexture2: Tweaking (guessing linear Image) CBlit.h: allow mirror image (SuperTuxKart) engineer_apple 2020-03-01 22:33:55 +0000
  • f74abf1d2b burning: GL_FOG_COORDINATE_SOURCE ,GL_FRAGMENT_DEPTH -> abs(EyeSpace.vertex.z) engineer_apple 2020-03-01 16:19:03 +0000
  • ae64a8ef22 Fix c::b project file. Adding the new burnings files. cutealien 2020-02-29 14:45:18 +0000
  • 92f3d266a0 removed OriginalFormat from CSoftwareTexture2, because ITexture has OriginalColorFormat; engineer_apple 2020-02-29 01:13:48 +0000
  • 704c9eec83 BurningVideo 0.51 - NormalMap engineer_apple 2020-02-27 00:17:46 +0000
  • 725391bf50 Fix VS2010 project file. cutealien 2020-02-27 00:07:39 +0000
  • 5bf308139c expf throws floating point underflow exception on every value in VS2017. switch to IEEE-compatible type double exp engineer_apple 2020-02-23 14:15:53 +0000
  • 2a1d6e5f48 burningvideo 0.5 test update engineer_apple 2020-02-23 03:37:29 +0000
  • f686d2c8b7 burningvideo 0.5 test update engineer_apple 2020-02-23 03:00:54 +0000
  • f5362a658d burningvideo: regenerateMipMapLevels, allow mipmap upload engineer_apple 2020-02-23 02:23:10 +0000
  • 0de51c3c3d removed warning for VisualStudio 2012 engineer_apple 2020-02-22 22:54:23 +0000
  • a790b163ee remove source warnings engineer_apple 2020-02-22 22:09:48 +0000
  • 6f8b0cef96 remove source warnings engineer_apple 2020-02-22 22:01:57 +0000
  • 9c15b9dfa9 remove examples warnings engineer_apple 2020-02-22 21:42:44 +0000
  • c615e1e666 remove examples warnings engineer_apple 2020-02-22 21:36:28 +0000
  • fe7778d8d8 Demo - billboard zbuffer 11.PerPixelLighting - darker light, enable specular again for diffuse - replace wrong irrlichtlogo2.png (was a test around 2005) engineer_apple 2020-02-22 21:28:25 +0000
  • 8554ec93f9 -burningvideo 0.5 revert engineer_apple 2020-02-22 20:51:59 +0000
  • 86dd0cde26 - BurningVideo: 0.50 - 10 year anniversary update - Lighting model reworked. moved to eyespace like openGL. [Specular Highlights, Fog, Sphere/Reflection Map] - increased internal s4DVertex to support 4 Textures and 4 Colors [switchable] - Textures are handled as sRGB during Mipmap Generation. More accurate, less visual disruption - 2D is drawn as 3D like hardware drivers. [switchable]. enables viewport scaling, material2D - Texture Spatial Resolution Limiting working. [lower memory consumption,SOFTWARE_DRIVER_2_TEXTURE_MAXSIZE] - SuperTuxKart 8.0.1 playable engineer_apple 2020-02-22 20:48:12 +0000
  • 9c837aa41b Add more GlTextureParameter wrapper to COpenGLExtensionHandler Sorry, just a hack to make it easier to work around Irrlicht :-( Would be nice to have a general mechanism to load native gl functions in Irrlicht from apps... cutealien 2020-02-11 14:14:59 +0000
  • 7b1ee6468d Added 'uint' GLSL uniform support. Thanks @devsh for the patch. cutealien 2020-02-10 15:01:11 +0000
  • dbf03c296c Add support for handling non square matrix uniform types in GLSL Thanks @devsh for the patch. cutealien 2020-02-10 14:24:26 +0000
  • 7beeb3d3f8 Fix several OpenGL version checking comparisons and add glGetTexImage. Thanks @devsh for the patch. cutealien 2020-02-10 14:08:59 +0000
  • 5451a2a8a0 Switch to 32bit meshes in CPLYMeshFileLoader now at > 65536 vertices. 65536th vertex has index 65535 which is still fine, was going 1 too low in last commit. cutealien 2020-01-08 11:14:57 +0000
  • bc41211482 CPLYMeshFileLoader now switching to 32-bit meshbuffers when more than 65535 vertices instead of more than 65565. Thanks @randomMesh for reporting (http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=52563) cutealien 2020-01-08 10:34:35 +0000
  • 5db5cbadf5 Add another test for gl errors in debug. cutealien 2020-01-06 14:27:20 +0000
  • 50f4bdecbe No longer try creating rtt's for compressed image formats Those are not supported by any graphic card and we just end up with invalid textures. Returning 0 now instead in addRenderTargetTexture for OpenGL and D3D9. cutealien 2020-01-06 14:05:26 +0000
  • 83d368cef4 Replace compile-warnings for unsupported image formats in writers with a log message warning. Having too many warnings makes it harder to see real warnings. I know the idea to keep those around was to have them as reminder to work on those. But going over the formats here - it just doesn't make sense in most cases. And for the rest (like we could add converts from R8 or so) no-one is going to work on it until someone concretely needs it anyway. cutealien 2020-01-06 11:54:57 +0000
  • 985997a755 Avoid warning. cutealien 2020-01-04 18:51:01 +0000
  • f1a3995965 Add define IRR_CASE_IIMAGE_COMPRESSED_FORMAT to help getting rid of a few more warnings. Unlikely we ever support conversions with compressed image format. Define is a bit ugly I guess, but nicest way I could think off. Can probably be used in some image writers as well, have to check which support/don't support compressed formats first. cutealien 2020-01-04 18:42:12 +0000
  • 66b24bb745 Avoid some warnings and unnecessary (slow) check in CImage::setPixel/getPixel cutealien 2020-01-04 18:26:13 +0000
  • 229c827870 Prevent some fallthrough warnings we got since gcc7 in aes Interestingly those can be suppressed with simple comments. Note that I didn't suppress those in zlib code yet as I'll check for updates for those libs before releasing (while we are pretty much stuck with this AES version unless we put in a lot more work). cutealien 2020-01-04 16:22:12 +0000
  • 2ae2a551a6 Merging r5975 through r6036 from trunk to ogl-es branch. GLES drivers adapted, but only did make compile-tests. cutealien 2020-01-03 19:05:16 +0000
  • 5d0b042a65 Use f64 version of reciprocal_squareroot in quaternion::normalize for more precision. The f32 version jumped around more on gcc/linux (didn't do so with VisualStudio, mabye sqrt on VS already uses double internally). cutealien 2020-01-03 17:09:39 +0000
  • 34d09f7c63 Fix: CMeshSceneNode and CAnimatedMeshSceneNode still used wrong material in OnRegisterSceneNode. cutealien 2020-01-03 16:22:55 +0000
  • 0b71328102 Use BlendFactor only when MaterialType != EMT_ONETEXTURE_BLEND The way this was implemented BlendFactor and MaterialTypeParam could conflict otherwise as they both send the blend functions. cutealien 2020-01-03 14:58:46 +0000
  • 473ab1ea58 Unify checks if materials should use transparent render pass with new IVideoDriver::needsTransparentRenderPass function. Fix bug that AnimatedMeshSceneNode ignored ReadOnlyMaterials flag when checking materials for transparent render passes. Make IVideoDriver::getMaterialRenderer const. Fix bugs in COctreeSceneNode, CMeshSceneNode and CAnimatedMeshSceneNode where check for transparency in OnRegisterSceneNode() and in render() where no longer identical (those got added after Irrlicht 1.8). cutealien 2020-01-03 11:13:57 +0000
  • 2928a632a4 Material.ZWriteEnable is now of type E_ZWRITE instead of bool and ZWriteFineControl get removed (or merged into ZWriteEnable). This breaks compiling. To have old values replace false with EZW_OFF and true with EWZ_AUTO. cutealien 2020-01-02 15:34:52 +0000
  • fc37b383ed Fixing comments for E_ZWRITE_FINE_CONTROL. (and considering replacing it and breaking binary serialization of SMaterial - having 2 flags for zwrite is simply too confusing). cutealien 2019-12-31 18:21:45 +0000
  • c661373121 EMT_REFLECTION_2_LAYER and EMT_TRANSPARENT_REFLECTION_2_LAYER on OpenGL now same as D3D9 version. Before OpenGL used GL_SPHERE_MAP instead of GL_REFLECTION_MAP in COpenGLMaterialRenderer. Not sure why, but documentation mentioned GL not being implemented, so maybe it was forgotten? Or maybe I'm missing something as this was a big too easy to fix :-) Anyway - I tested it and with that change they seem to look now identical to the D3D9 version, so I think it's fine. Obviously means whoever used the material before on OpenGL has now a changed material. cutealien 2019-12-17 14:05:34 +0000
  • 28725e137a Update irrString test due to split changes in r6007 We keep separators now in their own tokens. cutealien 2019-12-16 16:51:30 +0000
  • 3280b3319e Add floor32, ceil32, round32 compatibility functions for burnings renderer. To avoid changing burnings now those functions have no IRRLICHT_FAST_MATH anymore, there's a new header irrMathFastCompat.h which has ..._fast functions doing the old behavior. With the troubles they have documented. I changed burnings to use those functions throughout. Or as much as possible... Burnings probably also uses classes like SColor which also have functions using those, but I don't plan to adapt them. Maybe IRRLICHT_FAST_MATH should be a flag exlusive to burnings in the future, I don't think it makes much sense otherwise anymore (it often expects 32-bit asm). cutealien 2019-12-16 16:15:04 +0000
  • 3acf725ae3 Work on IRRLICHT_FAST_MATH troubles. Document round_ and round32 troubles. - Add warnings to round_, round32 about different (and sometimes worse) behavior than the standard library, especially at high numbers. For example with input 8388609 standard library corrrectly returns 8388609, but we get 8388610. But as we still don't use C99/c++11 in Irrlicht 1.9 I have no easy way to fix this. - reciprocal_squareroot with IRRLICHT_FAST_MATH is less exact than it claims to be. Just commenting it. - document slightly different behavior of reciprocal with IRRLICHT_FAST_MATH around 0. - Kick out IRRLICHT_FAST_MATH for floor32, ceil32, round32. Their results are simply wrong, especially for uneven numbers. Like floor32(1) will be 0. or ceil32(-1) will also be 0. round32 wasn't as bad, but also down-rounding 0.5 and less exact. I know Burnings still wants those functions, so next commmit will add them again, but with new names and only an internal header. cutealien 2019-12-16 15:48:35 +0000
  • 79800125ae No longer try to use __asm on _WIN64 in VisualStudio. 64-bit asm isn't supported on VS (and I suppose we used 32-bit asm anyway). cutealien 2019-12-16 13:57:31 +0000
  • 5c8f0484da Remove clearFPUException which did nothing. That function just returned true for years not doing anything. As far as I can see from the web it's about some rare cases in DOS compatibility mode with 32-bit apps. But not sure why it was called exactly in this place in the past. So no comments, no idea what it's about and not actually doing anything and probably not needed on any platform anyone still uses ... lets just kick it out. (it did break compiling IRRLICHT_FAST_MATH on x64 which is why I noticed it) cutealien 2019-12-16 13:49:38 +0000
  • 070d49e63c Update release checklist to avoid getting 2 copies of docs in doc-folder again. Thanks to whoever reported that to me once (sorry, I forgot who found that, just had this still on my todo). cutealien 2019-12-13 15:45:31 +0000
  • 44fd5d37ea Change string::split once more - Delimiters now end up in their own token when keepSeparators is true. - When ignoreEmptyTokens is false we now add a token at the end when the last character is a delimiter. While this means some changes, the ignoreEmptyTokens=false didn't work correct in 1.8 anyway, so another change shouldn't break much. Thanks @manni63 for bringing this up in forum: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=51584&p=299634#p299634 cutealien 2019-12-13 15:30:07 +0000
  • 421000e00d Avoid warning on gcc/linux. cutealien 2019-12-13 11:28:45 +0000
  • 6c5ae22d49 Get rid of gcc warnings. cutealien 2019-12-12 18:04:40 +0000
  • 0b92a66c50 Replace list of hwnd -> IrrlichtDevice mapper with an array. Single inserts/removes per device creating/destruction, but searchs on every event. Arrays are better for that than lists. Also document a bit. cutealien 2019-12-12 17:31:22 +0000
  • 6ad09a3a25 Remove unused function getEnvMapperFromHWnd I suspect we could also get rid of the EnvMap list, not sure what that is about. cutealien 2019-12-12 17:16:51 +0000
  • 7061c42008 Avoid warning on gcc cutealien 2019-12-12 17:04:46 +0000
  • 2f84ab0cdc Avoid some gcc warnings. cutealien 2019-12-12 16:52:46 +0000
  • 8310a3fbad Avoid warning and make local variable lower-case. cutealien 2019-12-12 16:32:41 +0000