convert from a colored .ply to .fbx through 'Comman Line' mo

Feel free to ask any question here
Post Reply
takesoultm
Posts: 3
Joined: Fri Sep 05, 2014 11:20 am

convert from a colored .ply to .fbx through 'Comman Line' mo

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

Re: convert from a colored .ply to .fbx through 'Comman Line

Post 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).
Daniel, CloudCompare admin
takesoultm
Posts: 3
Joined: Fri Sep 05, 2014 11:20 am

Re: convert from a colored .ply to .fbx through 'Comman Line

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

Re: convert from a colored .ply to .fbx through 'Comman Line

Post 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?
Daniel, CloudCompare admin
takesoultm
Posts: 3
Joined: Fri Sep 05, 2014 11:20 am

Re: convert from a colored .ply to .fbx through 'Comman Line

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

Re: convert from a colored .ply to .fbx through 'Comman Line

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

Re: convert from a colored .ply to .fbx through 'Comman Line

Post 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)
Daniel, CloudCompare admin
Post Reply