Skip to content

I am using a SSH connection. How should I modify the code? #23

@whu-lee

Description

@whu-lee

I am using a SSH connection, so I not have a display to generate the images with Qt?
How should I modify the code?

If I comment self.draw_mesh(),

in viewGenerator.py
buffer = glReadPixels(0, 0, self.opts["imsize"], self.opts["imsize"], GL_RGB, GL_UNSIGNED_BYTE) im = Image.frombytes(mode="RGB", size=(self.opts["imsize"], self.opts["imsize"]), data=buffer)
This im will become all 0 !
Kindly let me know how to resolve this problem.

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