CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \...

17
CS 498 VR Lecture 21 - 4/18/18 go.illinois.edu/VRlect21

Transcript of CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \...

Page 1: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

CS 498 VR

Lecture 21 - 4/18/18

go.illinois.edu/VRlect21

Presenter
Presentation Notes
Anna’s FA16 video: https://recordings.engineering.illinois.edu:8443/ess/echo/presentation/fc5eaba6-832b-41fc-8c92-64702178d601?ec=true
Page 2: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Review from last lecture

● What are five solutions to increase frame rate?

● What is tearing? And how to solve it?

● Which one have less inertia? Head or finger?

● What are flaws of post-rendering image warp?

Page 3: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Challenges for Rendering in VR: LatencyMotion-to-photon latency: the amount of time that it takes to update the display in response to head motion (change in current position and orientation)

Latency: key obstacle of past generations of VR

Current methods for latency reduction:○ Lower complexity of virtual world○ Improve rendering pipeline performance○ Remove delays along the path from rendered image to switching pixels

Problem: all of these need to work for higher resolution & faster fps screens!

Reducing “effective” latency:● Use prediction to estimate future viewpoints and world states● Shift or distort image to compensate for last-minute viewpoint errors

Page 4: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Mathematical modeling of motion

● The physics of both real and virtual worlds impact VR experiences.

● Physics engines may model the motions of dynamic bodies in the virtual

world, but not the motion of the virtual world itself.

● Tracking methods rely on accelerations and velocities.

● Human vestibular organs rely on accelerations and velocities.

Page 5: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

How to display the world right?

● Only have one display● But you have more than two senses that detect motion (eye, ear,

proprioception)

Presenter
Presentation Notes
Eye sees visual flow of movement. Inner ear (vestibular organs) sense motion. If sensory input from these two don’t match, it will cause nausea, illusions and discomfort. Proprioception is the sensory system of the body that remembers muscle motion and the orientation of your body in space
Page 6: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Vestibular and visual perception of motion mismatch

Vestibular system Vision Example

Yes No

YesNo

Yes Delayed

Mismatched

Presenter
Presentation Notes
Ask students to do think about some examples VS: Yes, Vision: No: Airplane, Tracking system off VS: No, Vision: Yes: Looking at a train passing by, avatar/self-motion in VR VS: Yes, Vision: Delayed, Mismatched: dropping frame (too complex) and latency
Page 7: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Motion Detection Circuitry

Presenter
Presentation Notes
Video1: Idlewild Park Dizzy Lizzy s Saloon 2 pt 2 of 2 https://www.youtube.com/watch?v=vAY50UqY-_Q&t=2s What if the vision changes but the vestibular system tells you that you are not moving?
Page 8: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Motion Detection Circuitry

HitchcockZoom_Micael_Reynaud.gif

“Hitchcock effect”

Example of vection

Is it comfortable?

Presenter
Presentation Notes
This gif shows how different focal lengths can affect your perception of a particular scene.
Page 9: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

1D Motion● How do I find out y(t) ?

GPS-like sensor for y(t) would be great but may be expensive / inaccurate / inpractical. We have velocity sensor for v(t)

For constant v(t), y(t) = ?

For varying v(t), y(t) = ?

Presenter
Presentation Notes
Sensor for v(t) is odometer For constant v(t), y(t) = ? y(t) = y0 + vt For unconstant v(t), y(t) = ? numerical solution only
Page 10: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

1D Motion using odometer (e.g. 200Hz to 1KHz)Discrete numerical solution

Example:

1 KHz Measurement frequency so Δt = 0.001 s

Numerical measurement error is Δvi =0.0001 m s-1

Tracking error > 1 m, when N > ?

… when T> (Linear)Drift !!!

Presenter
Presentation Notes
This divergence of translation causes drift !!! N > 625000 or T>10000 seconds
Page 11: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

1D MotionSensor for a(t) -> accelerometer Numerical solution

Example:

Quadratic drift !!!

Presenter
Presentation Notes
This divergence of translation causes drift !!! Assume similar precision as previous example . After 10000 seconds velocity error is 1m/s. Simple linear sum, so 0.5 * 10000 * 1 = 5000 m; After 4 hours of use: 0.5 * 4 * 3600 > 8000 m
Page 12: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Tracking System in VR: Estimating 2D Orientation

How do I find out θ(t) ?

Sensor for θ(t) (GPS) would be nice

Otherwise: sensor for ω(t) : gyroscope

Numerical Solution:

Presenter
Presentation Notes
Gyroscope tells us instantaneous angular velocity at each measurement time
Page 13: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

3D Motion? Sensor for [x(t); y(t); z(t)]

Numerical solution

Presenter
Presentation Notes
You have three dimensions but not only one dimension
Page 14: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Tracking System in VR: Estimating 3D Orientation

How do I find out Q(t) ?

Sensor for Q(t) (GPS) would be nice

Otherwise: sensor for [ωx(t); ωy(t); ωz(t)] : gyroscope

Numerical Solution:

Presenter
Presentation Notes
Wxyz = angular velocity in yaw pitch roll directions. Can’t just add Quaternions - use quaternion composition. Axis = omega / norm(omega) Angle = norm(omega) * Delta_t
Page 15: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Human Vestibular System

Presenter
Presentation Notes
Vestibular system measures angular accel and linear accelerometer but not very reliably! Only good for short duration changes in motion. E.g. Without visual cues you don’t know which way is up after an avalanche.
Page 16: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Review from today

● What happens if there’s Vestibular system and vision mismatch?

● What’s the reason of drift?

● What’s difference between estimating 2D orientation and 3D orientation?

Page 17: CS 498 VR - University Of Illinois...Eye sees visual flow of movement. Inner ear \ 瘀攀猀琀椀戀甀氀愀爀 漀爀最愀渀猀尩 sense motion. If sensory input from these two

Announcements

● See you next week and keep your final project on track !

● Read Chapter 12