filament icon indicating copy to clipboard operation
filament copied to clipboard

If the width of the image is not a multiple of 4, the rendering result by image_view will be skewed.

Open seker opened this issue 5 months ago • 0 comments

⚠️ Issues not using this template will be systematically closed.

Describe the bug If the width of the image is not a multiple of 4, the rendering result by image_view will be skewed.

To Reproduce Steps to reproduce the behavior:

  1. /home/ros/git/github/filament/cmake-build-debug/samples/image_viewer -a vulkan /home/ros/git/momenta/avm/resource/avm_render/texture/rvc_top_view.png

Expected behavior the rendering result by image_view will be ok.

Screenshots 截图 2024-09-29 14-22-04

Logs /home/ros/git/github/filament/cmake-build-debug/samples/image_viewer -a vulkan /home/ros/git/momenta/avm/resource/avm_render/texture/rvc_top_view.png FEngine (64 bits) created at 0x6353dcd3bbe0 (threading is enabled) Vulkan device driver: NVIDIA 550.107.02 Selected physical device 'NVIDIA GeForce MX450' from 3 physical devices. (vendor 0x10de, device 0x1f9c, driver 0x899ac080, api 1.3) Backend feature level: 3 FEngine feature level: 3 vkCreateSwapchain: 1024x640, VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR, swapchain-size=3, identity-transform=true, depth=VK_FORMAT_D32_SFLOAT_S8_UINT

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.5 LTS
  • GPU:NVIDIA Corporation TU117M [GeForce MX450]
  • Backend: Vulkan

Smartphone (please complete the following information):

  • Device: -
  • OS:-

Additional context rvc_top_view

seker avatar Sep 29 '24 06:09 seker