Hello!
I've recently started a UDK project - a game in which the action takes place inside a huge facility. The thing is, the scenery is mostly going to be walls, corridors and rooms.
Now I've researched on the topic quite a bit and, while there's a consensus that BSP is generally not very good for performance, no one quite knows when to use it. So what's the right way to use it?
One of the example maps that come with UDK uses BSP for floors and static meshes for everything else (walls, ceilings). I plan to do the same. The question is - am I right in doing so?
I predict my walls will mostly be flat, so will my ceilings and floors. Seems a bit weird to make them into static meshes, doesn't it? And if I really should make them into static meshes, is it better to make them open or closed meshes?
Also, how small/modular should the pieces be? I was planning on making 256x256x256 pieces but, planning to have rooms as big as 4096x4096, doesn't it seem a bit overkill to have 16x16 = 256 separate ceiling pieces for a single room (+ even more walls)?
I tried researching this topic to no avail. Maybe you guys could help me with those questions?
Replies
Regarding modular dimensions, 256 ceiling actors might sound a lot but under UE3 they'll be instanced nicely (all in the same place and the same mesh/materials/textures) and the performance hit will likely be minimal.
You only really have to consider things like that in open spaces - we didn't on a recent project and spent a LOT of time rebuilding things to use less Actors due to draw call framerate death.
This depends on what your walls, floors, and ceilings look like. With static mesh it's hard to hide seams unless the style of architecture supports it in some way. This is why the example map uses bsp for the floor.
What are the disadvantages to doing a level like that in BSP? Is the performance drop that significant when only using it for walls and such? Sorry for asking such basic questions but the UDK docs don't explain this very well IMO.
Also, do you know some good articles (besides the UDK one) about modular design in practice? Would appreciate if you did
BSP is a performance hit in that it is basically really wasteful geometry. It is essentially equivalent to a single static mesh for each face of the BSP. You could use it in the way you describe as long as you kept this in mind.
the best thing to do is to look at examples levels made by other people to get an idea of how levels are usually constructed. There's a few included with UDK and there's even more availiable on the internet if you have a look.
But where to start? I haven't come across a website with professional ready-made UDK levels yet. Where do I look?
Thanks for explaining all this stuff to me
Look on polycount
Or on the unreal tournament 3 disc?
I guess it's back for me to lurking in this forum looking through stuff people made
http://mutantspoon.com/post/7634679634/download-my-bath-house-entry-for-the-polycount