22
Using Collaborative Interactive Using Collaborative Interactive Objects and Animation to Enable Objects and Animation to Enable Dynamic Interactions in Collaborative Dynamic Interactions in Collaborative Virtual Environments Virtual Environments Pieter Jorissen* Maarten Wijnants, Wim Lamotte

Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Embed Size (px)

Citation preview

Page 1: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Using Collaborative Interactive Using Collaborative Interactive Objects and Animation to Objects and Animation to

Enable Dynamic Interactions in Enable Dynamic Interactions in Collaborative Virtual Collaborative Virtual

EnvironmentsEnvironments

Pieter Jorissen* Maarten Wijnants, Wim

Lamotte

Page 2: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

OverviewOverview

Interactions in CVEs Interactive Objects approach Avatars in CVEs Creating more flexible avatar interaction User input Network setup Network traffic Results Future Work

Page 3: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Collaborative Virtual Collaborative Virtual Environments (CVEs)Environments (CVEs)

Immersive 3D World Multiple participants (distributed) Users can interact through an avatar

Navigate Interact with objects/other users

Avatar represents the user and their interactions Position/orientation (3D model) Interactions (animations) (other: personality, emotion,…)

Page 4: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Interactions in CVEsInteractions in CVEs

Traditional Navigation Direct interaction techniques for actor -

object interactions Advanced behavior = case specific Hard-coded in application

Result: Not very flexible Not runtime extensible Little reusability

Page 5: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Interactions in CVEsInteractions in CVEs

Page 6: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

GoalGoal

Make CVE worlds more interactive

Generalize CVE interactions Make interactions independant of the application Allow new objects to be introduced at any time Make no distinction between different kinds of

object interactions (avatars, objects, AI agents) Allow every object/avatar to interact with every

other object/avatar in the world

Single scheme for all CVE interactions

Keep netwerk traffic as low as possible

Page 7: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Our Approach Our Approach

Put interaction info and behaviors in the object description

Describe behaviors in parameterized scripts

Put only the general interaction scheme in the application (script handling, communication)

Interaction layer communicates with the objects

Objects can communicate with other objectsthrough links and messages

Page 8: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Our ApproachOur Approach

Page 9: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Interactive Object Interactive Object DescriptionDescription

Object Properties Parts, transformations, models, id,

constraints,… Interaction Properties

Commands, triggers, interaction zones Object Behaviors

Scripts Trigger – script coupling

XML Easy to read, easy to understand

Page 10: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Interaction LayerInteraction Layer

Page 11: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Interactive WorldsInteractive Worlds

Advantage Objects/parts are easy to modify (runtime) Objects/parts are easy to reuse New objects can be introduced at any time Interaction information could be used for

planning Information can be used for network

optimizations Disadvantage

More work in the modeling stage Less programming (more scripting) High reusability of object description

Page 12: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Avatars in CVEs Avatars in CVEs Evolution:

Avatar is the users means of interaction

Proper avatar animation increases feeling of immersion

Page 13: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Avatar Animation in CVEsAvatar Animation in CVEs

Skeletal animation + Keyframed actions

Advantages Low memory use Computationally inexpensive

Disadvantages Lack of flexibility (fixed set of animations)

More flexibility => Use inverse kinematics Very flexible Computationally more expensive

Page 14: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Adding IK to the CVE Adding IK to the CVE avataravatar

“Arm” movement (grasping, pointing, pushing,...)

Store IK info separate from animated model IK joint chain End effector Joint constraints Joint reach (bounding box)

Not human avatar specific !!! Direct control

Page 15: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

User InputUser Input Direct 3D input Keyboard

Slow Unintuitive Difficult context switch No reference

Microscribe-3D Easy context switch Intuitive => fast No force feedback

Page 16: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Network setupNetwork setup

Page 17: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Network TrafficNetwork Traffic

Startup: get world from server TCP Updates: UDP + multicast

Keep it as low as possible!!! Use interactive object information (at server)

Object/part constraints determine possible moves Animation

Send only high level description (animID, start, stop) Animation synchronization not perfect, but

unnecessary Inverse Kinematics

Send only position of end effector Calculate joints locally (no perfect synch for all joints)

Page 18: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

ResultsResults

Collaborative World 1

Hand interaction 1

Hand Interaction 2

Page 19: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

Future WorkFuture Work

Adding AI agents

Large scale testing

Coupling to physical simulation engine

Head tracking + Stereo vision

Add force feedback

Usability study

Page 20: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,

QUESTIONS ?QUESTIONS ?

Page 21: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,
Page 22: Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,