Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

This is the 7th part of the runtime foliage generation system we are working on our infinite world system. Here, we will be implementing object pooling pattern for multiple foliage types we have in our generated world using C++. This means, in order to keep an infinite world, as the player navigate through the world, further landscape tiles will be removed and new tiles will be added closer to the player. So, when this happens, we need to add new foliage instances of too. But in pooling pattern, instead of adding new instances, we will relocate the instances of foliage that were in removed landscape tiles in newly generated tiles. This is better for performance of the game. We have already done this in blueprint level and today we are going to do this in C++ level.

password=CLM_ToTheSpace

Project Files

Files

Previews only

Unreal Engine 5 - Runtime Foliage Generation #7 - Foliage Pooling C++

Project Files: https://www.patreon.com/posts/93870665 . This is the 7th part of the runtime foliage generation system we are working on our infinite world system. Here, we will be implementing object pooling pattern for multiple foliage types we have in our generated world using C++. This means, in order to keep an infinite world, as the player navigate through the world, further landscape tiles will be removed and new tiles will be added closer to the player. So, when this happens, we need to add new foliage instances of too. But in pooling pattern, instead of adding new instances, we will relocate the instances of foliage that were in removed landscape tiles in newly generated tiles. This is better for performance of the game. We have already done this in blueprint level and today we are going to do this in C++ level. CodeLikeMe Unreal Engine 5 Runtime terrain Generation series: https://www.youtube.com/playlist?list=PLNTm9yU0zou6B6eqrPrRjODBd2OD-BVsh Jetpack Tutorial: https://youtube.com/playlist?list=PLNTm9yU0zou48N6CwJ4EyGjmlBaHRqccr&si=bnFxS_58vt6BeZ9E ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! https://www.patreon.com/codelikeme ►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits Join this channel to get access to perks: https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q/join Like my facebook page for more content : https://www.facebook.com/gamedevelopersclub/ Follow me on twitter : https://twitter.com/CodeLikeMe2 Follow me on reddit : https://www.reddit.com/user/codelikeme #CodeLikeMe #unrealengine #ue5 #indiegamedev

Comments

halit koç

There is a problem with the download link.