alvinquach / jpl-trek-vr

JPL Trek VR Room application
7 stars 2 forks source link

Use VR specific bookmarks #15

Closed alvinquach closed 5 years ago

alvinquach commented 5 years ago

Ignore the bookmarks from the searchItem web service.

Instead, use this json for now. This currently not retrievable from any web services, so it will have to be hard-coded locally.

[
        { 
                "item_UUID":"curiosityBookmarkTesting",
                "title":"Curiosity Bookmark",
                "bbox":"137.2469,-4.8715,137.5518,-4.5392",
                "shape":"POLYGON ((137.2469 -4.8715,137.5518 -4.8715,137.5518 -4.5392,137.2469 -4.5392,137.2469 -4.8715))",
                "textures":["b40d61ea-a26b-48e1-bdec-5f5ed5cf73d5"],
                "dem":"a0f5221a-0a08-40b9-ae82-75a49aac5afe",
                "description":"Curiosity landed in Gale Crater on Mars on August 6th, 2012. With a diameter of 154 km and a central peak 5.5 km tall, Gale Crater was chosen as the landing site for the Mars Science Laboratory Curiosity rover. The choice was based on evidence from orbiting spacecraft that indicate that the crater may have once contained large amounts of liquid water. The central peak, Mount Sharp, exhibits layered rock deposits rich in sedimentary minerals including clays, sulfates, and salts that require water to form.",
                "mediaURL":"https://trek.nasa.gov/mars/jpl/assets/features/curiosity/images/curiosity_rover_story.png",
        }
]

Use the title, description, and mediaURL fields to display something on the dialog.

There should also be a button to see this bookmark. When the user clicks on it, it should automatically switch to the localized terrain view using the given bbox field.

Also use the given textures and dem fields instead of the global ones for the localized view.

alvinquach commented 5 years ago

Currently blocked by #19.

Product "b40d61ea-a26b-48e1-bdec-5f5ed5cf73d5" is 8bpp greyscale, and product "a0f5221a-0a08-40b9-ae82-75a49aac5afe" is 32IEEEFP.

alvinquach commented 5 years ago

Done