<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Aligning VR Scene Origin on the Fly (Varjo XR-3 + SteamVR) in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13609332#M12</link>
    <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;We regularly conduct both weekly and on-demand VR reviews within our company. In almost every session, we encounter some form of alignment issue. Our setup includes a Varjo XR-3 headset tracked via SteamVR with base stations.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Before each review, we re-do the room setup using the SteamVR app and activate the "Override Origin and Direction" feature in Varjo Base. For some reason, this seems to improve the results. Sometimes everything works on the first try, but often we need to repeat the process multiple times to get it right.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;The main issue is this:&lt;/STRONG&gt;&lt;BR /&gt;The origin point of the VR world randomly shifts to a different—and completely unrelated—position. Occasionally, it also tilts. This causes the vehicle in the scene to appear floating in the air, sunken into the ground, or angled incorrectly. We’re not sure if this issue stems from the hardware, SteamVR, or VRED itself, but it's something we experience frequently.&lt;/P&gt;&lt;P class=""&gt;During internal reviews, we can pause and manually re-align the floor if needed. However, this becomes a significant problem during executive reviews or when hosting important guests.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Our goal is to find a way to re-align the origin dynamically, without interrupting the session.&lt;/STRONG&gt;&lt;BR /&gt;We initially considered using Varjo Markers to anchor objects in the real world and hoped to align the entire scene's "root" node to a marker. Unfortunately, it seems the "root" node in VRED cannot be moved directly.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I’ve searched the forum and found some discussions around aligning physical bucks to VR scenes, but nothing directly applicable to our situation.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Is there any practical way to achieve real-time re-alignment of the scene origin?&lt;BR /&gt;We also have access to Vive Trackers. Would it be possible to track a Vive Tracker or Varjo Marker and use a Python script to apply its transformation to the scene origin dynamically?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Any insights or suggestions would be greatly appreciated.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Many thanks,&lt;BR /&gt;&lt;STRONG&gt;Emre&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 May 2025 14:35:48 GMT</pubDate>
    <dc:creator>emre_ergene4YJKG</dc:creator>
    <dc:date>2025-05-01T14:35:48Z</dc:date>
    <item>
      <title>Aligning VR Scene Origin on the Fly (Varjo XR-3 + SteamVR)</title>
      <link>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13609332#M12</link>
      <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;We regularly conduct both weekly and on-demand VR reviews within our company. In almost every session, we encounter some form of alignment issue. Our setup includes a Varjo XR-3 headset tracked via SteamVR with base stations.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Before each review, we re-do the room setup using the SteamVR app and activate the "Override Origin and Direction" feature in Varjo Base. For some reason, this seems to improve the results. Sometimes everything works on the first try, but often we need to repeat the process multiple times to get it right.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;The main issue is this:&lt;/STRONG&gt;&lt;BR /&gt;The origin point of the VR world randomly shifts to a different—and completely unrelated—position. Occasionally, it also tilts. This causes the vehicle in the scene to appear floating in the air, sunken into the ground, or angled incorrectly. We’re not sure if this issue stems from the hardware, SteamVR, or VRED itself, but it's something we experience frequently.&lt;/P&gt;&lt;P class=""&gt;During internal reviews, we can pause and manually re-align the floor if needed. However, this becomes a significant problem during executive reviews or when hosting important guests.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;Our goal is to find a way to re-align the origin dynamically, without interrupting the session.&lt;/STRONG&gt;&lt;BR /&gt;We initially considered using Varjo Markers to anchor objects in the real world and hoped to align the entire scene's "root" node to a marker. Unfortunately, it seems the "root" node in VRED cannot be moved directly.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I’ve searched the forum and found some discussions around aligning physical bucks to VR scenes, but nothing directly applicable to our situation.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Is there any practical way to achieve real-time re-alignment of the scene origin?&lt;BR /&gt;We also have access to Vive Trackers. Would it be possible to track a Vive Tracker or Varjo Marker and use a Python script to apply its transformation to the scene origin dynamically?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Any insights or suggestions would be greatly appreciated.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Many thanks,&lt;BR /&gt;&lt;STRONG&gt;Emre&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 14:35:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13609332#M12</guid>
      <dc:creator>emre_ergene4YJKG</dc:creator>
      <dc:date>2025-05-01T14:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning VR Scene Origin on the Fly (Varjo XR-3 + SteamVR)</title>
      <link>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13613099#M13</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15372204"&gt;@emre_ergene4YJKG&lt;/a&gt;, to reset&amp;nbsp; the HMD position all the time, i added this code to a script that i use to start the XR session.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;# once started the XR session the current camera is the HMD camera
currentCam = vrCameraService.getActiveCamera()

