Difficulties when using the camera.

Feel free to ask any question here
Post Reply
suyufeng
Posts: 47
Joined: Wed May 26, 2021 7:04 am

Difficulties when using the camera.

Post 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.
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Difficulties when using the camera.

Post by daniel »

It tells CC to recompute these various matrices / information the next time it will render the 3D view.
Daniel, CloudCompare admin
suyufeng
Posts: 47
Joined: Wed May 26, 2021 7:04 am

Re: Difficulties when using the camera.

Post by suyufeng »

Thank you for your answer
Post Reply