kevin Posted June 24, 2015 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
unclebob Posted June 25, 2015 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.
Recommended Posts