- Unreal Development Kit Game Design Cookbook
- Thomas Mooney
- 354字
- 2021-08-20 15:41:18
Building a hollow room
You may have noticed there are more BSP brush creation options than we've discussed. A useful one is to create a hollow BSP with a preset thickness. This allows us to quickly create interiors.
How to do it...
- Start a new scene and right click the BSP cube brush icon [
] and set it to something like
512 x 512 x 512
and set the Wall Thickness setting to 64. - Click on the tick box for Hollow. If for some reason you can't find your brush in the scene click the Go To Builder Brush icon on the left-hand side of the editor.
- Press CSG Add [
] or Ctrl + A.
- Turn on Unlit mode (so you can see inside the hollow box) by pressing Alt + 3.
- Drive the camera inside the geometry.
- Hold down L and click on a surface inside the box. Drag the resulting light up a bit, so it lights the scene well. Turn on Lit mode by pressing Alt + 4.
Placing imagery on BSP geometry
- Let's assign a Material to the geometry. Select a surface of one of the wall surfaces visible in the perspective viewport and right click and choose Select Surfaces | Adjacent Walls.
- Now go to the Content Browser (Ctrl + Shift + F) and filter Materials. Highlight one that would look nice for a wall and right-click in the perspective viewport and choose Apply Material. You will see the name of the Material in question there. When you choose this the geometry should acquire that Material.
- For the as yet untextured geometry, right-click over it and choose Select Surfaces | Matching Texture. Highlight another Material in the Browser then right-click in the viewport and choose Apply Material as before. The next screenshot is an example of surface selection using a hollow cube.
- Besides selecting matching textures, you can also select adjacent surfaces such as walls, floors, and ceilings. In particular, notice that at the bottom of the list is a Memorize Set command (Shift + M) and related recall and combining commands that allow custom surface control.
推薦閱讀
- 現(xiàn)代測控系統(tǒng)典型應(yīng)用實例
- 錯覺:AI 如何通過數(shù)據(jù)挖掘誤導(dǎo)我們
- 并行數(shù)據(jù)挖掘及性能優(yōu)化:關(guān)聯(lián)規(guī)則與數(shù)據(jù)相關(guān)性分析
- 輕松學(xué)Java
- STM32G4入門與電機控制實戰(zhàn):基于X-CUBE-MCSDK的無刷直流電機與永磁同步電機控制實現(xiàn)
- 視覺檢測技術(shù)及智能計算
- AWS Administration Cookbook
- 統(tǒng)計策略搜索強化學(xué)習(xí)方法及應(yīng)用
- 高維聚類知識發(fā)現(xiàn)關(guān)鍵技術(shù)研究及應(yīng)用
- 計算機網(wǎng)絡(luò)原理與技術(shù)
- Implementing AWS:Design,Build,and Manage your Infrastructure
- 水下無線傳感器網(wǎng)絡(luò)的通信與決策技術(shù)
- R Machine Learning Projects
- EJB JPA數(shù)據(jù)庫持久層開發(fā)實踐詳解
- Hands-On Generative Adversarial Networks with Keras