kevin Posted June 24, 2015 Share Posted June 24, 2015 I'm trying to render a typical image to the screen (in screen space). It seems like Unigine::Texture::render2D is designed for this, but I haven't been able to see anything rendered on the view. I've also made sure to enable the Ffp and set it's ortho/transform. Is there anything else required in using render2D? Edit: I think maybe the right way to do this is with the Unigine::WidgetCanvas class? Testing it soon and I'll post my results. Thanks, Kevin Link to comment
unclebob Posted June 25, 2015 Share Posted June 25, 2015 Hi there, Kevin! Please use Unigine::TextureRender class for texture rendering (https://developer.unigine.com/en/docs/1.0/cpp_api/reference/api_texturerender_class). Also, you can take a look at <SDK root>/source/plugins/App/AppOculus plugin for TextureRender usage code. Link to comment
kevin Posted June 26, 2015 Author Share Posted June 26, 2015 Perfect, that did it. Thanks! Link to comment
Recommended Posts