Page 1 of 1

Difficulties when using the camera.

Posted: Thu Jun 10, 2021 8:34 am
by suyufeng
invalidateViewport();
invalidateVisualization();
deprecate3DLayer();

When I was sorting out the code, after seeing a lot of setcameraposs, I entered these three codes, and I couldn't understand what these three codes do. I have seen your comment, but I don't understand what it does.

Re: Difficulties when using the camera.

Posted: Thu Jun 10, 2021 3:18 pm
by daniel
It tells CC to recompute these various matrices / information the next time it will render the 3D view.

Re: Difficulties when using the camera.

Posted: Fri Jun 11, 2021 6:56 am
by suyufeng
Thank you for your answer