GMU:Post Physical Playgrounds/Benjamin Bąk: Difference between revisions

From Medien Wiki
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
= The Library in the woods =
[[File:Woods.jpg|1920px]]
= The Library in the woods =
= The Library in the woods =
[[File:Woods.jpg|1920px]]
[[File:Woods.jpg|1920px]]
Line 7: Line 4:
When I see a large bookshelf, filled to the brim, I get filled with excitement and curiosity. Large mountains of knowledge at your fingertips. Right there, no paywall, no advertisements, no cookies, and no empty battery. In a certain way, it is quite honest, every book makes sense in between its front and back. And all it takes to get access is to take a book out and flip through the pages.  
When I see a large bookshelf, filled to the brim, I get filled with excitement and curiosity. Large mountains of knowledge at your fingertips. Right there, no paywall, no advertisements, no cookies, and no empty battery. In a certain way, it is quite honest, every book makes sense in between its front and back. And all it takes to get access is to take a book out and flip through the pages.  
In a Library, one can come across all sorts of books. You don't have to read every book in its entirety, but you can skim a few paragraphs, read a bit further, take a different book, and continue to get inspired.
In a Library, one can come across all sorts of books. You don't have to read every book in its entirety, but you can skim a few paragraphs, read a bit further, take a different book, and continue to get inspired.
When you first enter VrChat it might seem that you are suddenly in a different country. (And you probably are, when you consider where the servers that host VrChat are) The People all look and act strange, but when you get a bit deeper involved and get to know some of those strange people, you realize, that they are just like you and that they want to have a good conversation or a little adventure or just a bit distraction from their real-life. (And they might be from the other side of the globe)
When you first enter VrChat it might seem that you are suddenly in a different country. (And you probably are, when you consider where the servers that host VrChat are) The People all look and act strange, but when you get a bit deeper involved and get to know some of those strange people, you realize, that they are just like you and that they want to have a good conversation or a little adventure or just a bit distraction from their real-life. (And they might be from the other side of the globe)


To make that possible VrChat offers you the tools and the platform to bring your ideas into VR. You can upload your own Avatars and explore who you are, or you can make your own worlds, a playground for everyone who wants to join you and interact with it and each other.  
To make that possible VrChat offers you the tools and the platform to bring your ideas into VR. You can upload your own Avatars and explore who you are, or you can make your own worlds, a playground for everyone who wants to join you and interact with it and each other.  
But there is one thing that VrChat currently lacks. Books! Books with Stuff written inside and not just Decoration. There is so much potential, for large libraries, for all sorts of topics. Maybe the Hogwarts Library, maybe the Archives of Vatican City, or just the very personal selection of the people you meet. Maybe you think who cares, nobody reads these days anyways. And Maybe on a broad scale, you are right, but there are also many who would care. And now, freed from the boundaries of physical reality, meet in the coolest library one has seen!
But there is one thing that VrChat currently lacks. Books! Books with Stuff written inside and not just Decoration. There is so much potential, for large libraries, for all sorts of topics. Maybe the Hogwards Library, maybe the Archives of Vatican City, or just the very personal selection of the people you meet. Maybe you think who cares, nobody reads these days anyways. And Maybe on a broad scale, you are right, but there are also many who would care. And who could now, freed from the boundaries of physical reality, meet in the coolest library one has ever seen!




==Concept==
==Concept==


A small library in a visually pleasing world. And the books are not just decor, but real books with content. And all of that in the bounds and possibilities of VrChat.
A small library in a visually pleasing world. And the books are not just decor, but real books with content. And all of that in the boundarys and possibilities of VrChat.
 
==Implementation==
 
VrChat uses the Unity game engine but restricts much of the functionality that it originally offers. Where you normally write C# scripts, VrChat wants you to use their Udon Graph editor, a non-scripting solution much like [https://en.wikipedia.org/wiki/Scratch_(programming_language) scratch], or U# which is still missing a full documentation, thats what I ended up using. But all of that restriction serves to protect and ensure that everyone on VrChat has a good experience.
 
[[File:03b983d-pickup-isheld.png|400px]]
 
''UdonGraphEditor''
 
 
[[File:Screenshot 2023-02-26 225936.png|400px]]
 
''U# program opend in VisualStudio''
 
To start building the little library, I had to make books first. And to make a real book, it has to be an object in the world that you can pick up, open, skim through, and read the actual content. (At least after my definition)
 
After that I made many small experiments with all the features separated, to get to know them.
 
''How do I make a GameObject pick-upable?''  -->  Add a VrChat component that lets you do so.
 
''How do I open a Book?'' --> Make an Animation of the book Opening, figure out how to know when the book is held by a player --> Access the previously mentioned VrChat component and get the information.
 
''How do I put readable stuff inside the book?'' --> Place TextContainers inside the book that appear when the OpeningAnimation finishes.
 
''How do I make the book so I can turn the pages and few the content on the next page?'' --> Get the input from the controller in the player's hands, which holds a book. Note which page is open, and which lines have to be displayed next. And execute!
 
 
{{#ev:youtube|https://youtu.be/nz7mwMzKmWg}}
 
''In this video you can see a prototype of the book and in the background are the experiments to learn how thing work.''
 
And then bring it all together.
 
After that, I started building the World and the Library to house my books.
 
 
[[File:building Lib.JPG|1920px]]
 
''Building the Library.''
 
 
[[File:Screenshot 2023-02-26 211349.png|1920px]]
 
''Here you can see some testing with muliple instances.''
 
 
The content of the books, I sourced from [https://www.gutenberg.org/ Project Gutenberg], where I randomly selected 14 books and brought them into a format that makes them accessable despite VrChats limitations.
Then i brought them into my world one by one and checked, is the right text displayed, is the fontsize correct and so on.
 
After that i could enjoy some reading.
 
[[File:VRChat_2023-02-26_21-00-47.748_1920x1080.png|1920px]]
[[File:VRChat_2023-02-26_21-01-26.002_1920x1080.png|1920px]][[File:VRChat_2023-02-26_21-12-17.922_1920x1080.png|1920px]][[File:VRChat_2023-02-26_20-46-32.646_1920x1080.png|1920px]][[File:VRChat_2023-02-26_20-45-45.386_1920x1080.png|1920px]]
 
{{#ev:youtube|https://youtu.be/Uw9nMQvW810}}




==Implementation==


VrChat uses the Unity game engine but restricts much of the functionality that it originally offers. Where you normally write C# scripts, VrChat wants you to use their Udon Graph editor, a non-scripting solution much like [https://en.wikipedia.org/wiki/Scratch_(programming_language) scratch], or U# which is still missing a full documentation, which I ended up using. But all of that restriction serves to protect and ensure that everyone has a good experience.
As you can see there are many more shelves to fill.
<gallery>
File:03b983d-pickup-isheld.png
File:Screenshot 2023-02-26 225936.png
</gallery>
''image1: UdonGraphEditor image2: U# program opend in VisualStudio''

Latest revision as of 13:07, 27 February 2023

The Library in the woods

Woods.jpg

When I see a large bookshelf, filled to the brim, I get filled with excitement and curiosity. Large mountains of knowledge at your fingertips. Right there, no paywall, no advertisements, no cookies, and no empty battery. In a certain way, it is quite honest, every book makes sense in between its front and back. And all it takes to get access is to take a book out and flip through the pages. In a Library, one can come across all sorts of books. You don't have to read every book in its entirety, but you can skim a few paragraphs, read a bit further, take a different book, and continue to get inspired.


When you first enter VrChat it might seem that you are suddenly in a different country. (And you probably are, when you consider where the servers that host VrChat are) The People all look and act strange, but when you get a bit deeper involved and get to know some of those strange people, you realize, that they are just like you and that they want to have a good conversation or a little adventure or just a bit distraction from their real-life. (And they might be from the other side of the globe)


To make that possible VrChat offers you the tools and the platform to bring your ideas into VR. You can upload your own Avatars and explore who you are, or you can make your own worlds, a playground for everyone who wants to join you and interact with it and each other. But there is one thing that VrChat currently lacks. Books! Books with Stuff written inside and not just Decoration. There is so much potential, for large libraries, for all sorts of topics. Maybe the Hogwards Library, maybe the Archives of Vatican City, or just the very personal selection of the people you meet. Maybe you think who cares, nobody reads these days anyways. And Maybe on a broad scale, you are right, but there are also many who would care. And who could now, freed from the boundaries of physical reality, meet in the coolest library one has ever seen!


Concept

A small library in a visually pleasing world. And the books are not just decor, but real books with content. And all of that in the boundarys and possibilities of VrChat.

Implementation

VrChat uses the Unity game engine but restricts much of the functionality that it originally offers. Where you normally write C# scripts, VrChat wants you to use their Udon Graph editor, a non-scripting solution much like scratch, or U# which is still missing a full documentation, thats what I ended up using. But all of that restriction serves to protect and ensure that everyone on VrChat has a good experience.

03b983d-pickup-isheld.png

UdonGraphEditor


Screenshot 2023-02-26 225936.png

U# program opend in VisualStudio

To start building the little library, I had to make books first. And to make a real book, it has to be an object in the world that you can pick up, open, skim through, and read the actual content. (At least after my definition)

After that I made many small experiments with all the features separated, to get to know them.

How do I make a GameObject pick-upable? --> Add a VrChat component that lets you do so.

How do I open a Book? --> Make an Animation of the book Opening, figure out how to know when the book is held by a player --> Access the previously mentioned VrChat component and get the information.

How do I put readable stuff inside the book? --> Place TextContainers inside the book that appear when the OpeningAnimation finishes.

How do I make the book so I can turn the pages and few the content on the next page? --> Get the input from the controller in the player's hands, which holds a book. Note which page is open, and which lines have to be displayed next. And execute!


In this video you can see a prototype of the book and in the background are the experiments to learn how thing work.

And then bring it all together.

After that, I started building the World and the Library to house my books.


Building Lib.JPG

Building the Library.


Screenshot 2023-02-26 211349.png

Here you can see some testing with muliple instances.


The content of the books, I sourced from Project Gutenberg, where I randomly selected 14 books and brought them into a format that makes them accessable despite VrChats limitations. Then i brought them into my world one by one and checked, is the right text displayed, is the fontsize correct and so on.

After that i could enjoy some reading.

VRChat 2023-02-26 21-00-47.748 1920x1080.png VRChat 2023-02-26 21-01-26.002 1920x1080.pngVRChat 2023-02-26 21-12-17.922 1920x1080.pngVRChat 2023-02-26 20-46-32.646 1920x1080.pngVRChat 2023-02-26 20-45-45.386 1920x1080.png


As you can see there are many more shelves to fill.