Closed bring728 closed 2 years ago
The viewing direction is the same as long the ray. The same viewing direction also produces the same basis value.
Our code is not focusing on performance. feel free to improve it.
i See. Thank you for answer. I was wondering if there might be another reason.
All 3d points along one ray have the same viewing direction. So when rendering, isn't it enough to input only one viewing direction rather than input all duplicate viewing directions into the basis function?
Below is the result I checked by myself. out2 is the basis function value.
As you can see, all 32 values have the same value of 0.1176. Since the input is the same, the output is of course the same. My question is, do I really need to waste network memory? Instead of having 32 inputs, isn't it enough to have just 1 input?