GithubHelp home page GithubHelp logo

risingleaf / irrlicht Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minetest/irrlicht

0.0 0.0 0.0 21.24 MB

Minetest's fork of Irrlicht

License: Other

Shell 0.04% C++ 96.39% C 0.35% Objective-C 0.23% Lua 0.33% Objective-C++ 1.44% CMake 0.45% GLSL 0.77%

irrlicht's Introduction

IrrlichtMt version 1.9

The Irrlicht Engine is an open source realtime 3D engine written in C++.

This is a fork by the Minetest developers that was stripped-down and customized specifically for use in Minetest. It is intentionally not compatible to upstream and is planned to be eventually absorbed into Minetest.

Build

The build system is CMake.

The following libraries are required to be installed:

  • zlib, libPNG, libJPEG
  • OpenGL
    • or on mobile: OpenGL ES (can be optionally enabled on desktop too)
  • on Unix: X11

Aside from standard search options (ZLIB_INCLUDE_DIR, ZLIB_LIBRARY, ...) the following options are available:

  • BUILD_SHARED_LIBS (default: ON) - Build IrrlichtMt as a shared library
  • BUILD_EXAMPLES (default: OFF) - Build example applications
  • ENABLE_OPENGL - Enable OpenGL driver
  • ENABLE_OPENGL3 (default: OFF) - Enable OpenGL 3+ driver
  • ENABLE_GLES1 - Enable OpenGL ES driver, legacy
  • ENABLE_GLES2 - Enable OpenGL ES 2+ driver
  • USE_SDL2 (default: OFF) - Use SDL2 instead of native platform device

e.g. on a Linux system you might want to build for local use like this:

git clone https://github.com/minetest/irrlicht
cd irrlicht
cmake . -DBUILD_SHARED_LIBS=OFF
make -j$(nproc)

This will put an IrrlichtMtTargets.cmake file into the cmake directory in the current build directory, and it can then be imported from another project by pointing find_package() to the build directory, or by setting the CMAKE_PREFIX_PATH variable to that same path.

on Windows system:

It is highly recommended to use vcpkg as package manager.

After you successfully built vcpkg you can easily install the required libraries:

vcpkg install zlib libjpeg-turbo libpng opengl-registry --triplet x64-windows

Run the following script in PowerShell:

git clone https://github.com/minetest/irrlicht
cd irrlicht
cmake -B build -G "Visual Studio 17 2022" -A "Win64" -DCMAKE_TOOLCHAIN_FILE=[vcpkg-root]/scripts/buildsystems/vcpkg.cmake -DBUILD_SHARED_LIBS=OFF
cmake --build build --config Release

Platforms

We aim to support these platforms:

  • Windows via MinGW
  • Linux (GL or GLES)
  • macOS
  • Android

This doesn't mean other platforms don't work or won't be supported, if you find something that doesn't work contributions are welcome.

License

The license of the Irrlicht Engine is based on the zlib/libpng license and applies to this fork, too.

The Irrlicht Engine License
===========================

Copyright (C) 2002-2012 Nikolaus Gebhardt

This software is provided 'as-is', without any express or implied
warranty.  In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
 claim that you wrote the original software. If you use this software
 in a product, an acknowledgement in the product documentation would be
 appreciated but is not required.
2. Altered source versions must be clearly marked as such, and must not be
 misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

irrlicht's People

Contributors

sfan5 avatar numberzero avatar josiahwi avatar desour avatar paradust7 avatar hecktest avatar x2048 avatar ndren avatar nerzhul avatar y5nw avatar lhofhansl avatar v-rob avatar rollerozxa avatar germanaizek avatar savilli avatar fncontroloption avatar neoh4x0r avatar coldtobi avatar thebrokenrail avatar smalljoker avatar richardtry avatar snowyu avatar neroburner avatar lonewolfht avatar appgurueu avatar jordach avatar emmauss avatar psypherium avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.