Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Viewer Modules Cloud (FGI) template

  • Last UpdatedDec 04, 2023
  • 2 minute read

Scope

The Viewer Modules Cloud template is the base for creating full custom cloud applications or on-premises applications integrating XR Framework modules. The embedded Viewer module provides only basic functionalities. Therefore, all the other functionalities must be programmed by the application developer.

The Viewer Modules Cloud template is available only for FGI rendering pipeline and encapsulates some of the characteristics of the Viewer (FGI) template, such as the needed basic elements to manage proper illumination in an FGI-based Viewer application.

Required development activities

There is no standardized process to create an application based on this template. The Viewer Modules Cloud template provides an empty starting point for creating non-standard applications. The developer will need to do the following steps.

Step 

Details 

  • Provide scene content 

  • Import from CAD files (RVM, OBJ, GCD/RFC) 

  • Include supported files (MWX, GCD/RFC) 

  • Edit modules configurations and actions 

Edit the modules.xml file to customize the movable node created in the project, the input provided and the related actions, the navigation and the routes linking output from a module to input of another module  

  • Edit RPC behavior 

Edit the RPC commands, response and notification template with custom behaviour 

 

Template characteristics  

The Viewer Modules Cloud template has the following characteristics.  

Viewer template 

Components 

Rendering pipeline 

FGI 

Included modules 

  • MovableNode Module  

  • Input Module  

  • Navigation Module  

Predefined run configurations 

  • Viewer. For running on Windows platform on premises. 

  • NX. For running on XRViewer Portable Windows to emulate portable on premises. 

  • Cloud. For testing the configuration used on cloud deployment running on Windows. 

Predefined external tools 

  • Make Release Module. Compiles the application for delivery on Windows on premises. 

  • Make Release Module Mobile. Compiles the application for delivery on portable devices, such as iOs, Android, or Hololens, On-premises. 

  • Make Release Module Cloud.  Tests the configuration for cloud deployment running on Windows.

  • Make Installer. Compiles the application for delivery as an installer for Windows on-premises. 

  • Delete cache. To empty cache folder. 

Default project setup 

3D Graphic contexts  

  • graphics_context.xml—Includes a sample FGI setup comprising an FgiProbe and an FgiState and references graphic_context_logic.xml file. 

  • graphic_context_logic.xml—An empty file. 

Installer 

  • installer.xml—Standard configuration. 

Localization 

  • lang.xml—For creating localized text entries.

Module 

  • modules.xml—Instantiates the modules (such as input, navigation and movable node), sets the configurations for each module and the actions for the input module, route output from a module to input of another module. 

RPC Commands 

  • _cloud_manager.xml—Instantiates the CVSCloudManager node and references the other rpc files. 

  • _rpc_examples.xml—An empty file. 

  • _rpc_mandatory_behaviors.xml—Provides the implementation of default commands supported by the CVSCloudManager. 

  • _rpc_response_templates—Provides response and notification templates to be reused in command implementations. 

Also see Create a Viewer Modules Cloud (FGI) application

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in