Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency harfang to v3.2.7 - autoclosed #2

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 2, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
harfang (source, changelog) ==3.2.5 -> ==3.2.7 age adoption passing confidence

Release Notes

harfang3d/harfang3d (harfang)

v3.2.7

Compare Source

This minor release brings the support for the DOF post process.

  • Added the support for the depth of field post process (CoC spiral gather method)
  • Fix CMake warnings.

v3.2.6

Compare Source

This minor release provides several fixes and brings a functionning API to capture the framebuffer and save it as a picture.

Framework integration and source code maintenance
  • Fixed the missing DisableCursor on SDL (by @​PMP-P).
  • Fixed Linux Golang module build script.
Rendering
  • Added the ability to set the pixel center offset for the projection matrix: SetCameraCenterOffset and GetCameraCenterOffset (by @​RobEwbank1).
  • Resolved issue #​50 (fix CaptureTexture() for Python / Lua)":
    • OLD: uint32_t CaptureTexture(const PipelineResources &resources, const TextureRef &t, Picture &pic)
    • NEW: uint32_t CaptureTexture(bgfx::ViewId &view_id, const PipelineResources &resources, const TextureRef &t, const Texture &readback, Picture &pic)
    • Fixed Picture Set/Get RGBA: GetPixelRGBA and SetPixelRGBA.
    • How does the framebuffer capture work ?
      • In order to grab the framebuffer, create an empty picture: picture = hg.Picture(512, 512, hg.PF_RGBA32)
      • The texture framebuffer is created as in draw to texture
      • Then, set framebuffer to TF_ReadBack: tex_readback = hg.CreateTexture(512, 512, "readback", hg.TF_ReadBack | hg.TF_BlitDestination, hg.TF_RGBA8)
      • When submitting the scene, target the framebuffer: hg.SubmitSceneToPipeline(view_id, scene, hg.IntRect(0, 0, 512, 512), true, pipeline, res, frame_buffer.handle)
      • The capture will be made asynchronously: frame_count_capture, view_id = hg.CaptureTexture(view_id, res, tex_color_ref, tex_readback, picture)
      • Then, only when the current frame counter is greater or equal to frame_count_capture, save the picture: hg.SavePNG(picture, "capture.png")
Misc bug fix
  • Fixed != color operator.
  • Brought back the old minmax transform to fix #​49.
  • Removed warning message ("Invalid node instance").
  • Resolve "Tutorials issues on Linux Ubuntu" (Fixed VertexLayoutPosFloatNormUInt8TexCoord0UInt8).
  • Studio related fixes
    • RBT_Static wasn't saved properly in the scene file.
    • Fixed GetAnimableNodePropertyFloat and SetAnimableNodePropertyFloat to handle the camera FOV.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency harfang to v3.2.7 Update dependency harfang to v3.2.7 - autoclosed Jun 5, 2024
@renovate renovate bot closed this Jun 5, 2024
@renovate renovate bot deleted the renovate/harfang-3.x branch June 5, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants