Page 1 of 1
convert from a colored .ply to .fbx through 'Comman Line' mo
Posted: Fri Sep 05, 2014 12:35 pm
by takesoultm
Hi!
I want to convert from a colored .ply to .fbx through 'Comman Line' mode.
I have read this thread. (
viewtopic.php?t=960)
My application create a colored .ply and execute CloudCompare(CloudCompare_v2.5.6_beta_bin_x64) through 'Command Line' process.
My application is made with C++ and using ShellExecuteEx function now.
But This process pops up dialog like FBX format window - "Choose output format", Processed finished window - "Job done".
I passed the parameter like this. "-O test01.ply -M_EXPORT_FMT FBX -SAVE_MESHES"
Is it possible this process is done silently(no dialog should pop-up)?
Can you enhance the 'Command line' mode? (no pop up dialog window, setting FBX format options as parameter, etc.)
please help me..
Regards
JK
Re: convert from a colored .ply to .fbx through 'Comman Line
Posted: Fri Sep 05, 2014 1:59 pm
by daniel
Well, of course it would be possible, it's just hard to tell when ;). I'll had this to the TODO list.
Have you already tested the exportation of colored fbx files? Can you successfully open them and see the colors? (the last user couldn't get anything in Unity (and I only manage to see the colors in Blender on my side, the FBX review tool wouldn't show me the colors either).
Re: convert from a colored .ply to .fbx through 'Comman Line
Posted: Sat Sep 06, 2014 10:24 am
by takesoultm
Hi! daniel.
Thanks for your reply!
ya..I can import .fbx format with vertex color data in Unity successfully.
I appreciate your efforts.
But I can't process file conversion automatically without silent command Line Mode in your program.
So I'm faced with difficulties in my project.
How soon do you think 'Command Line' mode can be enhanced?
Do you have any idea or know another Command Line tool?
Regards
JK
Re: convert from a colored .ply to .fbx through 'Comman Line
Posted: Mon Sep 08, 2014 7:25 am
by daniel
Well, the fastest way for you would be to compile CC on your side and simply comment the part of the code where the dialog appears. Do you have the capability to do so?
Re: convert from a colored .ply to .fbx through 'Comman Line
Posted: Mon Sep 08, 2014 7:57 am
by takesoultm
If you could do that, I'd appreciate it.
I'll try. :)
Is it possible to compile with V2.5 in GitHub or clone another version?
Re: convert from a colored .ply to .fbx through 'Comman Line
Posted: Mon Sep 08, 2014 10:55 am
by daniel
Just clone the current trunk (2.5.6.beta). And you'll only need to install the FBX SDK to compile the base CC application with FBX support.
Re: convert from a colored .ply to .fbx through 'Comman Line
Posted: Mon Sep 22, 2014 7:52 pm
by daniel
Just for the records, this has finally been implemented in the official trunk:
Code: Select all
CloudCompare -M_EXPORT_FMT FBX -FBX_EXPORT_FMT FBX_Binary -O Foot.ply -NO_TIMESTAMP -SAVE_MESHES
Currently, supported FBX formats are:
- FBX_binary
- FBX_ascii
- FBX_encrypted
- FBX_6.0_binary
- FBX_6.0_ascii
- FBX_6.0_encrypted
The wiki documentation has been updated accordingly (
http://www.cloudcompare.org/doc/wiki/in ... ommandLine).
The corresponding beta version is:
(edit: link removed)