2013-12-10 49 views
0

我想在这里增加IndexedLineSet厚度是我的代码:VRML IndexedLineSet厚度

geometry IndexedLineSet { 
    coord DEF Line Coordinate { 
     point [0 0 0, 0 0 0] 
    } 
    coordIndex [ 0, 1, -1 ] 
} 

我已经试过的lineWidth,但它不工作是否有任何其他的属性可以使用吗?

谢谢。

回答

2

不幸的是,据我所知(它已经很长一段时间),如果你想使用IndexedLineSet你不能控制厚度。 IndexedLineSet没有厚度属性,外观与实现有关。你必须有盒子,或挤压圆/椭圆来获得厚度。