|
Post by mark on Feb 2, 2017 1:41:57 GMT
Hi all,
I've seen a few people saying that using the same object multiple times when creating a map offers better performance versus using different objects.
For example, creating a tunnel with the same exact rocks would supposedly be beneficial versus using different rocks.
Can anyone explain if, how or why this results in better performance? Does it really help performance that much?
|
|
|
Post by Valky on Feb 2, 2017 8:10:07 GMT
Hmmm... Tbh, i never heard something about that What I can say about that, is my feeling while modding or mapping. For a map I build two big balloons with the "parachute". One balloon uses up to 30 parachutes, 3 firecamps, some weapons, ammo and other stuff. Now, as soon as I copy / paste this finished balloon, the FPS drops by 2-3 FPS. In case of better performance, my first balloon drops the frames about 10 FPS, all balloons I add later, will drop the FPS about 2-3. Maybe they mean this with better performance? Theoreticaly it makes no sense, that multiple objects should incrase the performance. How should that work? The more objects, the more work for the IGE, the more FPS drops. Hmmm....
|
|
|
Post by Steve64b on Feb 2, 2017 8:38:57 GMT
Theoreticaly it makes no sense, that multiple objects should incrase the performance. How should that work? The more objects, the more work for the IGE, the more FPS drops. Hmmm.... Actually, I think mark is hinting at the fact that if you want to make a tunnel or something, you're better off making it with 10x the same object (copies) than with 10x different objects. That increasing the performance would make sense, provided the engine/renderer/GPU 'knows' that an object copy uses resources that are already loaded. And therefore just points to those resources existing in memory already, rather than loading them in again and again. In terms of improving performance, I was also thinking of (ab)using the occlusion mesh, see this video: youtu.be/Q5QISWQuSDIHowever, FC4 does not seem to have 'special' occlusion mesh objects like in the video, so you'd have to depend on using other objects like a sandbag (which load additional resources) with an occlusion mesh attached.
|
|
|
Post by Valky on Feb 2, 2017 13:40:23 GMT
Ahh ok, then it's like my balloon experience I am really missing those occlusion blocks. They were awesome...
|
|
|
Post by mark on Feb 2, 2017 21:35:19 GMT
Thanks Steve for clarifying my post. I see how my initial post was a bit confusing.
I suppose its time to do some tests and see if it is beneficial in fc4.
|
|