Skip to content

Usage of Lua/Python HARFANG combined with advanced features (AI, multitasking, etc)

License

Notifications You must be signed in to change notification settings

harfang3d/advanced-tutorials-hg2

Repository files navigation

HARFANG® Advanced Tutorials

These tutorials detail an advanced usage of the HARFANG API in Python and Lua. The aim is to demonstrate the combination of HARFANG with advanced systems found in the Lua or Python ecosystem, in terms of AI, multitasking, etc.

Screenshots

  • Framebuffer to OpenCV (Python only) Buffer to OpenCV

To run the tutorials :

  1. Download or clone this repository to your computer (eg. in d:/advanced-tutorials-hg2).
  2. Download assetc for your platform from here to compile the tutorial resources.
  3. Drag and drop the tutorial resources folder on the assetc executable -OR- execute assetc passing it the path to the tutorial folder (eg. assetc d:/advanced-tutorials-hg2/resources).

assetc drag & drop

After the compilation process finishes, you will see a resources_compiled folder next to the tutorials resources folder.

You can now execute the tutorials from the folder you unzipped them to.

D:\advanced-tutorials-hg2>python scene_coroutine.py

or

D:\advanced-tutorials-hg2>lua scene_coroutine.lua

Alternatively, you can open the tutorial folder using Visual Studio Code and use the provided debug targets to run the tutorials.

If you want to know more about HARFANG, please visit the official website.

You can also visit the Harfang3D-Tutorials if you want to see more.

About

Usage of Lua/Python HARFANG combined with advanced features (AI, multitasking, etc)

Topics

Resources

License

Stars

Watchers

Forks