Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue exporting to .U3D #666

Closed
2 of 8 tasks
an775 opened this issue May 2, 2020 · 3 comments
Closed
2 of 8 tasks

Issue exporting to .U3D #666

an775 opened this issue May 2, 2020 · 3 comments

Comments

@an775
Copy link

an775 commented May 2, 2020

Mesh.zip

Check all platforms you experienced the issue (change to [x])

  • Windows
  • Mac OS
  • Linux
  • Every platform

What type of issue is?

  • bug or unexpected behavior
  • crash
  • feature request
  • other (specify...)

Describe your issue

Hi I am unable to export to ".u3d". Only the ".tex" file is generated. I am using MeshLab v2020.03 on Windows 10.

I imported the file as ".obj" (File generated using Blender. File attached Mesh.zip ) and when I export it to ".u3d", MeshLab is showing a message "Saved Mesh C:/***/mesh.u3d in 77 msec". But I cannot find any ".u3d" file except for the ".tex file"

Note: Earlier I was using the MeshLab 2016 version. At that time the issue was missing "IDTFConverter.exe" and I fixed it by downloading the zip file from GitHub and copy-pasting the "U3D_W32" Folder in the Plugins Folder. It used to work perfectly.

Update: 03/05/2020

I tried using several methods and I found one method was successful.

I am not sure of the reason why the issue is happening, but I will share my findings.

Installing two ".dll" files provided with older MeshLab versions and "Reload All" option in the Meshlab have solved the issue. Detailed description as below.

After we install MeshLab, inside the folder "\MeshLab\plugins\U3D_W32", the only file in that is an "IDTFConverter.exe" (apart from some ".txt" files)

When I compared it with older Meshlab releases, I found some ".dll" files were also included in those downloads. These files include "IFXCore.dll" in the same folder of "IDTFConverter.exe" and an "IFXExporting.dll" which was included in a "Plugins" subfolder.

I downloaded the older version of Meshlab (MeshLab-20191210-beta) from "https://github.com/cnr-isti-vclab/meshlab/releases" page (download the source code.zip file)

From the zip file, "meshlab-7d5a377.zip\meshlab-7d5a377\src\distrib\plugins" copy paste the folder "U3D_W32" to "MeshLab\plugins" folder as per instruction #33 (comment)

Restart Meshlab and export to ".u3d" - [Both ".u3d" and ".tex" should be generated without fail]

This procedure mentioned until above solved the issue for file formats imported to MeshLab as ".COLLADA", ".PLY", ".STL", ".X3D"

For meshes imported as ".OBJ", the following procedure also was needed.

Restart MeshLab and export the mesh to ".u3d". Now only the ".tex" file is generated.

The solution to this I found was, once the ".tex" file is generated, in MeshLab go to "File>Reload All" option. Once we have done that, again Export Mesh as ".u3d" and this time the ".u3d" file should be generated

The ".tex" file should be generated atleast once before using "Reload All".

I am extremely sorry for the very long explanation. I am not a programmer at all, but I thought this information might help the developers to resolve this issue in the future releases.

Thank you...

@alemuntoni
Copy link
Member

Hi @an775, yes this helps a lot. I'm pretty busy these days, but I'll try to solve once for all this problem as soon as possible. Thanks!

@quarky42
Copy link

I'm having this problem also and will try the workaround. Thank you for sharing this while the developer is finding time to fix it. I'm not sure why the installer is that hard to fix though, considering it should just be a matter of adding a couple DLLs to the installer and generating the updated installer that isn't missing the files.

@alemuntoni
Copy link
Member

This issue should be solved on #713. You can test the u3d exporter by downloading the artifacts from the github actions tab (windows, mac, linux). The fix will be available starting from version 2020.07.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants