Photogrammetry Importer Addon Proposal #84577
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#84577
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The proposed addon allows to import image-based reconstructions of several (state-of-the-art) Structure from Motion (SfM) and Multi-View Stereo (MVS) libraries into Blender. SfM allows to determine camera calibrations and camera motions from plain color images without manually defining feature tracks. MVS uses the reconstruction results of the SfM step to automatically compute dense point clouds and (textured) meshes.
The addon supports the following libraries:
You can find the latest release of the addon on the release page, which is compatible with Blender 3.0 onwards.
Please checkout [this github repository]] and the [ https:*blender-addon-photogrammetry-importer.readthedocs.io/en/latest/ | corresponding documentation for more information.
There are several (non-critical) Blender issues that are related to the usage of this addon:
Currently, the docstrings do not document the parameters and return values. If required I can add the corresponding documentation.
If you have any questions, problems or suggestions how to proceed, please let me know.
Best regards,
Sebastian
Added subscriber: @sbcv
Added subscriber: @rjg
The issue with
bgl.GL_DEPTH_TEST
could be the same as blender/blender#83482. Were the issues that you suspect to be in Blender already reported on our bug tracker? If yes, please link the tickets. This needs to be investigated especially if there are condition under which Blender crashes.Hi Robert, thank you for having a look.
Regarding
bgl.GL_DEPTH_TEST
I'll have another look. But (probably) it is a bug, since it works as expected under Linux, but not with Windows. The problem in this case is that the error did only appeared for large point clouds (and in a non-deterministic fashion).Here an excerpt of an e-mail conversation I had with some reporting that bug:
Do you know, if the transition of OpenGL to Vulcan has already been made? Could this potentially fix the problem? If possible I like to avoid to debug "dead" code that will be replaced anyways.
For the other problems mentioned in https://github.com/SBCV/Blender-Addon-Photogrammetry-Importer/issues/26 , I'll screen available issues, open new ones if necessary, and link them here.
@sbcv I'm more concerned about the crash that happens after deleting the object. This needs to be investigated no matter if this is a bug in Blender or the add-on. I was referring to tickets on the official Blender bug tracker. If the problem wasn't previously reported on here, then it should be, so that we have all relevant information to reproduce and fix the issue.
The transition to Vulkan is not made, the implementation still has to be done. See blender/blender#68990 for the current progress. Whether or not the switch to Vulkan would fix anything is impossible to tell without knowing where the original problem came from.
Me too, sorry for the imprecise description.
Because of the non-deterministic behaviour and the dependency of large point clouds it was difficult to create reasonable (simple) test cases. But like I said, I'll have another look.
@sbcv I see, then we've been misunderstanding each other. I have photogrammetry software and data around so if the overall steps to reproduce the problem are a bit more clear then this should be fine.
Sorry for the delay ... - I had to meet several dealines in the past few weeks.
Anyways, I've ran more tests regarding the
bgl.GL_DEPTH_TEST
related bug and I found that it is not related to the ticket that you linked earlier in this thread (i.e. blender/blender#83482.I've created a new ticket including a simple test script to to reproduce the error here: blender/blender#85709
I'll address the other issues in the next few days.
Bests,
Sebastian
Added another ticket regarding the visibility of background images here: blender/blender#85750
The problem that (large) point clouds can not be correctly represented with particle systems is discussed in this ticket: blender/blender#81103
I've investigated the crashing issue and found that they have been caused by
bpy.types.SpaceView3D.draw_handler_remove(...)
.I've added a corresponding ticket here: blender/blender#86106
As a temporary workaround, I've commented out the
bpy.types.SpaceView3D.draw_handler_remove(...)
calls in the photogrammetry addon.That means: In the latest version of the addon the deletion of the anchor objects (i.e. the Blender empties that are used to control the pose of the point cloud) does not longer remove the callbacks. However, the callbacks do not longer draw the point clouds and produce only a small overhead (since they only check if two variables are
None
).Please find the latest release of the addon here: https://github.com/SBCV/Blender-Addon-Photogrammetry-Importer/releases
I think I've addressed now all critical issues.
I would be pleased, if someone could provide some guidance how to proceed.
@sbcv We will investigate and try to fix the reported bugs. As far as I'm aware the module owner(s) will take a look at your add-on and will let you know if it will be included in Blender.
Blender Photogrammetry Importerto Photogrammetry Importer Addon ProposalAdded subscriber: @2046411367