Render to file - command line

Feel free to ask any question here
vincentDenis
Posts: 10
Joined: Thu Jun 23, 2016 3:18 pm
Location: Brive-la-gaillarde

Render to file - command line

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

Re: Render to file - command line

Post 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..
Daniel, CloudCompare admin
vincentDenis
Posts: 10
Joined: Thu Jun 23, 2016 3:18 pm
Location: Brive-la-gaillarde

Re: Render to file - command line

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

Re: Render to file - command line

Post by daniel »

Weird, I'll have to check this on my side. What OS are you working with?
Daniel, CloudCompare admin
vincentDenis
Posts: 10
Joined: Thu Jun 23, 2016 3:18 pm
Location: Brive-la-gaillarde

Re: Render to file - command line

Post by vincentDenis »

Windows 7 - 64 bits - CloudCompare 2.7.0
vincentDenis
Posts: 10
Joined: Thu Jun 23, 2016 3:18 pm
Location: Brive-la-gaillarde

Re: Render to file - command line

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

Re: Render to file - command line

Post by daniel »

why the second 'cloudcompare'?
Daniel, CloudCompare admin
vincentDenis
Posts: 10
Joined: Thu Jun 23, 2016 3:18 pm
Location: Brive-la-gaillarde

Re: Render to file - command line

Post by vincentDenis »

It's a good question ^o^, end of the week .... sorry
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Render to file - command line

Post 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' ;).
Daniel, CloudCompare admin
vincentDenis
Posts: 10
Joined: Thu Jun 23, 2016 3:18 pm
Location: Brive-la-gaillarde

Re: Render to file - command line

Post 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 ....
Post Reply