Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以告诉我如何使用 POVRay 纹理执行以下操作...
//PseudoCode texture { pigment { if(y mod 5 == 0) { color rgb 0 } else { color rgb 1 } } }
即 - 我想获得等值线
为什么不使用简单的渐变?
pigment { gradient y color_map { [0.0 color rgb 0] [0.8 color rgb 0] [0.8 color rgb 1] [1.0 color rgb 1] } scale 5 }