Open liumingqian opened 5 years ago
Hi there, sorry for the very late reply.
It should be due to the off-screen reflection rendering. During this phase the camera's pitch is first inverted, then reverted again.
Actually i'm not actively supporting this repository, it was made mainly for fun and i have not much time available for working on it...
This is part of value i printed,I print as follows in "camera.h":
They are shaking between positive and negative while the camera position is settled. "invertPitch()" every frame made me failed when i get viewMatrix from camera and try to make some ray intersection operations.I personally think that it would be good to add another interface or datastruct to solve this problem.
Any help or explaination would be appreciate! Plus I like this program very much(thumb up)