Jump to content

Player position on rendering window/viewport resize.


photo

Recommended Posts

Posted

What steps should be performed to keep the viewport position preserved after window resize. My current implementation is clipping the rendering on the right as visible in attached screenshot.

post-2589-0-51803000-1496831124_thumb.png

Posted

Hi Silent,

Hears an attachment with the sample code.

 

 

In the sample I have not get/set the render target view, but the code explains what I am doing exactly.

UniTestApp.zip

Posted

Ankush,

 

Is it possible to build and run it with 2013 studio? Right now after switching to v120 toolset I have immediate crash after start (using the Debug-Double build configuration).

Unhandled exception at 0x00007FF8AC390A4E (Unigine_x64d.dll) in UniTestApp.exe: 0xC0000005:
Access violation reading location 0xFFFFFFFFFFFFFFFF.

crash.png

 

Thanks!

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

Posted
Hi Ankush,

 

We have managed to run your sample, but can't see how it illustrates the problem.

When it runs we see a window, so what we should do next? Please make a sample that exactly represent your problem.

 

post-2817-0-76971300-1497421286_thumb.png

×
×
  • Create New...