Jump to content

WidgetSpriteViewport is very jumpy when the viewport changes


photo

Recommended Posts

Posted

Hi,

 

I am trying to use a WidgetSpriteViewport, but I am finding the results to be very jumpy.

I am trying to create binoculars that has it's own camera.

 

Setting the new camera to the main camera works fine, but when I set it to the WidgetSpriteViewport, it becomes very jumpy.

 

For testing, I am setting the main camera to the widget's camera with this: Unigine::Game::get()->getPlayer()->setCamera(spriteViewportWidget->getCamera());

You can see in the attached gif that the main camera is not jumpy, but the WidgetSpriteViewport one is.

 

Any idea why this may be? The camera's position and look direction is changing every update, but I am not modifying the widget itself.

 

Thanks,

Sam

 

post-1741-0-70626300-1465948006_thumb.gif

Posted

Thanks for responding.

 

We are moving it using physics.

Posted

Hi Sam,

 

I'm afraid this is known issue for now. We currently don't have any workaounds available. As soon as developers will find out what is causing such artifact I will surely let you know.

 

Sorry for the inconvenience caused.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

That is unfortunate.

Please let us know as soon as a fix is found as it is important to our release.

 

Thank you.

  • 3 weeks later...
Posted

Hi Sam,

 

Could you please provide a minimal test scene for that with some dummy object (material ball for example in newly created world)?

We need to check complete code that you are using for moving the object.

 

Thank you!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...