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 中有一个由两个 3 维向量定义的框对象。V1 指定框的左上角,而 V2 指定框的右下角。盒子的一侧是 jpeg。我试图弄清楚当相机位置发生变化时如何旋转盒子,以便带有jpeg的盒子的一侧始终垂直于相机的位置。“看”向量将保持不变。
您可以设置适用于盒子和相机的变换。
#declare your_box= box{V1,V2,pigment{*etc.* }} #declare some_transform=transform{*rotate translate, etc.*} #object{your_box transform{some_transform} } camera{*settings that point it perfectly at your box* transform{some_transform}}