Search the Community
Showing results for tags 'optimization'.
-
optimization [SOLVED] Progressive increase of frame time for no reason
len4ikuz posted a topic in Rendering
After starting the world as build frame time slowly increasing causing fps drop from 140 to 60 and even 30. Microprofiler info doesn't show a thing that could cause that. The only thing it shows that every render aspect just takes more time every frame e.g. render of opacity object at 1 frame took 1.5ms and 1.95ms at 490. There's no issue with fps in editor. PC specs: - Xeon2689v2 - 32gb DDR3 RAM - RX5700XT Latest microprofiler info added. 1dfdc25a968796f163efdfdacd7445f41a60cb7d.html -
Cpu bottleneck in Unigine::Node::setTransform()
sebastian.vesenmayer posted a topic in C++ Programming
Hello, we are running into a cpu bottleneck while updating matrices via setTransform on nodes. We do have 50 instances with about 20 subtransformations for each node, which will be updated every frame. Is there a faster/better way to update positions/orientations. Version is 2.8 , renderer is directx. Thank you for your help.- 11 replies
-
- bottleneck
- node
-
(and 5 more)
Tagged with:
-
We currently have a scene which contains over 700 trees, in 10 varieties. Each tree has two levels of detail, the highest level consists of 2,500 tri's, while the lowest level has around 1k tri's. We have been placing the trees manually to ensure that they appear in the correct locations. Regarding CPU/GPU performance, is this the most efficient way to place vegetation, or would it be more suitable to use a mask within 'MeshClutter' to achieve a more stable frame-rate. Is there anything else that could be implemented to achieve a more stable frame-rate? Thanks
- 3 replies
-
- Vegetation
- Foliage
-
(and 5 more)
Tagged with:
-
I have some suggestions for ObjectWater performance optimization. Actually, even highly-optimized Oil Rush game should greatly benefit of those changes cause users would appreciate FPS increase in naval scenes. 1. When water is not visible - hide it It sounds weird but that is a fact: water object in scene eats 10-15% FPS regardless of visibility and occlusion queries. Disabling dynamic reflection can be used instead of hiding whole object - it have the same performance impact. In our project we use simple 2d height map and some kind of checks for view frustum intersection with zero-level zones and reflection is disabled if there are no such intersections. Even this clumsy implementation gives great result - 70 FPS instead of 60 on islands and continents that is ~16% increase. Conclusion: improved visibility queries are needed for water-less locations. 2. Improve LOD usage for reflection (distance checks for reflected objects, skip terrain detail maps, etc.) I made a lot of tests and it seems like reflection uses lower (closer) LODs than regular view. I.e. in lake scene (screens below) disabling reflection for tree branches and clutter objects improved FPS by 10% and decreased overall polycount by 100k (!!) with no picture changes. After spending a day tweaking all models I finally was able to choose which LODs are reflectable and which are not, achieving significant FPS boost. Profiler screenshots are attached. Here we have improvement from 42 to 50 fps that means about 20% with no visual changes and with 216k polygon improvement. Also terrain reflection is rendered using material textures while it can just use coarse diffuse maps with exactly the same result. Conclusion: water reflection can be tweaked to skip clutter/distant objects and terrain detail maps. 3. Implement simplified pseudo-dynamic reflection Dynamic water reflections are great but if user's hardware is relatively weak we have almost no fallback - static reflections looked ugly for me until I found that we can grab an environment cube map from current location and assign it to reflection texture slot. It is not as precise and should be re-calculated with camera position change but it is much cheaper. In above sample static reflection is not 100% realistic but it 'reflects' all objects on the coast and gives 21% FPS boost. Unfortunately, grabbing environment 3d maps is really slow so we can't use that system in production, but I'm pretty sure it is possible to use some kind of data from previous frame buffer for simple 2d reflection map. Conclusion: cheap 'mirror' reflection would greatly increase performance on low-end hardware. -- WBR, Alexei
- 1 reply
-
- water
- reflection
-
(and 1 more)
Tagged with: