renato.semadeni Posted May 4, 2016 Share Posted May 4, 2016 Hi there I'm migrating our application to Version 2.2.1. And facing some problems in the newer approach to render custom made frustums. We used the method renderViewport and passed different projection and modelview matrices to adjust the frustum to the players position in front of the screen. Now, I see that you removed this call and create some new classes, such as WidgetSpriteViewport. I don't see right now how to start to get our old functionality back. Could you please give me a hint, how to start? Kind regards, Renato Link to comment
silent Posted May 4, 2016 Share Posted May 4, 2016 Hi Renato, For now you can use Viewport class together with Camera to render the image: https://developer.unigine.com/en/docs/2.2.1/api/library/rendering/class.viewport Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts