Virtual Storytelling
-
Upload
evangeline-shepard -
Category
Documents
-
view
35 -
download
0
description
Transcript of Virtual Storytelling
![Page 1: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/1.jpg)
Virtual Storytelling
Adam AbonyiDaniel Balaš
![Page 2: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/2.jpg)
Agenda
1. Introduction to virtual storytelling
2. Petri Nets
3. Our improvements in Petri Nets
4. Example
![Page 3: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/3.jpg)
Storytelling
□Storyteller tells a tale or a story
□At a campfire, by the bed…
□The storyline is adapted to the storytellers needs and to the reactions of the listeners
![Page 4: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/4.jpg)
Virtual Storytelling
□Application = storyteller
□The plot is designed in advance
□The storyline is influenced by the actions of the viewer
![Page 5: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/5.jpg)
Our Solution
Petri Nets:
□Graphical and Modeling tool
□Petri nets are useful tool for describing and studying systems that are characterized as being concurrent, asynchronous, nondeterministic, and/or stochastic
![Page 6: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/6.jpg)
Our Goals
□Allow designers to easily and intuitively create virtual stories
□Coherency of the story in the virtual world
□Good artificial intelligence of the actors
□Application, that will allow the user interaction with the story
![Page 7: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/7.jpg)
Petri Nets
![Page 8: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/8.jpg)
Petri Nets
□Petri net is a graphical and mathematical modeling tool
□Consists of only 3 main elements:placestransitionsarcs
![Page 9: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/9.jpg)
Petri Nets
Name
Place
Name Transition
Arc
Token
Main Elements:
T1
P1
P2
Simple Petri Net example:
![Page 10: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/10.jpg)
Rules:
□ Connections have a direction
□ Connection lead only from a place to transition or from a transition to a place
□ Places may contain zero or more tokens
Petri nets
p1
t1
p2
p1 p2 p3
![Page 11: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/11.jpg)
Firing:
□ Only enabled transitions can fire□ Consumes a token from each input place and adds a
token to each output place
Transitions
Enabled:
□ All input places contain a token
p1
t1
p2
p1
t1
p2
![Page 12: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/12.jpg)
Petri Net Example: Traffic Lights
Signal green
Go
Warning
Signal yellow
Signal Red
Stop
![Page 13: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/13.jpg)
Petri Nets extension
![Page 14: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/14.jpg)
Storytelling PN
Name
Container
Name Trigger
Main Elements:
TokenName
T1
C2C1
C3
Petri net Event
World Event
![Page 15: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/15.jpg)
Tokens
□ Name – defines the token
□ Age – token age (changes according to the flow of time in the virtual world)
□ Object (optional) – specifies if the token is attached to a virtual world object
Name x Age x [Object]
Name
![Page 16: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/16.jpg)
Containers
□Name
□Group of Tokens
Name
Name x {Token}
![Page 17: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/17.jpg)
Triggers
□ Name of the trigger
□ Preconditions that enable the trigger- which containers must contain tokens- what are the required properties of tokens
□ Consequences that the trigger will have- which tokens will be placed in which containers
Name
![Page 18: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/18.jpg)
Storytelling PN
We call:
□Containers as places in standard PN□Triggers as transitions in standard
PN□Arcs are part of triggers□Token is one of the main element
![Page 19: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/19.jpg)
Story
□Containers are the entry point into the Petri nets
□Triggers can change the behavior of the actors in the virtual world
□Tokens represent a object state or certain world object
Push btn
Button pushed
![Page 20: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/20.jpg)
Example of a simple scene
Steal Present
Adam wants to steal a present
Caught Stolen
Policeman nearby At Shop
Run away Give To Eve
PresentCaught
Petri Net Virtual World starring:
Adam & Eve
Mr. Policeman
Shop full of presents
![Page 21: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/21.jpg)
Example of a simple scene
Steal Present
Adam wants to steal a present
Caught Stolen
Policeman nearby At Shop
Run away Give To Eve
PresentCaught
Petri Net Virtual World
![Page 22: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/22.jpg)
Example of a simple scene #2
Steal Present
Adam wants to steal a present
Caught Stolen
Policeman nearby At Shop
Run away Give To Eve
PresentCaught
Petri Net Virtual World
![Page 23: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/23.jpg)
Usage
Drama manager:
□ Contains the Petri nets and also has an eye into the virtual world
□ Realizes the story in the virtual world
□ Controls the Petri nets depending on the state of the virtual world
□ Changes the behavior of the virtual agents
![Page 24: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/24.jpg)
Usage - Advantages
□The story that takes place in the world stays in the desired tracks, even thou some parts may be completed in many different ways.
□Plot is designed in key points. ** domyslet
□Reacts directly to the things that are happening in the world and allows the plot to continue.
![Page 25: Virtual Storytelling](https://reader035.fdocuments.net/reader035/viewer/2022062407/56812bb1550346895d8feb34/html5/thumbnails/25.jpg)
Questions and Answers
Thanks for listening more information at:
http://ksvi.mff.cuni.cz/~brom/papers/IVE-dramamanager-2006.pdf