Skip to content

The GUI overwrites my sceneconfig.txt #4

@MarilynKeller

Description

@MarilynKeller

Hi,

I created a copy of run_dtu.py to create the configuration files for my own dataset. among the changes, I specify a SceneRotation of (0,0,0), while for the DTU dataset it is set to (-120,0,0).

After running run_mydata.py, the configuration files all look ok, sceneconfig.txt contains SceneReferenceFrame#SceneRotation vec3 0.0 0.0 0.0. I then launch the GUI with ./Release/ProbeSDF, load my sceneconfig.txt. But the cameras appear tilted, and when I open sceneconfig.txt, I see it as been overwritten with SceneReferenceFrame#SceneRotation vec3 -120.000000 0.000000 0.000000. The whole file gets overwritten so the other fields too.

I could not identify at what point it gets overwritten as it does not seem consistent. Once I even managed to load the cameras without that rotation but idk how it happened.

My cameras are positioned at the corners of an axis aligned cuboid. Once loaded they appear rotated:

Image

If I run python ./scripts/run_mydata.py ./Release pathto/mydata -run_ours then it works fine, the 120 deg rotation is not applied and the reconstruction seems to work. But then I can't visualize real time.

Any idea what is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions