Skip to content

Commit

Permalink
Merge pull request #84 from johnsonafool/feature/projection-mapping-docs
Browse files Browse the repository at this point in the history
feature(projection-mapping): add documentation for projection mapping
  • Loading branch information
RELNO authored Aug 7, 2024
2 parents 26f93d7 + f7b3217 commit 6cb4923
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docs/cityscopejs/Projection mapping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
sidebar_position: 4
---

In order to fit in different projector settings to create an accurate projection mapping, there is a tool for modifying it. This page aims to provide a guide on how to use it with existed CityScope project. The available functions for projection mapping tool are:

1. **Visit Existed CityScope Project** You can start testing out projection mapping by visit the [MIT CityScope Projection Mapping](https://cityscope.media.mit.edu/CS_cityscopeJS_projection_mapping/) project. You can enter your project as url query parameters, for example: https://cityscope.media.mit.edu/CS_cityscopeJS_projection_mapping/?cityscope=kharkiv_me will lead you to the CityScope Kharkiv project.

###### Project page

![Project page](img/project_page.jpg)

2. **Zoom In and Zoom Out** Once you are navigated to the projection mapping of project, you can zoom in and zoom out based on the actual result from the projector, to see if it fit the actual table.

###### Zoom in and zoom out

![Zoom in and zoom out](img/zoom_in_and_out.jpg)

3. **Keystone** In order to enable keystone functionality, you can press **Space** key and start keystone, you will see red border on the edge and there are dots you can modify based on your need. If you finish editing, press **Space** key again the keystone will disappear.

###### Keystone

![Keystone](img/keystone.jpg)

4. **Panel** In order to enable the panel, you can press **Z** key and start to see different value of view state. It helps you to understand if the view state meet the requirement of what the table needs to display. If you finish using, press **Z** key again the panel will disappear.

###### Panel

![Panel](img/panel.png)

###### Final result

![Final](img/final.jpg)
Binary file added docs/cityscopejs/img/final.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/cityscopejs/img/keystone.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/cityscopejs/img/panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/cityscopejs/img/project_page.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/cityscopejs/img/zoom_in_and_out.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6cb4923

Please sign in to comment.