Blender-Addon-Photogrammetry-Importer icon indicating copy to clipboard operation
Blender-Addon-Photogrammetry-Importer copied to clipboard

Known (Blender) Issues

Open SBCV opened this issue 3 years ago • 3 comments

  • ~~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 avatar Oct 10 '20 09:10 SBCV

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 avatar Jan 08 '21 18:01 SBCV

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 avatar Jan 08 '21 18:01 SBCV

~~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 avatar Jan 08 '21 18:01 SBCV

I have tried to use BlenderAddOnPhotogrammetry Importer to open the PTS file after the successfuly importing of PLY file with color but it does not work though.

WisarutBholsithi avatar Sep 15 '22 11:09 WisarutBholsithi

Can you share a small example file for testing?

SBCV avatar Sep 15 '22 11:09 SBCV

Here is the bunny file for testing Wisarut


From: Sebastian @.> Sent: Thursday, September 15, 2022 6:12 PM To: SBCV/Blender-Addon-Photogrammetry-Importer @.> Cc: WisarutBholsithi @.>; Comment @.> Subject: Re: [SBCV/Blender-Addon-Photogrammetry-Importer] Known (Blender) Issues (#26)

Can you share a small example file for testing?

— Reply to this email directly, view it on GitHubhttps://github.com/SBCV/Blender-Addon-Photogrammetry-Importer/issues/26#issuecomment-1247954650, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN6MZXROXSXSZPGKPZNLWNLV6MAA3ANCNFSM4SK6PVVQ. You are receiving this because you commented.Message ID: @.***>

WisarutBholsithi avatar Sep 15 '22 11:09 WisarutBholsithi

Here is the bunny file for testing

Where? I think you forgot to attach it.

By the way: Can you please open a new issue, this is for Blender specific problems only!

SBCV avatar Sep 15 '22 11:09 SBCV

Well, I have to attach bun000.pts in zip file for this case though.

Wisarut


From: Sebastian @.> Sent: Thursday, September 15, 2022 6:30 PM To: SBCV/Blender-Addon-Photogrammetry-Importer @.> Cc: WisarutBholsithi @.>; Comment @.> Subject: Re: [SBCV/Blender-Addon-Photogrammetry-Importer] Known (Blender) Issues (#26)

Here is the bunny file for testing

Where? I think you forgot to attach it.

By the way: Can you please open a new issue, this is for Blender specific problems only!

— Reply to this email directly, view it on GitHubhttps://github.com/SBCV/Blender-Addon-Photogrammetry-Importer/issues/26#issuecomment-1247975629, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN6MZXVXGDKHTRP7NDRB26TV6MCEXANCNFSM4SK6PVVQ. You are receiving this because you commented.Message ID: @.***>

WisarutBholsithi avatar Sep 15 '22 11:09 WisarutBholsithi

I do not think that you can attach files to github via mail - please share a link with the file: And open a new issue please - I will delete these posts to keep the history clean.

SBCV avatar Sep 15 '22 12:09 SBCV

I'm going to do with that request. BTW, I would like know where can I deposit the PTS file so I can make a like to the file without troubles.

From what I have observed on the differences between PTS file and the ASCII version of PLY file, it is the header that make the difference as you can see here

PTStoPTLYbyUsingmeshLabasshownonBlenderSources PTStoPTLYbyUsingmeshLabasshownonBlender

Wisarut


From: Sebastian @.> Sent: Thursday, September 15, 2022 7:20 PM To: SBCV/Blender-Addon-Photogrammetry-Importer @.> Cc: WisarutBholsithi @.>; Comment @.> Subject: Re: [SBCV/Blender-Addon-Photogrammetry-Importer] Known (Blender) Issues (#26)

I don not think that you can attach files to github via mail - please share a link with the file: And open a new issue please - I will delete these posts to keep the history clean.

— Reply to this email directly, view it on GitHubhttps://github.com/SBCV/Blender-Addon-Photogrammetry-Importer/issues/26#issuecomment-1248026688, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN6MZXWJG52LPUUAJAMRXWLV6MIBZANCNFSM4SK6PVVQ. You are receiving this because you commented.Message ID: @.***>

WisarutBholsithi avatar Sep 15 '22 12:09 WisarutBholsithi

BTW, I would like know where can I deposit the PTS file so I can make a like to the file without troubles.

I think you need to use some kind of external software like Dropbox, Google Drive, ... - or you can create a new github repository with the file.

SBCV avatar Sep 16 '22 08:09 SBCV