Page 1 of 2
Render to file - command line
Posted: Fri Jun 24, 2016 6:24 am
by vincentDenis
Hi Daniel,
First thank you for the software, it is really powerfull!!
I have a question, i explain my need :
I want to compare multiple point clouds to the other one automatically. To do that i use command line (because point clouds have always the same names)
My process is : import 1st point clouds -> decimate -> import 2nd PC -> decimate -> Compare 1 to 2 -> RENDER TO FILE -> export
And i don't know if the render to file command exist .. can you help me?
Thank you
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:14 am
by daniel
You mean 'render the display to an image file'? If yes, it's not possible as the command line has no OpenGL window..
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:23 am
by vincentDenis
Ah ok, I said as CloudCompare is open to me, it was enough to use option Display-Render to file ... ok
I have an other trouble. My files are LAZ format, and at the import (-o XXX.laz -GLOBAL_SHIFT AUTO) i have some error message :
[load] Can't guess file format no file extension
If i click 3 times on ok, a windows Open LAS file come, i have to click on Apply to all. And CloudCompare start import.
And i have the same problem with the second point clouds. Do i have to change my point clouds format?
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:28 am
by daniel
Weird, I'll have to check this on my side. What OS are you working with?
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:32 am
by vincentDenis
Windows 7 - 64 bits - CloudCompare 2.7.0
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:39 am
by vincentDenis
Ok wait daniel, it's not LAZ format who causing problems!
Because if i load bin files (export from CloudCompare) i have the same message.
Maybe my code is not good : "C:\Program Files\CloudCompare\cloudcompare" cloudcompare -o 01.bin -o 02.bin -c2c_dist
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:44 am
by daniel
why the second 'cloudcompare'?
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:49 am
by vincentDenis
It's a good question ^o^, end of the week .... sorry
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:51 am
by daniel
So you were not starting the command line mode in fact (CC was simply trying to load a file named 'cloudcompare', then another file named '-o' and eventually a file named 'XXX.laz' ;).
Re: Render to file - command line
Posted: Fri Jun 24, 2016 7:57 am
by vincentDenis
OOokk, i understand why it's not possible to create a render !! OMG, Luckily you're here !!
I'm very sorry for the disturbs ....