《Ray Tracing from the Ground Up》中的坐标系是怎么确定的

    xiaoxiao2021-03-25  119

    之前一直是用《Ray Tracing In One Weekend》中对应的坐标系,在转到《Ray Tracing from the Ground Up》之后总感觉坐标系是乱的(相比之前)。

    可以调节哪些参数来改变《Ray Tracing from the Ground Up》中的坐标系呢?

    可以调节的参数:up、pp.x、pp.y

    之前一直感觉坐标系是“乱”的,原来pp.x、pp.y的值都是负的。所以,现在在pp.x、pp.y的前面都加一个“负号”。

    现在坐标系好像“正常”了。

    转载请注明原文地址: https://ju.6miu.com/read-7131.html

    最新回复(0)