Search the Community
Showing results for tags '2.8'.
-
Hello, during migration of some materials i did observe that some parameters names vanished/changed. One particular is "volume_scale", am I right it is "soft_interaction_scale" now? Are there any other names that have changed? Thanks
-
Enabled / Disable auxiliary state performance.
sebastian.vesenmayer posted a topic in C++ Programming
Hello, we did observe that when we are changing the material of an ObjectMeshStatic, it will lose its auxiliary state information during runtime. We are using the aux buffer for outlining objects, but changing the material will disable the outlining. We did a workarround for this and did restoring the auxiliary state when the material changes. We did a profile run and did observe: restoring the auxiliary state takes always a lot of time until the function will return. So every time a material changes on an object the application halts for a noticeable time. Do you have a simple solution for that, that does not cost any extra ressources and time on CPU/GPU side? We are on 2.8 Unigine version using opengl. Thanks a lot. -
Hi, since we are using the new version 2.8 of the engine, we observed that the new .cache_textures folder is growing fast. I had over 250000 files in there today and it is ongoing poluting our customers installation. It seems like every time, we are loading ressources from our file system, new cache files will be generated with different hashes but never deleted. We would like an option to disable the creation of cached textures. Regards Sebastian
-
Hi, we have migrated to 2.8 version of the engine and I have some questions about some changes. Our start up time increased noticeable. Is there a connection with the data streaming setup and cache? Is it possible to disable unloading of streamed textures which where already loaded? Streaming from HDD is really slow, is a SSD mandatory for your engine now ? Is it possible to force resource upload into VRAM? We are observing many spikes when moving the camera arround in the microprofiler when textures are not loaded and view direction moves again to highpoly/material count area. Thanks in advance for your help. Regards Sebastian
-
Hi, we want to migrate from 2.7 to 2.8 to keep our code base up to date. We did replace all the API changes, but our application cannot initalize the Engine anymore. From the debugger I can see, that it never returns from the AsyncGPUThread::run method. Our product is already using QOpenGLWidget which needs compatibility context of OpenGL for QWidget composition to render alpha blended widgets on top. Context version is 4.6. We are managing OpenGL contexts by ourself, because we also need to support legacy libs, which use immediate opengl code. The Unigine Engine runs in own QThread to keep our user interface responsive. The current code works perfectly with 2.6 and 2.7 version of the engine. In the attachment are some log files and console output of our application. Thanks in advance for your help. Regards, Sebastian Our Code: m_renderContext = renderContext; //Own render context interface, implements shared QOpenGLContext context 4.6 compatibility context m_renderContext->bind(); //Create/get unigine app combined with different windows m_ungineAppHandle = std::make_unique<CustomUnigineApp>(); //Custom App derive from Unigine App interface, implements basic inputs m_ungineAppHandle->setWidth(1920);// just initialize things, windows size will be changed later m_ungineAppHandle->setHeight(1080); switch (renderContext->api()) { case RenderContext::Api::Opengl: m_ungineAppHandle->initGL(m_ungineAppHandle->getGLContext());// copied from qml example, getGLContext returns null but this line must somehow be important, not overridden break; default: return; } const char *args[] = { "-data_path", profileFolder.c_str(), "-engine_config", "ig.cfg" }; //Initialize the unigine engine with with arguments, version and app handle, assuming the function will never actually modify args m_engine = Unigine::Engine::init(UNIGINE_VERSION, m_ungineAppHandle.get(), 4, const_cast<char**>(args)); //The Application never returns from this function, worked in version 2.7.3 Console output 2.8: <ourApplication.cpp (197)>: OpenGL Version: 4.6 <ourApplication.cpp (484)>: ourApplication has established all core connections <ourApplication.cpp (537)>: ourApplication has received all data Loading "opengl32.dll"... OpenGL 4.5 initialization GLExt::init(): async_context wglCreateContextAttribsARB(): failed Loading "data/ig.cfg"... Config::getInt(): can't find "show_fps" int item in config Using config file "data/ig.cfg" ---- Plugins ---- ---- Application ---- Loading "openal32.dll"... video_restart log_2.8.html log_2.7.html