Comments (6)
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.
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.
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.
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.
and i test this duck.dae in meshlab on Windows10. It can display normally.
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.
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.
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.
What I tested was duck. dae circled in red, which was gray
The
duck.dae
andduckCM.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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meshio.