Skip to content

Blank Canvas (Unflushed Rendering) of PlantGL from L-Py animate() #58

@deltayoung

Description

@deltayoung

I would like to report a rendering issue that appears since the migration of L-py / PlantGL libraries from Python 2 to Python 3.

From third-party program, OpenAlea.lpy.lsystem.animate() will open PlantGL Viewer to show animation of an L-system in Python 2 without problem.

However, if I run animate() in Python 3, it results in a blank canvas on PlantGL Viewer. I can only display the last frame of the animation if I put some input line such as "input()" or "raw_input()" following the animate() that seems to flush the rendering to show the last frame onto the blank canvas.

I tried to locate the implementation of lsystem.animate() in openalea Github repo to fix it on my end but could not find it. Kindly help. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions