i would like to ask you if my logic behind generation in field of view is possible. Well im generating an entire galaxy, so about 200 bilions of stars in c++, but because thats just too much strain on memory i divided the galaxy into chunks and i would like to ask if its possible to generate only chunks that are inside my field of view including distance from camera so that i only generate a visible part of galaxy and always destroy chunks that are not in field of view. If thats not possible or its just too unnecersally complicated, could you give me some advice on how to do it in c++? And if this is possible should i do it in c++ or would it better to do it in blueprints(only if the resources cost is not too high)?
PS: sorry about my english, and if this topic doesnt belong here to this section, then im sorry for bothering you guys.