# reset the camera position to the world "zero"
currentCam.setTranslation(QVector3D(0,0,0))
currentCam.setRotationAsEuler(QVector3D(90,0,0))&lt;/LI-CODE&gt;
&lt;P&gt;You can always use the 0,0,0 position for an always working behavior, or you can put your position if you want to start in your custom position.&lt;/P&gt;
&lt;P&gt;You can create a variant set to start the XR session and set the position.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;vrOSGWidget.setDisplayMode(vrOSGWidget.VR_DISPLAY_VARJO)
# your custom code for the XR session settings
#########
# reset the camera position to the world "zero"
currentCam = vrCameraService.getActiveCamera()
currentCam.setTranslation(QVector3D(0,0,0))
currentCam.setRotationAsEuler(QVector3D(90,0,0))&lt;/LI-CODE&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Sun, 04 May 2025 15:45:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13613099#M13</guid>
      <dc:creator>Christian_Garimberti</dc:creator>
      <dc:date>2025-05-04T15:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning VR Scene Origin on the Fly (Varjo XR-3 + SteamVR)</title>
      <link>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13626036#M14</link>
      <description>&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for you reply. I can see what you are suggesting is nice when the active camera in the scene controlled by the headset is not perfectly on the origin point and with some rotation. For example if you accidentally click on the viewport and suddenly the object is flying in the air. Using the code you have written is putting the camera back to the right place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the main problem we are having is the misalignment between the Steam VR positioning system and VRED. If there is an issue with the system, if it is giving VRED the wrong real world coordinates then resetting the camera position and orientation does not help. Sometimes we setup everything carefully but just before the presentation or review I can clearly see the model jumping to another position or height. Resetting the camera does not help in this case. That is why we are trying to use a real world object / reference point for the re-alignment. So even a if there is an offset with the real world and tracked world, we can reset the world coordinate system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We could somehow manage doing this by using a Vive tracker, combining all the geometry under one node called world "SceneOrigin" (because you can not move the Root node) and creating a temporary constraint between the tracker and this node. You can see the code below. Then we have a Variant Set that triggers the "startResetOrigin()" function. This is working fine for now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;sceneOrigin = vrNodeService.findNode("SceneOrigin")
tracker = vrDeviceService.getVRDevice("tracker-1")
trackerNode = tracker.getNode()
timer = vrTimer(1)
timer.connect("endResetOrigin()")
currentCam = vrCameraService.getActiveCamera()

def startResetOrigin():
global constraint
constraint = vrConstraintService.createParentConstraint([trackerNode], sceneOrigin, False)
timer.setActive(true)

def endResetOrigin():
vrConstraintService.deleteConstraint(constraint)
print(constraint)
timer.setActive(false)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am hoping to find a more elegant solution. Is there a way to reset or re-adjust VRED's original / core World Coordinate System so we do not have to do all the mumbo jumbo?&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 14:05:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13626036#M14</guid>
      <dc:creator>emre_ergene4YJKG</dc:creator>
      <dc:date>2025-05-12T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning VR Scene Origin on the Fly (Varjo XR-3 + SteamVR)</title>
      <link>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13641853#M11770</link>
      <description>&lt;P&gt;as i'm running more or less on the same problem, what type of vive tracker did you use?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.vive.com/eu/accessory/tracker3/" target="_blank"&gt;https://www.vive.com/eu/accessory/tracker3/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the&amp;nbsp; old ones, or the new ones that work without tracking cameras?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.vive.com/us/accessory/vive-ultimate-tracker/" target="_blank"&gt;https://www.vive.com/us/accessory/vive-ultimate-tracker/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 06:40:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13641853#M11770</guid>
      <dc:creator>cikho</dc:creator>
      <dc:date>2025-05-21T06:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning VR Scene Origin on the Fly (Varjo XR-3 + SteamVR)</title>
      <link>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13642231#M11772</link>
      <description>&lt;P&gt;Hi Cikho,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently using a Vive Tracker 3 with 4 Base Stations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Emre&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 09:33:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13642231#M11772</guid>
      <dc:creator>emre_ergene4YJKG</dc:creator>
      <dc:date>2025-05-21T09:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Aligning VR Scene Origin on the Fly (Varjo XR-3 + SteamVR)</title>
      <link>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13914222#M11938</link>
      <description>&lt;P&gt;Hey Emre,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;very important, do NOT use&amp;nbsp;&lt;SPAN&gt;"Override Origin and Direction" in VarjoBase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It set's the rooms origin to the location of the headset. That is why your object then appears somewhere in the room, that seems to be completely unrealated because it is related to the location of the headset the moment you clicked that button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this fixes your problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 08:50:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/aligning-vr-scene-origin-on-the-fly-varjo-xr-3-steamvr/m-p/13914222#M11938</guid>
      <dc:creator>f.grz</dc:creator>
      <dc:date>2025-11-21T08:50:24Z</dc:date>
    </item>
  </channel>
</rss>

