cinetec_tech Posted June 18, 2017 Share Posted June 18, 2017 hi. thanks for the new render callback feature in 2.5. it could be very useful. but currently i found some issue to use it. 1:from the sample. in order to use this feature, you need create a new viewport, and this make visualizer disabled. 2:if you opened another viewports in the editor, your callback will be disabled for that viewport. it's hard to make a global callback and affecting every viewports. Link to comment
grmmvv Posted June 20, 2017 Share Posted June 20, 2017 Hi, from the sample. in order to use this feature, you need create a new viewport, and this make visualizer disabled Try to use flag SKIP_VISUALIZER with setSkipFlags method: https://developer.unigine.com/en/docs/2.5/api/library/rendering/class.viewport#SKIP_VISUALIZER https://developer.unigine.com/en/docs/2.5/api/library/rendering/class.viewport#setSkipFlags_int_void if you opened another viewports in the editor, your callback will be disabled for that viewport. it's hard to make a global callback and affecting every viewports Could you describe more details about what you want to achieve and which version of editor did you use? Link to comment
Recommended Posts