主题:<村落> 继续更新
<村落>继续更新
我的最新作...
场景中有700多个对象.我采用直接的视锥剔除和划分八叉树后的视锥剔除2种发现.直接剔除的效果还要好很多!
没有碰撞检测..
对象存储格式是.xml如下
<?xml version="1.0" encoding="UTF-8" ?>
<AppConfig>
<ScenceInfo Heigth="5132" Width="5132" Length="5132" />
<TerrainInfo MapPath=".//Map/Map.raw" MapPatchWidth="2053" MapPatchHeigth="2053" X_ZScale="2.5" YScale="0.7"/>
<OpenMusic> 1 </OpenMusic>
<MusicFilePath> .//Music//caomiaocun.wav </MusicFilePath>
<MemPollIniSize> 2048 </MemPollIniSize>
<MaxLevel> 10 </MaxLevel>
<BoundBoxVector>
<BoundBox>
<Rotate AxisX_Z="0" AxisY_Z="0" AxisX_Y="0" />
<BaseAxis BaseX="0" BaseY="30" BaseZ="0"/>
<BoundInfo Hight="33" Width="40" Length="28" />
<ModelPath>./Models/3DS/Tree.3ds</ModelPath>
</BoundBox>
................
...................
</BoundBoxVector>
</AppConfig>
terrain采用CLOD 5*5 3级LOD...
[img]http://bbs.66rpg.com/upload_program/files/ViewShot6_84640363.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot5_84640324.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot4_84640292.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot3_84640222.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot2_84640171.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot1_84640144.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot6_84638702.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot5_84638496.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot3_84638358.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot1_84637899.jpg[/img]
我的最新作...
场景中有700多个对象.我采用直接的视锥剔除和划分八叉树后的视锥剔除2种发现.直接剔除的效果还要好很多!
没有碰撞检测..
对象存储格式是.xml如下
<?xml version="1.0" encoding="UTF-8" ?>
<AppConfig>
<ScenceInfo Heigth="5132" Width="5132" Length="5132" />
<TerrainInfo MapPath=".//Map/Map.raw" MapPatchWidth="2053" MapPatchHeigth="2053" X_ZScale="2.5" YScale="0.7"/>
<OpenMusic> 1 </OpenMusic>
<MusicFilePath> .//Music//caomiaocun.wav </MusicFilePath>
<MemPollIniSize> 2048 </MemPollIniSize>
<MaxLevel> 10 </MaxLevel>
<BoundBoxVector>
<BoundBox>
<Rotate AxisX_Z="0" AxisY_Z="0" AxisX_Y="0" />
<BaseAxis BaseX="0" BaseY="30" BaseZ="0"/>
<BoundInfo Hight="33" Width="40" Length="28" />
<ModelPath>./Models/3DS/Tree.3ds</ModelPath>
</BoundBox>
................
...................
</BoundBoxVector>
</AppConfig>
terrain采用CLOD 5*5 3级LOD...
[img]http://bbs.66rpg.com/upload_program/files/ViewShot6_84640363.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot5_84640324.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot4_84640292.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot3_84640222.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot2_84640171.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/ViewShot1_84640144.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot6_84638702.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot5_84638496.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot3_84638358.jpg[/img]
[img]http://bbs.66rpg.com/upload_program/files/LightShot1_84637899.jpg[/img]