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

AVEVA™ XR Studio

Sky element

  • Last UpdatedDec 06, 2023
  • 1 minute read

A dummy user buffer is used to export the sky dome object into MWX; however, in this case the dummy refers to a mesh in the same max file.

Code example

This is a code example of the dummy_sky user buffer.

$Sky

{

szType = Simple

szMesh = sky

szName = sky

}

In the same max file, usually environment.max, you can find a mesh (a dome overarching everything else) named sky.

This is the mesh that the dummy refers to by setting szMesh to sky, while the szName parameter defines the dummy itself identifier.

Code example in MWX

The MWX exporter transforms this into the following format.

<Sky name="fileName|dummyName" version="1">

<type value="Simple"/>

<mesh value="sky"/>

<show value="true"/>

</Sky>

For more information about how to create the sky mesh, see the Shader SkyTxt (Legacy) shader topic.

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