ar for web using javascript coursera week 3 answers

How to work with scenes and assets quiz

1. Which section of the script do you edit to integrate and render your HTML and CSS assets in PlayCanvas? Select the best answer.

  • Initialize.
  • Update.

2. What are the three entities every PlayCanvas AR starter kit project should have? Select all that apply.

  • Script
  • Pattern marker
  • Light
  • AR camera

3. The Audiolistener component determines how a sound is heard. How many Audiolisteners can be active at one time? Select the best answer.

  • One (1)
  • Two (2)
  • Three (3)
  • As many as you want

4. Which scene setting enables you to compress high dynamic range (HDR) colors to those colors that are visible on monitors (low dynamic range colors [LDR])? Select the best answer.

  • Cubemapping
  • Tonemapping
  • Batching
  • UI coloring

5. What are the effects of letting all of your assets preload? Select the best answer.

  • Everything will load smoothly when you launch your application.
  • Memory and performance will be compromised.

How to work with animations and user input quiz

6. Which components make any Entity in a scene participate in physics simulations? Select all that apply.

  • Rigidbody
  • Collision
  • Gravity
  • Animation

7. ammo.js is a powerful physics engine used by PlayCanvas that needs to be imported before you can apply any physics to your 3D models.

  • True
  • False

8. Select the best answer to fill in the blank: Use the setting to control how the object moves on the X, Y and Z axes.

  • Linear factor
  • Damping
  • Angular factor

9. When implementing 3D animation in PlayCanvas, each character will have a single animation that includes all of the actions the character might perform. Select the best answer.

  • True
  • False

Content development and integration quiz

10. The PlayCanvas AR starter kit contains which of the following items you can use to create projects? Select all that apply.

  • JavaScript code for the three primary 3D interactions
  • A sample game design document
  • A basic 3D object
  • An initial scene with a camera and light

11. Which of the following PlayCanvas rendering settings should be reconfigured based on the requirements of your app? Select all that apply.

  • Ambient Color
  • Tonemapping
  • Lightmapping
  • Physics Gravity

12. Complete this sentence. In a Web AR app, HTML code __________________________________. Select the best answer.

  • controls the color and texture of objects
  • determines the optimum web browser for your app. Open-source code often makes troubleshooting and knowledge sharing more complicated.
  • determines the specific JavaScript commands your app uses
  • defines the structure of the user interface

13. Complete this sentence. You can better manage assets efficiently in an AR app scene by ___________________________. Select all that apply.

  • loading larger assets first so they are available when you need them
  • unloading then reloading assets whenever your change scenes
  • disabling Preload for large assets to reduce memory requirements
  • tagging them so they will be loaded at the right time

14. Complete this sentence. To use 3D assets in PlayCanvas you need to _____________________. Select the best answer.

  • upload them
  • fork the PlayCanvas 3D applications starter kit
  • use sprite and texture atlases
  • take 2D assets and add a 3D texture

15. What do the physics settings do in a PlayCanvas animation? Select the best answer.

  • Enable PlayCanvas to “see” the animation commands in Javascript
  • Determine how objects and entities have in relation to each other
  • This is a trick question. Physics is only used for character animation.
  • Anchor objects and entities to the background of a scene

16. What types of user input can be coded into a PlayCanvas app using Javascript events? Select all that apply.

  • Mouse input
  • Voice recognition input
  • Keyboard input
  • Bluetooth device input

17. Select the best answer to complete this sentence. ________________________________ is/are the number of rendered objects in every frame.

  • Frame
  • CPU
  • GPU
  • Draw Calls

18. What can you do to optimize graphics so you can improve the performance of your app? Select all that apply.

  • Reduce the number of colors
  • Preload all the assets
  • Batch
  • Reduce the number of shaders

19. Complete this sentence. When building apps in PlayCanvas, the most commonly used component(s) is/are ______________________________________________________________. Select all that apply.

  • animation
  • builds
  • markers
  • lights

Leave a Reply