virtual void setPivotPoint( const CCVector3d& P,
bool autoUpdateCameraPos = false,
bool verbose = false);
What do you mean by this function?
Can you tell me how to change the camera position? For example, (1, 5, 3) to (3, 5, 4), which I should understand better.
CloudCompare is displayed incorrectly.
Re: CloudCompare is displayed incorrectly.
Sorry, but apart from mimicking the qAnimation plugin (from what I understood) I don't know how to help you.
Especially since you are referring to modifying CloudCompare (GPL/open source) while keeping it private... That's technically legal as long as you don't distribute this modified version.
And normally it's better to make your customization into a plugin, that way you don't derive from the main CloudCompare version. This makes your project easier to maintain and CloudCompare plugins can remain private.
Especially since you are referring to modifying CloudCompare (GPL/open source) while keeping it private... That's technically legal as long as you don't distribute this modified version.
And normally it's better to make your customization into a plugin, that way you don't derive from the main CloudCompare version. This makes your project easier to maintain and CloudCompare plugins can remain private.
Daniel, CloudCompare admin
Re: CloudCompare is displayed incorrectly.
https://www.danielgm.net/cc/forum/viewt ... bec#p10055
Sorry may be that I am not clear, the content in this post is similar to what I want to do.
I’ll work harder, and I’ll ask you if you have any questions, thank you!
Sorry may be that I am not clear, the content in this post is similar to what I want to do.
I’ll work harder, and I’ll ask you if you have any questions, thank you!
Re: CloudCompare is displayed incorrectly.
So you want a fixed viewing point? So that the camera will lock itself on it?
Then you'll have to modify the ccGLWindow code directly (and make it an official option, that you would make public hopefully ;).
It would work similarly as the 'viewer based perspective' mode, but with an additional modification of the viewing direction.
Then you'll have to modify the ccGLWindow code directly (and make it an official option, that you would make public hopefully ;).
It would work similarly as the 'viewer based perspective' mode, but with an additional modification of the viewing direction.
Daniel, CloudCompare admin
Re: CloudCompare is displayed incorrectly.
Yes, I need a fixed perspective.
I needed to set different coordinates for the camera to see the point cloud.
Thank you for your reply.
I needed to set different coordinates for the camera to see the point cloud.
Thank you for your reply.
Re: CloudCompare is displayed incorrectly.
I'm so excited I set the coordinates!
But I set multiple coordinates and cc only shows the location of the last coordinate.
For example:
setCameraPos(3,5,0);
sleep(1);
setCameraPos(5,1,0);
sleep(1);
setCameraPos(10,15,5);
sleep(1);
setCameraPos(3,5,4);
So I set up the coordinates of four positions, cc only shows the last position, I was confused, I wanted him to show different camera coordinates.
But I set multiple coordinates and cc only shows the location of the last coordinate.
For example:
setCameraPos(3,5,0);
sleep(1);
setCameraPos(5,1,0);
sleep(1);
setCameraPos(10,15,5);
sleep(1);
setCameraPos(3,5,4);
So I set up the coordinates of four positions, cc only shows the last position, I was confused, I wanted him to show different camera coordinates.
Re: CloudCompare is displayed incorrectly.
refreshAll();
updateUI();
Excited!
By accident, I found these two lines of code, and my camera started to change position, not just displaying the last coordinate. Can you tell me what these two lines mean?
updateUI();
Excited!
By accident, I found these two lines of code, and my camera started to change position, not just displaying the last coordinate. Can you tell me what these two lines mean?
Re: CloudCompare is displayed incorrectly.
setCustomView()
regret!
For this function, I need to use the negative number of the coordinates, but when the coordinates are set to a certain value, it's the opposite again.
regret!
For this function, I need to use the negative number of the coordinates, but when the coordinates are set to a certain value, it's the opposite again.
Re: CloudCompare is displayed incorrectly.
Terrible!
refreshAll();
updateUI();
These two lines of functions seem to refresh the entire interface. This is not what I want. What I want is to refresh the display interface. It seems that I need to find a way again.
refreshAll();
updateUI();
These two lines of functions seem to refresh the entire interface. This is not what I want. What I want is to refresh the display interface. It seems that I need to find a way again.
Re: CloudCompare is displayed incorrectly.
Sorry, I did not find the code that only refreshes the display interface, can you tell me, thank you!