This integration contains several demonstrations of using udSDK renderer in increasingly complex contexts. The code is written to be as modular as possible and is designed as an interface for udSDK to the Python language and it's libraries.
Language: Python3
Type: Language Example
Contributor: Euclideon udSDK Development Team <support@euclideon.com>
Organization: Euclideon, https://euclideon.com/
Date: 2021-06-14
udSDK Version: 2.1
Toolsets: IPython 3.8 Pillow Pyglet Numpy IPython3
This resource requires Euclideon udSDK and the following Python libraries to be installed for python 3.8:
Euclideon udSDK can be obtained from here
Set the system variable for UDSDK_HOME
on your operating system to the folder that udSDK was downloaded to. The SDK functionality
can be then accessed by adding src/udSDK to your PYTHONPATH
.
On Windows, run command prompt as administrator and then run the command:
setx UDSDK_HOME "[path to udSDK]"
e.g.
setx UDSDK_HOME "C:\Euclideon_udSDKX.XX"
This can also be achieved using the environment variables dialog.
Add the following command to your .bashrc
export UDSDK_HOME="[path to udSDK]"
Restart your terminal or open a new one
The following packages are required to run the contained packages.
-
pillow (formerly PIL)
-
Pyglet
-
Numpy (or Scipy)
-
Ipython3
All packages are available through the pip repository and can be installed via
pip install ipython pyglet pillow scipy
This directory contains the core wrapper of udSDK for Python. Including this in your PYTHONPATH see the readme for more information.
This directory contains a set of examples of use cases for udSDK. See the readme for more information.
This wrapper constitutes a subset of the larger udSDK C API. More complete documentation for wrapped functions can be found in the udSDK header files included with the current udSDK distribution