Coder Social home page Coder Social logo

Comments (7)

alemuntoni avatar alemuntoni commented on June 14, 2024

Could you please share also the input model and the rasters?

from pymeshlab.

ramazanabd avatar ramazanabd commented on June 14, 2024

I attached the rasters, model and cameras.out

stairs_demo.zip

from pymeshlab.

MLucient avatar MLucient commented on June 14, 2024

Hi @alemuntoni - like many other folks, I want to join in appreciating PyMeshLab - it's a huge win for those of us trying to make ambitious reconstruction pipelines!

But also, I do want to +1 this issue; my team just started trying to port some things to PyMeshLab and we've been unable to fix this issue on our side so far. One suggestion/idea? I know that standalone Meshlab sometimes has some implicit rules about pathing/etc with respect to where it expects images/rasters to be, and I've seen a version of this issue (black/null texture) with this particular filter fixed by simply putting every resource in a single directory before doing any of the operations in MeshLab, so I wonder if something similar is happening here?

Also, if there's anything you'd like me to help test, I'd be happy to help out as well, just let me know!

from pymeshlab.

alemuntoni avatar alemuntoni commented on June 14, 2024

I am sorry that the fix of this is taking a long time, but I still didn't have time to investigate. I'll try to check this as soon as possible, but right now I am pushing for a new meshlab release.. I'll write here whenever I'll have some news.

About what is causing this trouble, I don't think that it is related to relative/absolute paths of textures... I already fixed that issue in a previous commit. I think that this is still related to the GL context, that is required by the parameterization__texturing_from_registered_rasters filter...

from pymeshlab.

alemuntoni avatar alemuntoni commented on June 14, 2024

This issue should be fixed with the last commit. The issue was actually related to the double precision of meshlab (2020.12d was producing black textures), and was affecting both import_cameras_for_active_rasters_from_file and parameterization__texturing_from_registered_rasters.

@ramazanabd @MLucient if you want to try the nightly that fixes this, you can download the artifact package produced by github actions (select the right one depending on your platform and your python version) and extract the content of the zip file in a directory called pymeshlab. Then, from outside that folder, use pymeshlab like you normally do. If you could try and check if it works fine also for you, it would be really appreciated!!

Note: as stated in #51, the output of compute_normals_for_point_sets in 2020.12d is different from the one computed with meshlab 2020.12.

from pymeshlab.

ramazanabd avatar ramazanabd commented on June 14, 2024

It works for me as well. Thanks for the fix!

from pymeshlab.

MLucient avatar MLucient commented on June 14, 2024

Yep, works for me too. Thanks @alemuntoni !

from pymeshlab.

Related Issues (20)

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.