How to configure
Last updated
Last updated
The plugin can be configured through the ApeOgre21RenderPlugin.json file.
You can set various configurations here. The RenderSystem option can be set as DX11 or OGL. In the renderWindos options you can specify the number of windows and their parameters like name, resolution, misc parameters, viewports, etc.
The apeOgre21RenderPlugin answers the following event groups:
NODE
LIGHT
CMAERA
GEOMERTY_FILE
GEOMETRY_INDEXEDFACESET
GEOMETRY_INDEXEDLINESET
MATERIAL_FILE
MATERIAL_FILE_SETASSKYBOX
MATERIAL_FILE_TEXTURE
MATERIAL_FILE_GPUPARAMETERS
MATERIAL_PBS
The GEOMETRY_FILE event group is responsible for loading object from .mesh files.
You can call these events from your own plugins in ApertusVR. To create your own plugin use this guide:
If you are using .glTF files you have addicional configuring options in apeAssimpAssetLoaderPlugin.json at ..\ApertusVR\samples\MyScene\configs\myconfig\apeAssimpAssetLoaderPlugin.json.
To load .glTF files:
Open apeAssimpAssetLoaderPlugin.json at ..\ApertusVR\samples\MyScene\configs\myconfig\apeAssimpAssetLoaderPlugin.json.
Add your glTF files to "assets" in the following format:
You can set the scale, position, orientation to your liking.
To add more than one file:
In the end the apeAssimpAssetLoaderPlugin.json should look like the following: