POVRay 不显示差异背后的对象
POVRay doesn't show object behind difference
我有一个 POVRayfile which creates this cone using Mesh2:
我想把它切下来一块,这样我就可以看到里面了。为此,我使用了与这 3 个框的交集:
union {
box { <0,0,0> <-100,-100,100>
texture {
pigment {
color
<1,0,0>
}
}
}
box {<0,0,0> <100,-100,100>
texture {
pigment {
color
<1,0,0>
}
}
}
box { <0,0,0> <-100,100,100>
texture {
pigment {
color
<1,0,0>
}
}
}
}
然后看起来像这样 (file):
我想去掉的部分是"gone",但它不透明。我如何让 POV-Ray 看到圆锥体?
十字路口不适合这个。它们旨在切割成实体(从而创建新的表面)。
你必须使用 "clipped_by" 属性。此处有更多详细信息:
我有一个 POVRayfile which creates this cone using Mesh2:
我想把它切下来一块,这样我就可以看到里面了。为此,我使用了与这 3 个框的交集:
union {
box { <0,0,0> <-100,-100,100>
texture {
pigment {
color
<1,0,0>
}
}
}
box {<0,0,0> <100,-100,100>
texture {
pigment {
color
<1,0,0>
}
}
}
box { <0,0,0> <-100,100,100>
texture {
pigment {
color
<1,0,0>
}
}
}
}
然后看起来像这样 (file):
我想去掉的部分是"gone",但它不透明。我如何让 POV-Ray 看到圆锥体?
十字路口不适合这个。它们旨在切割成实体(从而创建新的表面)。
你必须使用 "clipped_by" 属性。此处有更多详细信息: