Giter Club home page Giter Club logo

Comments (17)

ponchio avatar ponchio commented on May 30, 2024 1

Ok, here is the issue: the folder /home/richard/Documents exits, you have to provide the path to a folder that does not (yep, sorry!) for example: /home/richard/Documents/tool-216

from relight.

ponchio avatar ponchio commented on May 30, 2024

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

Thanks for the clarification. I have been merging RTIs using Metashape, so if I am able to do this using Relight, it will be much better. I cannot see your email, GitHub has censored it. So I will find it online for the VCL at Pisa.

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

I cannot get relight-merge to work.

What does Rti basis for /home/richard/tool-216/photos1/chunk_2/rti/info.json is different. mean?

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

OK, I realise relight-merge only works for ptm and hsh, and not rbf.

I am getting another error now: Could not create remapped RTI directory: info.json

How do you specify an output folder?

from relight.

ponchio avatar ponchio commented on May 30, 2024

The last argument of the command line is the output folder:

relight-merge <first_ptm/info.json> <second_ptm/info.json> <output_folder>

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

I still get the same error Could not create remapped RTI directory

from relight.

ponchio avatar ponchio commented on May 30, 2024

Please write the command line here... (and then I will clarify error reporting something more informative).

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024
./relight-merge /home/richard/tool-216/photos1/chunk_1/rti/info.json /home/richard/tool-216/photos1/chunk_2/rti/info.json /home/richard/tool-216/photos1/chunk_3/rti/info.json /home/richard/tool-216/photos1/chunk_4/rti/info.json /home/richard/tool-216/photos1/chunk_5/rti/info.json /home/richard/tool-216/photos1/chunk_6/rti/info.json /home/richa
rd/tool-216/photos1/chunk_7/rti/info.json /home/richard/tool-216/photos1/chunk_8/rti/info.json /home/richard/tool-216/photos1/chunk_9/rti/info.json /home/richard/tool-216/photos1/chunk_10/rti/info.json /home/richard/Documents/

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

OK, I am getting Segmentation fault (core dumped) now and then a directory called info.json

from relight.

ponchio avatar ponchio commented on May 30, 2024

If you can send me the samples I will ingestigate the problem and fix the code. Sorry for the mess, it was just a tool for myself, but thanks for alfa-testing it :)

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

OK, what files do you need? Just the rti files, or do you need the jpgs too?

from relight.

ponchio avatar ponchio commented on May 30, 2024

Just the rti files, I will fake the jpegs, it could well be a windows related problem, but let's start with replicating functionality in my machine.

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

OK, I have sent you a link to dropbox to your gmail. Thanks for you help!

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

I generated these files using relight-cli command line:

./relight-cli /home/richard/tool-216/photos1/chunk_1/jpg /home/richard/tool-216/photos1/chunk_1/rti -n -m -b ptm -p 3

One thing I did notice is relight-cli doesn't make any files with the extension .ptm.

from relight.

ponchio avatar ponchio commented on May 30, 2024

relight-cli can generate files both in the 'legacy" formats (.ptm and .rti) if instead of a folder name as an argument you specify a .ptm filename, like this:

./relight-cli /home/richard/tool-216/photos1/chunk_1/jpg /home/richard/tool-216/photos1/chunk_1/rti.ptm -n -m -b ptm -p 3

in general, if you run a command line tool without arguments:

./relight-cli

you get a brief help.

In the meanwhile I have imporoved error management in the relight-merge tool and it now should work. (info.json in the input rti is optional).

from relight.

BeebBenjamin avatar BeebBenjamin commented on May 30, 2024

OK, I have compiled the new version and relight-merge works. I also needed to change the name of the folders to things like rti1, rti2, rti3.

from relight.

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.