官术网_书友最值得收藏!

Texture sizes

Using textures for heightmap information does have limitations. The largest "safe" size for a texture is considered 4096 x 4096 although some of the older 3D cards would have problems with anything higher than 2048 x 2048. Also, host 3D engines often require texture dimensions to be a power of 2. A table of recommended dimensions for images follow:

512 x 512 provides efficient trade-off between resolution and performance and is the default value for GROME operations.

If you're familiar with this already then great, you might see questions posted on forums about texture corruption or materials not looking correct. Sometimes these problems are the result of not conforming to this arrangement. Also, you'll see these numbers crop up a few times in GROME's drop-down property boxes. To avoid any potential problems it is wise to ensure any textures you use in your projects conform to these specifications. One exception is Unreal Development Kit (UDK) in which you'll see numbers such as 257 x 257 used, we'll discuss this in Chapter 7, Exporting to Unity, UDK, and Ogre 3D.

If you have a huge amount of terrain data that you need to import for a project you can use the texture formats mentioned earlier but I recommend using RAW formats if possible. If your project is based on real-world topography then importing DTED or GeoTIFF data will extract geographical information such as latitude, longitude, and number of arc seconds represented by the terrain.

Tip

Digital Terrain Elevation Data (DTED)

A file format used by geographers and mappers to map the height of a terrain. Often used to import real-world topography into flight simulations. Shuttle Radar Topography Mission (SRTM) data is easily obtained and converted.

主站蜘蛛池模板: 综艺| 云安县| 商洛市| 诸城市| 德惠市| 金阳县| 漳平市| 电白县| 城口县| 浙江省| 上犹县| 金昌市| 亚东县| 隆林| 桐城市| 桐庐县| 乌兰察布市| 桐梓县| 色达县| 马尔康县| 武隆县| 蓝山县| 宝丰县| 武邑县| 鸡西市| 乌什县| 贵德县| 漯河市| 肥乡县| 眉山市| 安陆市| 延寿县| 武清区| 长宁县| 奉贤区| 盈江县| 泰顺县| 新竹市| 米林县| 公安县| 呼伦贝尔市|