Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Known (Blender) Issues #26

Open
SBCV opened this issue Oct 10, 2020 · 3 comments
Open

Known (Blender) Issues #26

SBCV opened this issue Oct 10, 2020 · 3 comments

Comments

@SBCV
Copy link
Owner

SBCV commented Oct 10, 2020

  • bgl.glEnable(bgl.GL_DEPTH_TEST) is broken in Blender 2.90. Thus, the occlusion handling of point clouds in the 3D viewport with OpenGL does not work properly

  • bgl.glEnable(bgl.GL_DEPTH_TEST) causes strange artifacts under Windows. Saving images of point clouds using the photogrammetry importer panel (in the 3D view) might result in black images. Dependending on your use case consider to uncomment the corresponding line

Note: Blender is currently switching from OpenGL to Vulkan, i.e. the bgl module will be deprecated! This could resolve the current rendering issues.

EDIT: See https://developer.blender.org/T85709

EDIT: This bug has been fixed in the latest version of the addon using the new api of Blender 3.0

@SBCV
Copy link
Owner Author

SBCV commented Jan 8, 2021

The background images of the animated camera are currently only visible if viewport shading is set to wireframe, solid or material preview (i.e. it does not work for rendered). interestingly, the background images of single (non-animated) cameras are shown correctly with viewport shading set to rendered.

EDIT: See https://developer.blender.org/T85750

@SBCV
Copy link
Owner Author

SBCV commented Jan 8, 2021

Currently the addon uses something like windows/path/to/blender/python -m pip uninstall package_name to remove the dependencies of the addon. On windows it may be possible that this command does not completely remove the previously installed folders and files.

@SBCV
Copy link
Owner Author

SBCV commented Jan 8, 2021

Blender crashes when deleting point clouds drawn with OpenGL. Due to the non-deterministic appearance of this bug, it is (potentially) caused by the memory management of Blender / Python. Further investigations are necessary to identify the cause.

EDIT:
Currently, the addon can not properly delete the drawing callbacks without causing a crash in Blender. To avoid a crash, the callbacks are not removed when the corresponding point clouds are deleted. Since these callbacks are not longer drawing anything, they become very cheap and produce only a marginal overhead. A restart of Blender will remove the callbacks.

EDIT: This bug has been fixed (see https://developer.blender.org/T86106). In the latest version of the addon the drawing callbacks are correctly deleted.

@SBCV SBCV pinned this issue Jan 8, 2021
Repository owner deleted a comment from WisarutBholsithi Aug 31, 2023
Repository owner deleted a comment from WisarutBholsithi Aug 31, 2023
Repository owner deleted a comment from WisarutBholsithi Aug 31, 2023
Repository owner deleted a comment from WisarutBholsithi Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant