Merge meshes with JPG textures

Feel free to ask any question here
Post Reply
ATSimon
Posts: 2
Joined: Fri May 22, 2015 8:28 pm

Merge meshes with JPG textures

Post by ATSimon »

Hi Daniel,

I've a similar problem that Kelly : viewtopic.php?f=9&t=1254&sid=7099e28284 ... 02b2ba1f1d

I have downloaded your latest 2.6.2 beta version but I still have the similar problem.
When I'm merging my 2 objects, the mesh result is correct but the texture is not properly applied.

Like Kelly, I put my 2 obj files in a zip.

http://firestorage.com/download/0c95ffc ... d02bab1faa
password: coussin

Thank you very much for you help.

Simon
daniel
Site Admin
Posts: 7607
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Merge meshes with JPG textures

Post by daniel »

Indeed, in your case both meshes have the same material name but with different texture files (this was overlooked by CC).

This is fixed now. You'll find the beta version here:
http://www.cloudcompare.org/release/Clo ... in_x64.zip

Thanks for the feedback!
Daniel, CloudCompare admin
ATSimon
Posts: 2
Joined: Fri May 22, 2015 8:28 pm

Re: Merge meshes with JPG textures

Post by ATSimon »

Thanks a lot for your fast answer.
Works like a charm!
frohoman
Posts: 2
Joined: Wed Sep 16, 2015 3:12 pm

Re: Merge meshes with JPG textures

Post by frohoman »

I am having the same problem. I downloaded the latest version of CC but it still persists. I merged my two obj files and saved it as a bin file. This displays properly but if I save it to a new .obj file the texture is is incorrect. Any help would be appreciated as I am a very new CC user.
Thanks Apollo
daniel
Site Admin
Posts: 7607
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Merge meshes with JPG textures

Post by daniel »

With the 2.6.2 beta version? Can you send me your files then?
Daniel, CloudCompare admin
frohoman
Posts: 2
Joined: Wed Sep 16, 2015 3:12 pm

Re: Merge meshes with JPG textures

Post by frohoman »

Sorry for the delayed response. What is the best way to get the files to you. Would Google drive work for you.
Apollo
daniel
Site Admin
Posts: 7607
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Merge meshes with JPG textures

Post by daniel »

Yes it's perfect. You can send me a link to a shared file to 'cloudcompare[at]danielgm.net' (replace the [at] by @).
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7607
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Merge meshes with JPG textures

Post by daniel »

For the records: the issue was due to the fact that two textures had the same filename (but they were originally loaded from different folders). Once saved together in the same folder (next to the OBJ file), one was overwritten by the other.

CC will now be more cautious ;). The latest online beta version (2.6.2) has been updated.
Daniel, CloudCompare admin
Post Reply