tag:blogger.com,1999:blog-5295746446529817470.post2446186333508681868..comments2023-05-09T16:29:24.130+02:00Comments on Dotnet by Example: Using a HoloLens scanned room inside your HoloLens appJoost van Schaikhttp://www.blogger.com/profile/02182444268071162776noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-5295746446529817470.post-22106330115895034632019-04-26T19:17:20.047+02:002019-04-26T19:17:20.047+02:00Thank you so much Joost! This is exactly the solut...Thank you so much Joost! This is exactly the solution I was looking for. Brilliant.<br />- kotavykotavyhttps://www.blogger.com/profile/15732067543625848655noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-10962229647303443112019-04-12T11:26:13.940+02:002019-04-12T11:26:13.940+02:00Hi Unknown,
What you need to do is use at least t...Hi Unknown,<br /><br />What you need to do is use at least two anchors - one as an origin and one as a direction point. Both those points need to be known inside the mesh. Then you can move both origin points together and rotate towards the second pointJoost van Schaikhttps://www.blogger.com/profile/02182444268071162776noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-49108338186044824972019-04-08T20:56:53.196+02:002019-04-08T20:56:53.196+02:00Ok, so I have a scan of my room created while runn...Ok, so I have a scan of my room created while running a Unity application and adding empty anchors objects at runtime in key locations (e.g. corners, on a table, etc.). I can then bring the mesh into Unity and place objects relative to the space, but how do I make sure those objects align to the anchors? Is there a way to load up the app for the second time with new objects pinned to old anchors?<br /><br />Thank you!kotavyhttps://www.blogger.com/profile/15732067543625848655noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-19276858062061134262019-03-20T01:03:54.965+01:002019-03-20T01:03:54.965+01:00Yes. I am afraid that is the caseYes. I am afraid that is the caseJoost van Schaikhttps://www.blogger.com/profile/02182444268071162776noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-85982939604261951772019-03-14T11:57:42.668+01:002019-03-14T11:57:42.668+01:00>>>“Using a scanned room can NOT be used ...>>>“Using a scanned room can NOT be used to generate anchors off-site. I have tried that road before, and it does not work”<br />Do you mean that it is NOT possible to define the relative position of an object to a scanned 'SpacitialMap' of the room within Unity editor. The creation of the world anchor has to be done in the runtime?Anonymoushttps://www.blogger.com/profile/12587161882797251268noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-55046349689944344162018-03-14T16:15:18.383+01:002018-03-14T16:15:18.383+01:00I am not really using an anchor in this sample. Wh...I am not really using an anchor in this sample. What you need to do is:<br />* Place all objects so they are in the right place<br />* Create anchors for either all objects, or place the objects inside an empty gameobject and anchor that<br />* Wait a little - the anchor will get more detailed in time<br />* Store the anchor in local storage<br />* Next time, when the app starts, you can retrieve the anchor(s) and apply them to the objects<br /><br />Using a scanned room can NOT be used to generate anchors off-site. I have tried that road before, and it does not workJoost van Schaikhttps://www.blogger.com/profile/02182444268071162776noreply@blogger.comtag:blogger.com,1999:blog-5295746446529817470.post-84069906429225546062018-03-09T18:34:08.738+01:002018-03-09T18:34:08.738+01:00Hi
can you give me more explanation of the posit...Hi <br /><br />can you give me more explanation of the position of your anchor ! <br />I try to achieve a showroom for a client but the anchor are relative of the starting position and orientation of the hololens. <br /><br />I want to place my holograms in unity and when i start my application, the holograms are in place wherever i start my application<br /><br />Thank you Anonymoushttps://www.blogger.com/profile/04066042110521367149noreply@blogger.com