Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 62 Next »



 

Finally, let's put all the examples we've seen previously in the tutorial together, to create a typical Scene Graph application. As with every application, this application has a purpose. And the purpose of this application is to present all the various node classes and design/development principles for Roku Scene Graph, to let you quickly select node classes and design ideas for your application.

Example Application: SceneGraphTutorial.zip

Tutorial Application Overview

Looking at SceneGraphTutorial.zip, you'll note that the package components directory consists of the following directories and XML component files:

Directories

XML Component Files

  • tutorialpanelsetscene.xml
    The scene component for the application, extended from the OverhangPanelSetScene node class
  • contentreader.xml
    A generic Task node for reading Content Meta-Data for application content items from server XML files
  • categorieslistpanel.xml
    A medium-size ListPanel node that lists the example categories
  • categoryinfopanel.xml
    A medium-size Panel node that provides a description of each example category focused in the categories list panel
  • examplesgridpanel.xml
    A full-size GridPanel node that provides a grid of example posters for user selection of each example 

Note that if you've gone through the Scene Graph XML Tutorial from beginning to here, there is very little contained in SceneGraphTutorial.zip that you haven't seen before. What this application does is pull together all the various Scene Graph nodes, components, designs, and development principles into a single application. So to complete the tutorial, we only need to describe certain aspects of the scene component file, tutorialpanelsetscene.xml, and how it pulls together the entire application, and the associated server XML files.

Tutorial Application Scene Component Description

 

  • No labels