MaterialXWeb 1.39.5
Utilities for using MaterialX Packages with Web clients
Loading...
Searching...
No Matches
gpuopen Directory Reference

Files

 
MaterialXGPUOpenApp.py

Detailed Description

Python GPUOpen Material Inspector

This sample package shows the basic components required to connect MaterialX running in Python to a Web client running Javascript in order to access materials on the AMD GPUOpen material site.

Sample extracted material

Dependents

  • Usage of the materialxMaterials Python package
  • flask and flask-socketio Python packages
  • socket-io Javascript library

Installation

Either install the package from PyPi:

pip install materialx_gpuopen_app

or clone the materialXWeb
repository and install from the root folder:

pip install .

or

pip install -e .

if planning to perform edits on the repository.

Execution

Run the main package using:

materialx-gpuopen-app

or directly with Python:

python MaterialXGPUOpenApp.py

By default the application is running a local server. To access the client page open the following in a Web browser:

http://127.0.0.1:8080