MCPcopy Create free account
hub / github.com/aerys/minko

github.com/aerys/minko @v11.14.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v11.14.0 ↗ · + Follow
53,535 symbols 105,225 edges 6,457 files 9,021 documented · 17% updated 9d ago★ 90724 open issues

Browse by type

Functions 37,216 Types & classes 16,319
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SmartShape Engine

1. Build the engine

1.1. Prerequisites

  • The following software are installed:
  • Docker CE 17+
  • Visual Studio 2017
  • CMake
  • Clone the repository smartshape-engine
  • Being logged on to the Aerys container registry or build the container images in the docker folder manually.
  • Go into the root directory of smartshape-engine.

1.2. Build starting from smartshape-engine@10.2.0

1.2.1. Android32

./script/build.sh android32 release

1.2.2. Android64

./script/build.sh android64 release

1.2.3. HTML5

./script/build.sh html5 release

1.2.4. Linux64

./script/build.sh linux64 release

1.2.5. Linux64 Offscreen

./script/build.sh linux64_offscreen release

Notes: - This build type enables WITH_OFFSCREEN and WITH_TEXTURE_COMPRESSOR. - This build type should be used to build smartshape-converter.

1.2.6. Windows64

./script/build.sh windows64 release

If the final command (msbuild) fails, you might have to change the VCTargetsPath and add the path of msbuild.exe (for example "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin") to the PATH environment variable. To change the VCTargetsPath (for example):

SET VCTargetsPath=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets

1.2.7. More options

There are more ways to build the engine. Here is the detailed usage of the building script

Usage: ./script/build.sh <target> <build-type> [--cmake '<cmake-args>']

<target>      The target platform of the build. Available targets are:
                  * android32
                  * android64
                  * html5
                  * linux64
                  * linux64_offscreen
                  * windows64

<build-type>  The type of build to perform. Available types are:
                  * debug
                  * release

ENVIRONMENT VARIABLES
              The following environment variables can customize the build:

              MAKE_ARGS
                  Arguments to pass to the make program. Default value: -j8.
              BUILD_DIR
                  Build directory. Default value: build-{target}-{build-type}.

1.3. Build before smartshape-engine@10.2.0

1.3.1. Android

docker run -it --rm \
   -v ${PWD}:${PWD} -w ${PWD} \
    -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -u $(id -u $USER):$(id -g $USER) \
   registry.aerys.in/aerys/smartshape/smartshape-engine/android:{TAG} \
   bash -c "
        mkdir -p build && cd build
        cmake .. \
            -DCMAKE_BUILD_TYPE=Release \
            -DWITH_EXAMPLES=OFF \
            -DWITH_PLUGINS=ON \
            -DWITH_NODEJS_WORKER=ON \
            -DCMAKE_TOOLCHAIN_FILE=/opt/android-ndk-linux/build/cmake/android.toolchain.cmake
        make
    "

1.3.2. HTML5

docker run -it --rm \
   -v ${PWD}:${PWD} -w ${PWD} \
   -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -u $(id -u $USER):$(id -g $USER) \
   registry.aerys.in/aerys/smartshape/smartshape-engine/html5:{TAG} \
    bash -c "
        mkdir -p build && cd build
        cmake .. \
            -DCMAKE_BUILD_TYPE=Release \
            -DWITH_EXAMPLES=OFF \
            -DWITH_PLUGINS=ON \
            -DCMAKE_TOOLCHAIN_FILE=/emsdk_portable/sdk/cmake/Modules/Platform/Emscripten.cmake
        make
    "

1.3.3. Linux64

docker run -it --rm \
   -v ${PWD}:${PWD} -w ${PWD} \
   -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro -u $(id -u $USER):$(id -g $USER) \
   registry.aerys.in/aerys/smartshape/vendor/gcc@sha256:d4a63069d9b69ca4233eecd17638356d7e01aeb66f447db5b3e606a75f527887 \
   bash -c "
        mkdir -p build && cd build
        cmake .. \
            -DCMAKE_BUILD_TYPE=Release \
            -DWITH_EXAMPLES=OFF \
            -DWITH_PLUGINS=ON && \
        make
   "

2. Run

smartshape-engine doesn't have to be run. It is used by the other parts of SmartShape as a base.

3. Develop

When modifying the smartshape-engine code, you have to build the engine again once your modifications are done.

4. Contents

4.1 Framework


Sources for the Minko framework.

4.2 Example

Example applications created with the Minko framework and its plugins.

4.3 Template

This folder contains templates you can use to ease the development of the Minko framework, plugins or applications.

4.4 Plugin

Sources for Minko's plugins.

Available plugins are: * angle * bullet * debug * devil * fx * html-overlay * http-loader * http-worker * jpeg * leap * lua * oculus * offscreen * particles * png * sdl * sensors * serializer * video-camera * vr * zlib

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 24,827
Class 15,437
Function 12,389
Enum 880
Interface 2

Languages

C++90%
C8%
Java2%
Python1%
TypeScript1%

Modules by API surface

plugin/serializer/lib/msgpack-c/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp3,437 symbols
plugin/vr/lib/libovr/windows/src/CAPI/GL/CAPI_GLE.cpp832 symbols
plugin/vr/lib/libovr/linux/src/CAPI/GL/CAPI_GLE.cpp832 symbols
framework/lib/glm/glm/gtx/vec_swizzle.hpp336 symbols
plugin/vr/lib/libovr/windows/src/Kernel/OVR_Math.h270 symbols
plugin/vr/lib/libovr/linux/src/Kernel/OVR_Math.h270 symbols
test/lib/googletest/src/gtest.cc266 symbols
test/lib/googletest/include/gtest/internal/gtest-param-util-generated.h253 symbols
plugin/serializer/lib/crnlib/inc/crn_decomp.h242 symbols
plugin/png/lib/lodepng/src/lodepng.cpp228 symbols
test/lib/googletest/test/gtest_unittest.cc223 symbols
test/lib/googletest/include/gtest/internal/gtest-type-util.h213 symbols

For agents

$ claude mcp add minko \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page