Giter Club home page Giter Club logo

Comments (6)

asmaloney avatar asmaloney commented on May 25, 2024

This sounds like a CloudCompare issue. All this plugin is responsible for is loading the geometry & passing it to CloudCompare which is then responsible for displaying/manipulating it.

It's very hard to tell from this, but it looks like maybe the object is still there (that gray dot in the middle), but the bounding box is huge? Or maybe the geometry collapsed into a singularity?

I'm on macOS, but I'll see if I can reproduce it.

I think your best bet is to create an issue in the CloudCompare repo as well. Someone over there might have some insight.

from meshio.

asmaloney avatar asmaloney commented on May 25, 2024

I have not been able to reproduce this on macOS, but I'm only set up to build the latest, not the older versions.

Perhaps it's a Windows-only thing? Or an older CC issue?

Can you attach that .dae file to the issue? I have the duck, but I want to make sure it's the same version you're using (e.g. mine's colour, so it's getting textured properly).

from meshio.

zyx-99 avatar zyx-99 commented on May 25, 2024

I have not been able to reproduce this on macOS, but I'm only set up to build the latest, not the older versions.

Perhaps it's a Windows-only thing? Or an older CC issue?

Can you attach that .dae file to the issue? I have the duck, but I want to make sure it's the same version you're using (e.g. mine's colour, so it's getting textured properly).

Hello, I use cloudcompare 2.11.3 assess 5.0.1 and run it on Ubuntu 18.04. The test data is from the test set
assimp-5.0.1/test/models/Collada that comes with assert.
image
What I tested was duck. dae circled in red, which was gray and disappeared after clicking. But the duck in the blue box can be displayed yellow color after I unzip it.Is it because the texture image is not loaded normally? When I uncheck texture, duck. dae becomes a green normal model without texture.
image
image

and i test this duck.dae in meshlab on Windows10. It can display normally.
image

sorry i'm really new in 3Dmodels.Is this because duck.dae can't find the correct texture map file in Ubuntu or cloudcompare, so it loads other gray textures? However, after duck.zae is unzipped, the yellow duck can be successfully loaded.

from meshio.

asmaloney avatar asmaloney commented on May 25, 2024

What I tested was duck. dae circled in red, which was gray

The duck.dae and duckCM.tga files go together. If it fails to find the image, you should see a warning in the console:

[09:58:48] [MeshIO] Material not found: '/<path>/./duckCM.tga'

If the file is there and fails it to load the image, it seems to fail silently. Not sure where the problem lies with this yet.

With a corrupted TGA (to mimic not being able to load it), I end up with the opposite problem you have: the model is invisible until I move the camera.

I'll see if there's anything reasonable I can do if the texture doesn't load properly.

However, after duck.zae is unzipped, the yellow duck can be successfully loaded.

This is because it uses a PNG instead of a TGA.

In the meantime my suggestions would be (1) use a more recent version of CloudCompare & this plugin and (2) avoid TGA files πŸ˜†

from meshio.

asmaloney avatar asmaloney commented on May 25, 2024

I have added an error if a texture file cannot be read properly (corrupted or unknown format).

In your case, my guess is that the Qt you are using doesn't know how to read TGA files.

from meshio.

zyx-99 avatar zyx-99 commented on May 25, 2024

What I tested was duck. dae circled in red, which was gray

The duck.dae and duckCM.tga files go together. If it fails to find the image, you should see a warning in the console:

[09:58:48] [MeshIO] Material not found: '/<path>/./duckCM.tga'

If the file is there and fails it to load the image, it seems to fail silently. Not sure where the problem lies with this yet.

With a corrupted TGA (to mimic not being able to load it), I end up with the opposite problem you have: the model is invisible until I move the camera.

I'll see if there's anything reasonable I can do if the texture doesn't load properly.

However, after duck.zae is unzipped, the yellow duck can be successfully loaded.

This is because it uses a PNG instead of a TGA.

In the meantime my suggestions would be (1) use a more recent version of CloudCompare & this plugin and (2) avoid TGA files πŸ˜†

I got it. Thanks for your reply!

from meshio.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.