How to (optimally) generate a lot of books for a library
Hi, I'm relatively new to UE4, and I've been having a hard time trying to optimize a blueprint. I've been trying to create a blueprint that lets me generate a lot of books along a spline with a random material, rotation, and scale to help me populate a library. I got it to work, but now I'm facing the problem that I need a lot of books and I'm afraid that this isn't optimized enough. Instead of generating as a static mesh, I'm generating them as Instanced Static Mesh components, but I've read that this doesn't do much for reducing draw calls.
I guess my question is, how do I optimize my blueprint so that I don't accidentally crash a computer? I'm attaching a screenshot of my blueprint (sorry that its so small and messy), a screenshot of what it does, and a screen shot of the shelves that i need to fill.... !
I'd appreciate any advice!
asked Apr 09 '16 at 01:20 AM in Blueprint Scripting
In my opinion your blueprint looks great and you're doing the right thing.
In terms of the large scale library, you could fake randomize things by just having 3 or 4 large sections of shelves that are placed randomly, as opposed to do every single books. You would pre generate those in your preferred 3D modeller. You could do that where the user can't see too closely.
Not every book has to be uniquely placed. You could also reuse the same shelf row at various locations.
Hope this helps.
answered Apr 09 '16 at 01:45 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here