【发布时间】:2015-09-13 11:07:30
【问题描述】:
我是 x3d 的新手,不知道如何在 x3d 中创建像图片一样的平坦区域?
以下是点的坐标:
2360,1746,2246,1746,2139,1746,2139,1611,1923,1611,1923,2053,2246,2053,2246,1984,2371,1984,2371,2053,2462,2053,2462,1993,2496, 1993,2496,2053,2555,2053,2556,1746
有人可以帮我吗?
哪种方式更好:挤压或面集或索引面集?
谢谢。
更新:
我试过了
<shape>
<appearance alphaclipthreshold="0.1" sorttype="auto">
<material specularcolor="0,0,0" shininess="0.2" emissivecolor="0,0,0" ambientintensity="0.2" diffusecolor="1 1 0.94" transparency="0"></material>
</appearance>
<indexedfaceset>
<coordinate point="2360 1746 2246 1746 2139 1746 2139 1611 1923 1611 1923 2053 2246 2053 2246 1984 2371 1984 2371 2053 2462 2053 2462 1993 2496 1993 2496 2053 2555 2053 2556 1746"></coordinate>
</indexedfaceset>
</shape>
还有这个:
<Shape>
<Appearance alphaClipThreshold="0.1" sortType="auto">
<Material ambientIntensity="0.2" shininess="0.2" transparency="0.0" emissiveColor="#000000" specularColor="#2A2A2A" diffuseColor="#3F7EBD"></Material>
</Appearance>
<Extrusion scale="1,1" orientation="0,0,0,0" height="0.1" crossSection="2360,1746,2246,1746,2139,1746,2139,1611,1923,1611,1923,2053,2246,2053,2246,1984,2371,1984,2371,2053,2462,2053,2462,1993,2496,1993,2496,2053,2555,2053,2556,1746"></Extrusion> </Shape>
结果要么是空白的,要么是一些看起来很随意的图片。
有什么想法吗?
【问题讨论】:
-
这不是代码编写服务。试一试,说出您尝试过的方法、问题所在、您如何尝试解决这些问题等。请至少发布一些您为绘制此图而编写的代码。
-
嗨,好的,谢谢。您能否编辑问题并将其放在那里?它会让它更清晰。另外,您尝试过的方法有什么问题?
-
结果要么是空白的,要么是一些看起来很随意的图片。有什么想法吗?
-
我不知道,从未使用过您提到的软件/编程语言。我只是在帮助您格式化问题,以便引起可能知道答案的人的注意;)祝您好运。