|
Post by buckeyetom on Jan 1, 2022 17:01:29 GMT
Hi, Really enjoying this book. After two months, I've gotten up to Chapter 9 with everything rendering fine. I'm using Swift. I've just added a Plane shape, but I am getting an artifact close to the camera. It's a lens shape. Here is a rendering with a sphere. I get the same artifact without the sphere. Any idea's where to look? Thank you.
|
|
|
Post by buckeyetom on Jan 4, 2022 18:42:58 GMT
Figured it out. I was calling the Sphere NormalAt function, not the Plane NormalAt function (0, 1, 0). Rendering just a plane looks good now. But, if I add a Sphere, now I'm getting a shadow artifact - lucky me. Few more bugs to squash. Edit: Spoke too soon. I get an artifact on Plane with no objects. Shutting off Shadow makes artifact go away. I know where to look now. Thanks for looking.
|
|
|
Post by Jamis on Jan 4, 2022 19:30:06 GMT
I'm glad you figured it out! I'm sorry I didn't respond to this sooner---I missed the notification of your first post. I'll pay closer attention!
- Jamis
|
|
|
Post by buckeyetom on Jan 5, 2022 18:14:54 GMT
Well, thank you for posting. I just got my Plane and Sphere objects to play nice with correct shadows. So, after two months, I'm starting to see results, woohoo.
|
|