LocalJoost / BlogComments

This repo is solely used for comments on https://localjoost.github.io/
4 stars 0 forks source link

Comments on "Cross-platform spatial QR code tracking for HoloLens 2 and Magic Leap 2 with a ServiceFramework Service, part 1" #473

Open LocalJoost opened 1 month ago

LocalJoost commented 1 month ago

Original article: https://localjoost.github.io/Cross-platform-spatial-QR-code-tracking-for-HoloLens-2-and-Magic-Leap-2-with-a-ServiceFramework-Service,-part-1/

DivinorWieldor commented 6 days ago

Hi Joost, awesome article! This has helped me jumpstart my little project immensely. This is my first time using the QR aspect of the hololens, so having this detailed (and up to date!) reference is great.

I had a quick question to confirm things: while a QR is scanned and a model is placed on top of this QR, it also seems like the model does not persist when the QR is taken away. This is intended behavior, right?

One workaround that comes to mind is having a script run on the spawned prefab, which itself spawns the actual model. However, I also need to benefit from subsequent scans to increase the accuracy of the QR position/orientation tracking (the model is going to be fairly large). Would this make sense, or is there a more sensible method to approaching this problem?

Thanks!

LocalJoost commented 6 days ago

Hi @DivinorWieldor, thanks for the praise! Indeed, the removal of the model is intended behavior. You could simply change that by modifying the RemoveUntrackedMarkers behaviour to never delete markers. It will then always update them. I think that would be the easiest solution

DivinorWieldor commented 6 days ago

Thanks @LocalJoost for your quick reply. Your suggestion is definitely a better approach than what I had in mind. I missed RemoveUntrackedMarkers when going through your post, thanks for pointing it out!

Thanks again for your help!

LocalJoost commented 6 days ago

@DivinorWieldor you are welcome and have fun!