我想增加IndexedLineSet的厚度,下面是我的代码:
geometry IndexedLineSet {
coord DEF Line Coordinate {
point [0 0 0, 0 0 0]
}
coordIndex [ 0, 1, -1 ]
}我已经尝试过lineWidth,但它不起作用,有没有其他我可以使用的属性?
谢谢。
发布于 2013-12-25 05:39:15
不幸的是,据我所知(已经很长一段时间了),如果你想使用IndexedLineSet,你不能控制厚度。IndexedLineSet没有厚度属性,外观依赖于实现。你必须有长方体,或者挤出的圆/椭圆才能得到厚度。
https://stackoverflow.com/questions/20497959
复制相似问题