Amerio.Stephane Posted November 16, 2021 Posted November 16, 2021 Hello, I have a very heavy grass object which I need to tune for performance. So in the Editor, I display the FPS counter and various profiler statistics. But the FPS value displayed drops dramatically when the grass object's Parameters tab is displayed (I drop from 60fps to 45fps). Is this expected? Is there any way to mitigate this drop? Thanks!
thomalex Posted November 16, 2021 Posted November 16, 2021 Hello, You probably have the Object Wireframe helper enabled, is it the case? Thanks.
Amerio.Stephane Posted November 16, 2021 Author Posted November 16, 2021 No, wireframe is disabled. Only helpers are FPS and ViewCube. RenderingDebug is off too. Engine is 2.14.1.1
Amerio.Stephane Posted November 16, 2021 Author Posted November 16, 2021 This also happens with ObjectMeshClutter. Strangely, it looks like it's triggered by the Surface Material section. When it's collapsed, the FPS goes back to normal. When it's expanded, the FPS drops significantly. Even more strange, if it's expanded, but not visible on screen, then the fps is normal. Could this be due to the Sphere sample?
silent Posted November 17, 2021 Posted November 17, 2021 Hi Stephane, Current Parameters window implementation is quite heavy, so it can affect overall editor / rendering performance in many cases. We didn't have chance to do a proper debugging yet, but we will see what we can do with it next year. Right now we will try to reproduce your use-case and file it to our internal bug tracker. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
silent Posted November 17, 2021 Posted November 17, 2021 Btw, in 2.15 you should be able to hide material preview, I think it should help a bit. After hiding it no longer affects the performance. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts