Code Monkey home page Code Monkey logo

sailfish-irrlicht's Introduction

Irrlicht 1.9 OpenGLES port for Sailfish-Wayland

This is port of Irrlicht Engine, forked from SVN repository [https://svn.code.sf.net/p/irrlicht/code/branches/ogl-es].

This is dirty code, but its works, you can compile all irrlicht examples ( just need set EDT_OGLES2 driver type when creating device). Now it compile with QtCreator as Application for sailfish ( or as Application for Linux Desktop, or as Application for OSX by XCode (tested on 8.0 - 9.0)).

  • irrlicht.pro - its project file for Sailfish IDE (QtCreator), if you want compile that for Sailfish, you need add
CONFIG+=sailfish

to qmake options in Project Setting. Or, if you build it from terminal:

mkdir /home/developer/builddir
cd /home/developer/builddir
qmake -r CONFIG+=release CONFIG-=debug CONFIG+=sailfish /path/to/project/irrlicht.pro
make -j4
make INSTALLROOT=/some/path/to/install/ install

but i dont now how it build a RPM package from terminal by qmake and make, in QtCreator its use *.yaml file to create *.spec file and build RPM. That mean, i recomended use QtCreator.

if you want build some examples, you need add main.cpp file of example to irrlicht.pro file

SOURCES += $$PWD/examples/16.Quake3MapShader/main.cpp

and application will build as that example.

If you want build Irrlciht as shared library libIrrlicht.so, you need change TEMPLATE from app to lib, and change TARGET to Irrlicht, and remove main.cpp from SOURCES

For programmers

Most changes for Wayland proting situated in source/Irrlicht/CIrrDeviceSailfish.cpp (*.h), and CEGLManager.cpp (*.h) under macros

#ifdef _IRR_COMPILE_WITH_SAILFISH_DEVICE_
.....
#endif

Sorry for the dirty code ;-)

sailfish-irrlicht's People

Contributors

savegame avatar

Stargazers

Media Explorer avatar Ruslan Garifullin avatar Mark Washeim avatar Petr Mironychev avatar BirdZhang avatar  avatar Mateusz Kielan avatar Petr Vytovtov avatar Miklós Márton avatar

Watchers

James Cloos avatar  avatar

sailfish-irrlicht's Issues

Ubports port?

Would it be possible to port minetest using this irrlicht build to UBPorts? I noticed you have a sailfish branch and the pinephone only uses wayland

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.