ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have narrowed down the problem to these two lines:

render_texture->removeAllViewports(); render_texture->addViewport(viewport->getCamera());

inside this function:

SelectionManager::renderAndUnpack

I have narrowed down the problem to these two lines:

render_texture->removeAllViewports(); render_texture->addViewport(viewport->getCamera());

inside this function:

SelectionManager::renderAndUnpack


I tried these two alternatives (separately), but they did not change anything: viewport->getCamera()->setAspectRatio(0.4); viewport->getCamera()->setAutoAspectRatio(false);

I have narrowed down the problem to these two lines:

render_texture->removeAllViewports(); render_texture->addViewport(viewport->getCamera());

inside this function:

SelectionManager::renderAndUnpack


I tried these two alternatives (separately), but they did not change anything: viewport->getCamera()->setAspectRatio(0.4); anything:
viewport->getCamera()->setAspectRatio(0.4);
viewport->getCamera()->setAutoAspectRatio(false);