habitat-sim icon indicating copy to clipboard operation
habitat-sim copied to clipboard

Render Screen Error while using examples/viewer.py

Open harshitsankhla opened this issue 1 year ago • 1 comments

Habitat-Sim version

main

🐛 Bug

On running the examples/viewer.py script -

RenderTarget::Impl::blitRgbaTo(): target framebuffer has a size of Vector(1600, 1200) but expected Vector(800, 600)

Steps to Reproduce

Steps to reproduce the behavior:

  1. Normal conda install
  2. Run this from the habitat-sim directory

Additional context

./build/viewer works perfectly fine, issue is only with the python script

Tried changing the height and width in the python arguments to 1600,1200, but then the error pops up again saying

RenderTarget::Impl::blitRgbaTo(): target framebuffer has a size of Vector(3200, 2400) but expected Vector(1600, 1200)

System Info

Platform: macOS-13.4.1-arm64-arm-64bit Machine: arm64 Processor: arm Libc version:
Mac version: 13.4.1 Python version: 3.9.17 Architecture: 64bit Win version:
System OS: Darwin Release: 22.5.0 Version: Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:23 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6020 Operational System: darwin GCC version: b'Apple clang version 14.0.3 (clang-1403.0.22.14.1)\n' CMAKE version: b'cmake version 3.26.4\n' NVIDIA-SMI: b'' Pip packages versions: b'imageio-ffmpeg==0.4.8\nmatplotlib==3.7.2\nnumba==0.57.1\nnumpy-quaternion==2022.4.3\ntqdm==4.65.0\n'

System Info

Machine - MACBOOK M2 PRO

harshitsankhla avatar Jul 14 '23 06:07 harshitsankhla

Hey @harshitsankhla Does the default viewer work if you don't try to override the width/height form the terminal?

aclegg3 avatar Aug 11 '23 16:08 aclegg3