Skip to content

harfang3d/harfang-emscripten-c-experiment

 
 

Repository files navigation

Harfang Emscripten C++

Example to show how to build a simple wasm app in pur c++ using Harfang 3D engine (https://github.com/scorpheus/harfang3d/tree/main)
Download the project https://github.com/ejulien/FABGen to compile Harfang3D.

Demo

https://scorpheus.github.io/harfang_emscripten_c/build_emsdk/bin/emscripten_harfang.html

Compile

To compile see "compile_with_emscripten_note.txt" on windows WSL (works on linux too)

Scene

To create your own scene, follow the instruction on Harfang3D with the api GLES.
Example build asset on windows:

  • Download assetc for your platform: https://dev.harfang3d.com/releases/
  • assetc.exe -api GLES -quiet -t assetc\\toolchains\\host-windows-x64-target-windows-x64 project project_compiled -platform linux

About

Example to show how to build a simple wasm app in pur c++ using Harfang 3D engine (https://github.com/scorpheus/harfang3d/tree/main)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 48.7%
  • C++ 38.8%
  • HTML 12.5%