|
本帖最后由 feitaoy 于 2009-9-24 09:41 编辑
我osggis_build,Point Model Substitution 模式编译数据,没有报错,但无法生产数据,请有经验的人士指正,谢谢。
<?xml version="1.0"?>
<project name="point_3d">
<resource type="model" name="palm">
<uri>models/lamp.3ds</uri>
</resource>
<source name="point">
<uri>data/point.shp</uri>
</source>
<terrain name="terrain">
<uri>D:/OSG/Data/GZscene/Terrain/gz.ive</uri>
</terrain>
<graph name="point">
<filter type="SubstituteModel">
<property name="model" value="'palm'"/>
<property name="model-scale" value="vec3(0.05,0.05,0.05)"/>
<property name="model-heading" value="45.0"/>
</filter>
<filter type="Collect"/>
<filter type="BuildNodes"/>
</graph>
<layer name="point_3d" source="point" type="gridded" terrain="terrain" target="out/model/points_3d111.ive">
<property name="num-rows" value="2"/>
<property name="num-cols" value="2"/>
<slice min_range="0" max_range="1e5" graph="point"/>
<property name="inline-textures" value="true"/>
<property name="localize-resources" value="false"/>
</layer>
</project>
|
|