Download Latest Version assimp_converter-win-x86-3.2.7.zip (4.1 MB)
Email in envelope

Get an email when there's a new version of HARFANG 3D engine

Home / v3.2.6
Name Modified Size InfoDownloads / Week
Parent folder
studio-0.8.4-win64.zip 2023-06-12 34.6 MB
studio-0.8.4-win32.zip 2023-06-12 30.0 MB
studio-0.8.4-ubuntu64.zip 2023-06-12 72.6 MB
hg_lua-win-x86-3.2.6.zip 2023-06-12 25.4 MB
hg_lua-win-x64-3.2.6.zip 2023-06-12 28.8 MB
hg_lua-ubuntu-x64-3.2.6.zip 2023-06-12 34.3 MB
harfang-3.2.6-py3-none-win32.whl 2023-06-12 12.3 MB
harfang-3.2.6-py3-none-win_amd64.whl 2023-06-12 14.2 MB
gltf_importer-win-x86-3.2.6.zip 2023-06-12 2.0 MB
harfang-3.2.6-cp32-abi3-linux_x86_64.whl 2023-06-12 16.0 MB
gltf_importer-ubuntu-x64-3.2.6.zip 2023-06-12 2.2 MB
gltf_importer-win-x64-3.2.6.zip 2023-06-12 2.4 MB
gltf_exporter-ubuntu-x64-3.2.6.zip 2023-06-12 2.2 MB
gltf_exporter-win-x64-3.2.6.zip 2023-06-12 2.4 MB
gltf_exporter-win-x86-3.2.6.zip 2023-06-12 2.0 MB
fbx_converter-win-x64-3.2.6.zip 2023-06-12 5.2 MB
fbx_converter-win-x86-3.2.6.zip 2023-06-12 4.4 MB
fbx_converter-ubuntu-x64-3.2.6.zip 2023-06-12 7.8 MB
cppsdk-win-x86-3.2.6.zip 2023-06-12 25.9 MB
cppsdk-win-x64-3.2.6.zip 2023-06-12 30.7 MB
assimp_converter-win-x86-3.2.6.zip 2023-06-12 4.1 MB
cppsdk-ubuntu-x64-3.2.6.zip 2023-06-12 17.6 MB
assimp_converter-win-x64-3.2.6.zip 2023-06-12 4.6 MB
assetc-win-x86-3.2.6.zip 2023-06-12 8.0 MB
assimp_converter-ubuntu-x64-3.2.6.zip 2023-06-12 5.6 MB
assetc-win-x64-3.2.6.zip 2023-06-12 9.2 MB
assetc-ubuntu-x64-3.2.6.zip 2023-06-12 10.8 MB
README.md 2023-06-12 2.3 kB
v3.2.6 source code.tar.gz 2023-06-12 6.4 MB
v3.2.6 source code.zip 2023-06-12 7.4 MB
Totals: 30 Items   429.2 MB 0

[3.2.6] - 2023-06-05

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.
Source: README.md, updated 2023-06-12