Closed wfpokorny closed 6 years ago
New version of test cases where both prism ends are visible to the camera given the discovery here:
There is two issues, separate:
Let us add a third normals issue to this github issue...
In the attached image we should not see the red interior texture at all, but we do on the text object sides.
For the text object, It might be fixed with
https://github.com/LeForgeron/povray/commit/2595932240ea8caa99b2a9c610c8af9d90ff0558
(yep, it is !)
Thanks Jérôme. Now that you mention it I do remember your version of POV-Ray getting this fix... I did it in my pull request as an afterthought to the performance changes which where my primary interest.
Closing.
Ran all the tests again plus additional text cases to look at the normal changes there and all is fixed with e7aac79.
For anyone picking up these tests again note a few stacked ring orthographic camera ones are noisy at the edges. Further there have been change from say v370 to v380 - the ambient default for example which affects the test case results herein.
The issue is that the normal for the prism bezier spline is reversed from all other spline uses in both lathes and prisms. See the attached tarball for the README, test cases, some pre-rendered.
PrismBezierNormalFlipped.tar.gz