游戏开发论坛

 找回密码
 立即注册
搜索
查看: 2087|回复: 6

tile-base Terrain

[复制链接]

17

主题

31

帖子

31

积分

注册会员

Rank: 2

积分
31
发表于 2004-11-30 21:25:00 | 显示全部楼层 |阅读模式
Dear all:
   The warcraft3 is using the tile-base terrain. or another war.
i can't understand it. please tell me.
ttom

15

主题

1268

帖子

1268

积分

金牌会员

Rank: 6Rank: 6

积分
1268
发表于 2004-12-1 07:30:00 | 显示全部楼层

Re:tile-base Terrain

就是方块地形阿

17

主题

31

帖子

31

积分

注册会员

Rank: 2

积分
31
 楼主| 发表于 2004-12-2 09:05:00 | 显示全部楼层

Re: tile-base Terrain

u say is right, but when u do that u will change the RenderState all the time , that is will slow the speed.
ttom

63

主题

871

帖子

891

积分

高级会员

Rank: 4

积分
891
QQ
发表于 2004-12-2 19:33:00 | 显示全部楼层

Re:tile-base Terrain

应该用的是tile-base地形,,不然的话地表之间的过度不会那么精确

在渲染地形之前应该做了TILE的剔除

然后对可见的贴图做了SORT,,以减少STATE的切换

63

主题

871

帖子

891

积分

高级会员

Rank: 4

积分
891
QQ
发表于 2004-12-2 19:36:00 | 显示全部楼层

Re:tile-base Terrain

应该是 tile-base pattern 有高度数据

用重用的tile片可以提高vb的性能

速度还是可以的

17

主题

31

帖子

31

积分

注册会员

Rank: 2

积分
31
 楼主| 发表于 2004-12-3 09:37:00 | 显示全部楼层

Re: tile-base Terrain

Dear all:
   thanks to replay this question. but the if u have the 100 node to change the Renderstate, that is will slow the speed.

63

主题

871

帖子

891

积分

高级会员

Rank: 4

积分
891
QQ
发表于 2004-12-3 11:10:00 | 显示全部楼层

Re: tile-base Terrain

我想地表上state的变化应该主要是texture的不停绑定

在一个屏幕中的地表细节应该不会太多

如果实在不行,,就把一组地表贴图放到一个稍大点的贴图上去

一次性绑定,,然后用改纹理坐标的方式

不过那样会。。。。。。呵呵呵 [em22]
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-23 13:21

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表