3D给人真实、立体的感觉,渲染时消耗显存大,并且质量高时,对显存频率、核心频率等要求也不少,3D比2D的要求高很多。
2D是面,虽然感觉不真实,不立体,但是消耗的显存小,质量高也没多大的要求,需求电脑的性能和3D比那就低多了。
有些低端3D游戏因为纹理材质方面,看起来很简陋,但是也比2D消耗得多,因此,硬件不是很高端的情况下,3D并不能体现出真实的优势。
加入正方形宽高为100px,
ul li:nth-child(1){background-color: red
transform: translate(-100px) rotateY(90deg)
}
ul li:nth-child(2){
background-color: blue
transform: translate(100px) rotateY(90deg)
}
ul li:nth-child(3){
background-color: orange
transform: translateZ(100px)
}
ul li:nth-child(4){
background-color: green
transform: translateZ(-100px)
}
ul li:nth-child(5){
background-color: black
transform: translateY(100px) rotateX(90deg)
}
ul li:nth-child(6){
background-color: chocolate
transform: translateY(-100px) rotateX(90deg)
}
空间想象力要好,最开始所有面都重合在一起,要一个个移到指定位置形成个立方体