zhong.qiu_fa Posted June 15, 2017 Share Posted June 15, 2017 Hi: I can't find any C++ api rewriting image to viewPort(screen), can you give some advise? thanks. Link to comment
sebastianbah Posted June 16, 2017 Share Posted June 16, 2017 Hi, If I understand you correctly, you want to customize the texture in the main viewport. If it's so, please, check Render/GBufferRead and Render/GbufferWrite samples from C++ API chapter in SDK. Also Render/TextureRender sample may be helpful. Also, you can find additional info in docs here. Thanks! Link to comment
zhong.qiu_fa Posted June 21, 2017 Author Share Posted June 21, 2017 Hi sebastianbah, Sorry for the late reply. You are right, I want to customize the texture in the main viewport. Thanks for your guidance. I encountered oculus initial failed problem when test by the Render/GbufferWrite samples in unigine sdk 2.5, but oculus is normal in sdk 2.4.1. What's the problem when using oculus in sdk 2.5, Oculus isn't Latest version? Best regards! Link to comment
zhong.qiu_fa Posted June 21, 2017 Author Share Posted June 21, 2017 Hi sebastianbah, The invoke interface( int Viewport::addCallback) doesn't work when I test Render/GbufferWrite samples by HTC VIVE. It workes normal when test in vs2015. Whether I need do any more work? The normal image is . The abnormal image is Best Regards! Link to comment
silent Posted June 26, 2017 Share Posted June 26, 2017 Hi Zhong,Please, don't hesitate to contact our Chinese support team directly via china-support@unigine.com.This sample is not designed to be working with AppOculus / AppVive, you can check the sources. In order to modify Oculus / Vive texture you need to get that textures first. It's possible only with the sources of App* plugins that are not available in Evaluation kits.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
zhong.qiu_fa Posted June 27, 2017 Author Share Posted June 27, 2017 Hi silent, Thanks for your answer. I am not only modify the model texture but also modify the viewport texture by camera picture. I want to achieve the effect of Mixed Reality in oculus/htc. I will contact Chinese support team. Best Regards! Link to comment
Recommended Posts