将 Zbrush collada 模型导入 Xcode 6.2 时出现问题
Problems importing a Zbrush collada model into Xcode 6.2
Google 未返回任何结果。
该模型是从 Zbrush 创建和导出的,是专有的,我不能 post 它。
我第一次加载文件时没有错误。我退出 Xcode 刷新了派生数据目录,现在出现此错误。
file:///.file/id=6571367.132290036: warning: File Consistency Issue:
Line 0: Found 2 elements with the same ID "dogtest_"
然后我运行
xmllint --noout --schema http://www.khronos.org/files/collada_schema_1_4_1.xsd dogtest.dae
它returns
dogtest.dae:154: element node: Schemas validity error : Element
'{http://www.collada.org/2005/11/COLLADASchema}node', attribute 'id':
'dogtest_' is not a valid value of the atomic type 'xs:ID'.
dogtest.dae fails to validate
第 154 行是关于一个节点
<node id="dogtest_" name="dogtest_" type="NODE">
<translate sid="translate">0 0 0</translate>
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
<scale sid="scale">1 1 1</scale>
<instance_geometry url="#dogtest_">
<bind_material>
<technique_common>
<instance_material symbol="dogtest__blinnSG" target="#dogtest__blinn">
<bind_vertex_input semantic="TEX0" input_semantic="TEXCOORD" input_set="0"/>
</instance_material>
</technique_common>
</bind_material>
</instance_geometry>
</node>
有人以前见过这个错误吗?
已修复,请阅读 xml 架构。我很确定这是 Zbrush 中的一个错误。
是
<node id="dogtest_" name="dogtest_" type="NODE">
是
<node id="MYdogtest_" name="dogtest_" type="NODE">
现在验证
xmllint --noout --schema http://www.khronos.org/files/collada_schema_1_4_1.xsd dogtest.dae
dogtest.dae validates
Google 未返回任何结果。
该模型是从 Zbrush 创建和导出的,是专有的,我不能 post 它。
我第一次加载文件时没有错误。我退出 Xcode 刷新了派生数据目录,现在出现此错误。
file:///.file/id=6571367.132290036: warning: File Consistency Issue: Line 0: Found 2 elements with the same ID "dogtest_"
然后我运行
xmllint --noout --schema http://www.khronos.org/files/collada_schema_1_4_1.xsd dogtest.dae
它returns
dogtest.dae:154: element node: Schemas validity error : Element '{http://www.collada.org/2005/11/COLLADASchema}node', attribute 'id': 'dogtest_' is not a valid value of the atomic type 'xs:ID'. dogtest.dae fails to validate
第 154 行是关于一个节点
<node id="dogtest_" name="dogtest_" type="NODE">
<translate sid="translate">0 0 0</translate>
<rotate sid="rotateZ">0 0 1 0</rotate>
<rotate sid="rotateY">0 1 0 0</rotate>
<rotate sid="rotateX">1 0 0 0</rotate>
<scale sid="scale">1 1 1</scale>
<instance_geometry url="#dogtest_">
<bind_material>
<technique_common>
<instance_material symbol="dogtest__blinnSG" target="#dogtest__blinn">
<bind_vertex_input semantic="TEX0" input_semantic="TEXCOORD" input_set="0"/>
</instance_material>
</technique_common>
</bind_material>
</instance_geometry>
</node>
有人以前见过这个错误吗?
已修复,请阅读 xml 架构。我很确定这是 Zbrush 中的一个错误。
是
<node id="dogtest_" name="dogtest_" type="NODE">
是
<node id="MYdogtest_" name="dogtest_" type="NODE">
现在验证
xmllint --noout --schema http://www.khronos.org/files/collada_schema_1_4_1.xsd dogtest.dae
dogtest.dae validates