Skip to content

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

Open

Description

⚠️ 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions