Igor_de Posted October 3, 2014 Share Posted October 3, 2014 Hi. I try to load nodes from C++ by World::loadNode function, but I can't view it on Screen. Here's my code Unigine::NodePtr result = Unigine::World::get()->loadNode( filename.c_str() ); But if i Run this code from keyRelease callback, node is loaded and i can see it in world. Unigine::Engine::get()->isWorldInterpreter() returns 0 in first time and 1 in second. What can I do with it? Link to comment
silent Posted October 3, 2014 Share Posted October 3, 2014 Hello, Please, check our C++ Application example in docs. There is a simple create_node() function exampe that can help in your case. 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