Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParaView VR geometry #3

Open
abensonca opened this issue Aug 24, 2021 · 1 comment
Open

ParaView VR geometry #3

abensonca opened this issue Aug 24, 2021 · 1 comment
Assignees

Comments

@abensonca
Copy link
Owner

The geometry configuration for ParaView is not correct. Ideally a source at the origin in ParaView should appear at approximately eye-level on the wall, and in the plan of the screen. You can tell when an object is in the plane of the screen by walking left and right in front of the wall - if the object is correctly positioned it should not move in the x-axis (if it's not in the plane of the screen it will follow you as you walk), but instead stay in place (you'll just start to see around the sides of it.

@abensonca abensonca self-assigned this Aug 24, 2021
@abensonca
Copy link
Owner Author

Working on this with Bill Sherman and Scott Wittenburg we made some progress:

  • The origin of the tracker coordinate system (0,0,0) is physically located in the center of the wall horizontally, at ground level, and around 5 feet (1.52m) in front of the screen.
  • In pvvr file add a shift of +1.52 to the y-axis of the TrackerTransform matrix to shift the origin of the tracking system to approximately eye-level above the ground.
  • In the pvx file shift the y-coordinates of the screens down by -1.52 to match the increase in 1.52 in the tracker coordinate system.
  • In ParaView, from Sources->Geometric Shapes add a unit cube - this will be centered on the origin by default.
  • When correctly positioned this unit cube should be at eye-level, centered on the wall, and have a width of approximately one screen (since our screens are ~1m wide). Walking left or right should leave the cube in the center of the screen, but you should be able to see the sides. (You can also look "under" it by moving your head closer to the ground.)

We found that to get this to work we needed to apply a Transform filter to the cube in ParaView, shifting it +14 along whatever axis is coming out of the screen (which was the model x-axis as I had it displayed).

Strangely, applying a +14 shift in the TrackerTransform matrix did not have the same effect - we do not understand why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant