ar games using vuforia sdk coursera week 2 answers

Spawn the portal quiz

1. Which of the following are inputs required to instantiate a new GameObject into an AR scene? Select all that apply.

  • Detection
  • Rotation
  • Position
  • Original

2. For the Original input, select the prefab you want to instantiate. You set your app to detect either ____________ or ____________ planes. Once you have defined the plane type of your choosing, you will select the appropriate portal located in

  • Vertical
  • GameObject
  • Horizontal
  • Prefab

3. If you select a vertical portal prefab, you will need to correct your portal’s spawn ________________. Select the best answer.

  • Position
  • Origin
  • Instantiation
  • Rotation

4. Because portals are generated continuously while the user’s finger is touching the screen, use a(n) __________________ to limit the number of times a sequence runs. Select the best answer.

  • Sequence
  • Instantiation
  • Boolean
  • String node

5. If the node sequence runs repeatedly, spawning many portals, use the __________ , which has Boolean Condition input, and will allow you to plug in a Boolean and initiate one sequence. Select the best answer.

  • Position of the new instance
  • Plane detection app
  • Build settings
  • If node

Optimize the scene quiz

6. Because vertical portal windows don’t spawn correctly in relation to the world, you need to _________ _________ the window vertically during the editing process. Select the best answer.

  • temporarily rotate
  • Transform through
  • permanently rotate
  • rotate with

7. From a user’s perspective, what is the most important measure of an app’s performance? Select the best answer.

  • UI overlay
  • Plane detection
  • Ability to keep score
  • Frame rate

8. Which of the following statements about performance requirements and optimizing your app are true? Select all that apply.

  • Complex models and real-time lights are examples of elements that can cause your app’s fps to drop.
  • All 3D models, textures, lighting and characters can work with any performance requirements.
  • Interactive elements have the same performance considerations as apps where image quality is a higher priority.
  • 60 fps is recommended for most apps with interactive elements.

9. Which of the following statements are examples of how to optimize mobile apps? Select all that apply.

  • Create scenes with fewer materials.
  • Use real-time lights, which require less processing than lights that continuously run.
  • Create simpler models that are easier on the processor by using high poly assets.
  • Avoid materials with transparency.

10. Which of the following statements best describes optimization? Select all that apply.

  • Optimization is important in order to make sure all the elements of your AR app are running efficiently, from scripts to lights, 3D models to animation.
  • Optimization is especially important when developing for mobile devices because they tend to have lower processing power.
  • Although 30 to 60 fps is preferred, 15 fps can be acceptable.
  • A simple, step-by-step process is applied at the launch of your app that will make sure that what you’ve created will work on any device, including mobile devices.

Making the portal functional quiz

11. Which inputs will you need to define when you instantiate an object into an AR scene? Select all that apply.

  • The Rotation of the new instance
  • The Position of the new instance
  • The prefab to use as the Original
  • AR Session Origin

12. Fill in the blank. The _____________________ has Boolean Condition input, which allows you to plug in a Boolean and initiate one sequence if the Boolean is true or a different sequence if the Boolean is false. Select the best answer.

  • If node
  • Spawn variable
  • Rotation node
  • Boolean instantiation

13. Which of the following are true for how to instantiate a game object into an AR app? Select all that apply.

  • With GameObject: AR Plane selected, add a new GameObject: Instantiate node.
  • Update the visual script of your app.
  • Make sure that the GameObject: Instantiate node is divided into three sections.
  • Define three inputs, Original, Position and Rotation, to the GameObject: Instantiate node.

14. Why do semi-transparent materials cause the frame rate of an app to drop and drain the battery of mobile devices? Select all that apply.

  • Semi-transparent materials work best at 30 fps, which is not the optimal frame rate for AR apps.
  • Rendering objects through multiple semi-transparent surfaces is more complex than rendering opaque materials.
  • Using a URP asset is designed to work with opaque materials, not semi-transparent materials.
  • Because rendering semi-transparent materials involves a lot of work for a processor.

15. Which of the following describes some of the benefits of using the Unity layer system? Select all that apply.

  • You can add a custom shader that will display objects on one layer but not another layer.
  • Layers align the position of the GameObject so that it’s the same position as the plane.
  • Assigning GameObjects to layers is a necessary step before instantiating it onto a plane.
  • Layers provide a simple way of separating GameObjects into different groups.

16. What does URP stand for? Select the best answer.

  • Universal Render Pipeline
  • User Recovery Pin
  • Unity Raycast Procedure
  • Utilization Reference Point

17. Which of the following best describes what a shader is in a Unity project? Select all that apply.

  • Shaders perform calculations that determine how materials appear on the screen.
  • Shaders are required to increase the frame rate of an AR project in Unity.
  • Shaders allow you to place lights in a scene.
  • The appearance of the same material will change depending on the type of shader you apply to it. 

18. The optimal frame rate is _____________.

60 frames per second (FPS)

19. What are some examples of how you would use stencils in Unity? Select all that apply.

  • You can use multiple stencil layers in URP.
  • Stencils are a good choice to use for effects like portals or mirrors.
  • Stencils are used to specify areas of the screen that can or cannot be drawn on.
  • A digital stencil is used to configure the layer settings of the renderer.

20. True or false: The If node has Boolean Condition input, which allows you to plug in a Boolean and initiate one sequence.

True

Leave a Reply