diff --git a/2017-05_osg-sample.png b/2017-05_osg-sample.png new file mode 100644 index 0000000..1c99376 Binary files /dev/null and b/2017-05_osg-sample.png differ diff --git a/2017-summary-ru.html b/2017-summary-ru.html index 8eb67af..76f6aaa 100644 --- a/2017-summary-ru.html +++ b/2017-summary-ru.html @@ -50,10 +50,10 @@ title="Permalink to Итоги 2017-го">Итоги 2017-го -
Wed 22 November 2017 +
Ср 22 Ноябрь 2017 en -

Screenshot

+

Screenshot

Настало время сделать ревизию наших достижений в 2017 году и проверить, насколько они следуют основной цели проекта Opensource Game Studio.

Краткая история

Проекту Opensource Game Studio уже 12 лет.

@@ -96,7 +96,6 @@ --> diff --git a/2017-summary.html b/2017-summary.html index 0104484..c32dbd9 100644 --- a/2017-summary.html +++ b/2017-summary.html @@ -50,10 +50,10 @@ title="Permalink to 2017 summary">2017 summary -
Wed 22 November 2017 +
Ср 22 Ноябрь 2017 ru -

Screenshot

+

Screenshot

It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.

Brief history

Opensource Game Studio project is 12 years old now.

@@ -97,7 +97,6 @@ The project was in a constant turmoil because we had no clear purpose and discip --> diff --git a/archives.html b/archives.html index 550d0a2..2821a16 100644 --- a/archives.html +++ b/archives.html @@ -50,32 +50,32 @@ - + - + - + - + - + - + - - + +
Wed 22 November 2017Ср 22 Ноябрь 2017 2017 summary
Mon 16 October 2017Пн 16 Октябрь 2017 Back to the Static
Sun 10 September 2017Вс 10 Сентябрь 2017 The birth of MJIN world
Wed 16 August 2017Ср 16 Август 2017 Scripting research
Mon 17 July 2017Пн 17 Июль 2017 OpenSceneGraph cross-platform guide
Thu 08 June 2017Чт 08 Июнь 2017 iOS tutorial
Sat 03 June 2017StubПт 12 Май 2017OpenSceneGraph sample
@@ -99,7 +99,6 @@ --> diff --git a/author/opensource-game-studio.html b/author/opensource-game-studio.html index acc10dc..de7bae3 100644 --- a/author/opensource-game-studio.html +++ b/author/opensource-game-studio.html @@ -49,10 +49,10 @@

2017 summary

-
Wed 22 November 2017 +
Ср 22 Ноябрь 2017 ru -

Screenshot

+

Screenshot

It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.

Brief history

Opensource Game Studio project is 12 years old now.

@@ -85,13 +85,13 @@ The project was in a constant turmoil because we had no clear purpose and discip

Back to the Static

-
Mon 16 October 2017 +
Пн 16 Октябрь 2017 ru -

Back to the Static

+

Back to the Static

We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. For some time we've been tracking the development of the new breed of website engines - static site generators. -It seems that this is the technology capable of …

Category: News +It seems that this is the technology ...

Category: News

@@ -105,10 +105,10 @@ It seems that this is the technology capable of …

Cate

The birth of MJIN world

-
Sun 10 September 2017 +
Вс 10 Сентябрь 2017 ru -

The birth of MJIN world

+

The birth of MJIN world

This article describes the birth of MJIN world in August 2017.

mjin-player

As you know, we spent July to research scripting. We found a solution that satisfies the following criteria. Scripts should:

@@ -116,7 +116,7 @@ It seems that this is the technology capable of …

Cate

  • run unchanged on all supported platforms
  • allow extending C++ code
  • -

    We have verified the second criterion by writing …

    Category: News +

    We have verified the second criterion by writing ...

    Category: News

    @@ -130,13 +130,13 @@ It seems that this is the technology capable of …

    Cate

    Scripting research

    -
    Wed 16 August 2017 +
    Ср 16 Август 2017 ru -

    Scripting research

    +

    Scripting research

    This article describes scripting research in July 2017.

    Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

    -

    OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

    Category: News +

    OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any ...

    Category: News

    @@ -150,13 +150,13 @@ It seems that this is the technology capable of …

    Cate

    OpenSceneGraph cross-platform guide

    -
    Mon 17 July 2017 +
    Пн 17 Июль 2017 ru -

    OpenSceneGraph guide

    +

    OpenSceneGraph guide

    This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.

    June marked the finish of OpenSceneGraph cross-platform guide with the publishing of the last (initially planned) tutorial. The tutorial describes how to build and run sample OpenSceneGraph application in Web using Emscripten. -In case you missed it, here's …

    Category: News +In case you missed it, here ...

    Category: News

    @@ -170,12 +170,12 @@ In case you missed it, here's …

    Category:

    iOS tutorial

    -
    Thu 08 June 2017 +
    Чт 08 Июнь 2017 ru -

    iOS tutorial

    +

    iOS tutorial

    This article describes problems we faced during the creation of iOS tutorial in May 2017.

    -

    This February we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up …

    Category: News +

    This February we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come ...

    Category: News

    @@ -188,16 +188,18 @@ In case you missed it, here's …

    Category:

    Stub

    -
    Sat 03 June 2017 - ru +

    OpenSceneGraph sample

    +
    Пт 12 Май 2017 + ru -

    TODO Import previous Opensource Game Studio articles from Wordpress.

    Category: Stub +

    OSG sample

    +

    This article describes creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.

    +

    Previous tutorials described how to install OpenSceneGraph under Linux, macOS, Windows and render a model using the standard osgviewer tool. This time we worked on a sample OpenSceneGraph application ...

    Category: News

    - Read More + Read More
    @@ -229,7 +231,6 @@ In case you missed it, here's …

    Category: Categories

    --> diff --git a/back-to-the-static-ru.html b/back-to-the-static-ru.html index 0b40f67..9aa79df 100644 --- a/back-to-the-static-ru.html +++ b/back-to-the-static-ru.html @@ -50,10 +50,10 @@ title="Permalink to Назад в Статику">Назад в Статику -
    Mon 16 October 2017 +
    Пн 16 Октябрь 2017 en -

    Назад в Статику

    +

    Назад в Статику

    Мы используем Wordpress в качестве движка нашего сайта уже более семи лет. И теперь пришло время двигаться вперед. Или назад. Некоторое время мы следили за разработкой нового поколения движков - генераторов статических сайтов. Похоже, что это технология, способная превратить прошлое в будущее.

    @@ -86,7 +86,6 @@ --> diff --git a/back-to-the-static.html b/back-to-the-static.html index 6cd0afb..8306dde 100644 --- a/back-to-the-static.html +++ b/back-to-the-static.html @@ -50,10 +50,10 @@ title="Permalink to Back to the Static">Back to the Static -
    Mon 16 October 2017 +
    Пн 16 Октябрь 2017 ru -

    Back to the Static

    +

    Back to the Static

    We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. For some time we've been tracking the development of the new breed of website engines - static site generators. It seems that this is the technology capable of changing past into future.

    @@ -86,7 +86,6 @@ Right now it doesn't have all the content from our old site, but we'll add most --> diff --git a/categories.html b/categories.html index f2c3082..d0cf2cb 100644 --- a/categories.html +++ b/categories.html @@ -46,7 +46,6 @@ @@ -67,7 +66,6 @@ --> diff --git a/category/news.html b/category/news.html index 8fff854..c1f764c 100644 --- a/category/news.html +++ b/category/news.html @@ -49,10 +49,10 @@

    2017 summary

    -
    Wed 22 November 2017 +
    Ср 22 Ноябрь 2017 ru -

    Screenshot

    +

    Screenshot

    It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.

    Brief history

    Opensource Game Studio project is 12 years old now.

    @@ -85,13 +85,13 @@ The project was in a constant turmoil because we had no clear purpose and discip

    Back to the Static

    -
    Mon 16 October 2017 +
    Пн 16 Октябрь 2017 ru -

    Back to the Static

    +

    Back to the Static

    We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. For some time we've been tracking the development of the new breed of website engines - static site generators. -It seems that this is the technology capable of …

    Category: News +It seems that this is the technology ...

    Category: News

    @@ -105,10 +105,10 @@ It seems that this is the technology capable of …

    Cate

    The birth of MJIN world

    -
    Sun 10 September 2017 +
    Вс 10 Сентябрь 2017 ru -

    The birth of MJIN world

    +

    The birth of MJIN world

    This article describes the birth of MJIN world in August 2017.

    mjin-player

    As you know, we spent July to research scripting. We found a solution that satisfies the following criteria. Scripts should:

    @@ -116,7 +116,7 @@ It seems that this is the technology capable of …

    Cate

  • run unchanged on all supported platforms
  • allow extending C++ code
  • -

    We have verified the second criterion by writing …

    Category: News +

    We have verified the second criterion by writing ...

    Category: News

    @@ -130,13 +130,13 @@ It seems that this is the technology capable of …

    Cate

    Scripting research

    -
    Wed 16 August 2017 +
    Ср 16 Август 2017 ru -

    Scripting research

    +

    Scripting research

    This article describes scripting research in July 2017.

    Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

    -

    OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

    Category: News +

    OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any ...

    Category: News

    @@ -150,13 +150,13 @@ It seems that this is the technology capable of …

    Cate

    OpenSceneGraph cross-platform guide

    -
    Mon 17 July 2017 +
    Пн 17 Июль 2017 ru -

    OpenSceneGraph guide

    +

    OpenSceneGraph guide

    This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.

    June marked the finish of OpenSceneGraph cross-platform guide with the publishing of the last (initially planned) tutorial. The tutorial describes how to build and run sample OpenSceneGraph application in Web using Emscripten. -In case you missed it, here's …

    Category: News +In case you missed it, here ...

    Category: News

    @@ -170,12 +170,12 @@ In case you missed it, here's …

    Category:

    iOS tutorial

    -
    Thu 08 June 2017 +
    Чт 08 Июнь 2017 ru -

    iOS tutorial

    +

    iOS tutorial

    This article describes problems we faced during the creation of iOS tutorial in May 2017.

    -

    This February we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up …

    Category: News +

    This February we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come ...

    Category: News

    @@ -184,6 +184,25 @@ In case you missed it, here's …

    Category:

    + + + +
    +

    OpenSceneGraph sample

    +
    Пт 12 Май 2017 + ru + +

    OSG sample

    +

    This article describes creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.

    +

    Previous tutorials described how to install OpenSceneGraph under Linux, macOS, Windows and render a model using the standard osgviewer tool. This time we worked on a sample OpenSceneGraph application ...

    Category: News + +

    + + + Read More +
    +
    +
    Page 1 of 1
    @@ -212,7 +231,6 @@ In case you missed it, here's …

    Category: Categories

    --> diff --git a/feeds/all.atom.xml b/feeds/all.atom.xml index c5eedfa..c839d37 100644 --- a/feeds/all.atom.xml +++ b/feeds/all.atom.xml @@ -1,9 +1,5 @@ -Opensource Game Studiohttp://opengamestudio.org/2017-11-22T00:00:00+03:002017 summary2017-11-22T00:00:00+03:002017-11-22T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-11-22:/2017-summary.html<p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png"></p> -<p>It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.</p> -<p><strong>Brief history</strong></p> -<p>Opensource Game Studio project is 12 years old now.</p> -<p><strong>2005.</strong> We started the project with a <a href="https://www.linuxquestions.org/questions/general-10/the-creation-of-the-best-rpg-355858/">fanatic call</a> to create the best game ever …</p><p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png"></p> +Opensource Game Studiohttp://opengamestudio.org/2017-11-22T00:00:00+03:002017 summary2017-11-22T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-11-22:2017-summary.html<p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png" /></p> <p>It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.</p> <p><strong>Brief history</strong></p> <p>Opensource Game Studio project is 12 years old now.</p> @@ -20,11 +16,7 @@ The project was in a constant turmoil because we had no clear purpose and discip <p>Researching mobile and web took us about five months. We spent that much time because there was no documentation on how to run OpenSceneGraph across platforms. We had to step in and create said documentation.</p> <p><strong>2017, July.</strong> We published <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a>, which describes how to create a simple OpenSceneGraph application and make it run on desktop, mobile, and web. To this date, this is our most popular GitHub repository.</p> <p><strong>2017, November.</strong> We published simple <a href="https://ogstudio.github.io/game-memory-colors/tutorial-5.3/mjin-player.html">Memory: Colors game</a> and the <a href="https://bitbucket.org/ogstudio-games/memory-colors">guide</a> on how to create the game from scratch. The game is powered by MJIN, our new cross-platform game toolset that we started this summer.</p> -<p>Currently MJIN toolset is in its infancy. MJIN needs a real game to flourish. That's why we are already working on cross-platform Mahjong. We'll do our best to make Mahjong faster this time.</p>Итоги 2017-го2017-11-22T00:00:00+03:002017-11-22T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-11-22:/2017-summary-ru.html<p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png"></p> -<p>Настало время сделать ревизию наших достижений в 2017 году и проверить, насколько они следуют основной цели проекта Opensource Game Studio.</p> -<p><strong>Краткая история</strong></p> -<p>Проекту Opensource Game Studio уже 12 лет.</p> -<p><strong>2005.</strong> Мы начали проект с <a href="https://unixforum.org/index.php?showtopic=9989">фанатичного призыва</a> к созданию самой лучшей игры. Видимо, сразу же после прохождения Half-Life 2 или Morrowind …</p><p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png"></p> +<p>Currently MJIN toolset is in its infancy. MJIN needs a real game to flourish. That's why we are already working on cross-platform Mahjong. We'll do our best to make Mahjong faster this time.</p>Итоги 2017-го2017-11-22T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-11-22:2017-summary-ru.html<p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png" /></p> <p>Настало время сделать ревизию наших достижений в 2017 году и проверить, насколько они следуют основной цели проекта Opensource Game Studio.</p> <p><strong>Краткая история</strong></p> <p>Проекту Opensource Game Studio уже 12 лет.</p> @@ -40,34 +32,19 @@ The project was in a constant turmoil because we had no clear purpose and discip <p>Изучение мобильных платформ и веба заняло у нас около пяти месяцев. Нам пришлось потратить это время по причине отсутствия какой-либо внятной документации по работе с OpenSceneGraph на разных платформах. После таких громадных трат времени мы решили сэкономить это время другим разработчикам и занялись созданием указанной документации.</p> <p><strong>2017, июль.</strong> Мы опубликовали <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">инструкцию по работе с OpenSceneGraph на разных платформах</a>, которая рассказывает в деталях о создании простейшего приложения OpenSceneGraph и запуске его на настольных компьютерах, мобильных платформах и вебе. Эта инструкция является нашим самым популярным проектом на GitHub.</p> <p><strong>2017, ноябрь.</strong> Мы выпустили простую <a href="https://ogstudio.github.io/game-memory-colors/tutorial-5.3/mjin-player.html">игру "Память: Цвета"</a> и <a href="https://bitbucket.org/ogstudio-games/memory-colors">инструкцию</a> по созданию этой игры с нуля. Игра создана с помощью MJIN, нашего нового инструмента для разработки игр, этому инструменту всего лишь несколько месяцев.</p> -<p>На текущий момент MJIN лишь начинает развитие. Этому инструменту нужна настоящая игра, чтобы расцвести. Поэтому мы уже работаем над Маджонгом, который будет радовать вас и на настольных компьютерах, и на мобильных платформах, и в вебе. На этот раз мы постараемся сделать Маджонг быстрее. </p>Back to the Static2017-10-16T00:00:00+03:002017-10-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-10-16:/back-to-the-static.html<p><img alt="Back to the Static" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png"></p> -<p>We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. -For some time we've been tracking the development of the new breed of website engines - static site generators. -It seems that this is the technology capable of …</p><p><img alt="Back to the Static" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png"></p> +<p>На текущий момент MJIN лишь начинает развитие. Этому инструменту нужна настоящая игра, чтобы расцвести. Поэтому мы уже работаем над Маджонгом, который будет радовать вас и на настольных компьютерах, и на мобильных платформах, и в вебе. На этот раз мы постараемся сделать Маджонг быстрее. </p>Back to the Static2017-10-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-10-16:back-to-the-static.html<p><img alt="Back to the Static" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png" /></p> <p>We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. For some time we've been tracking the development of the new breed of website engines - static site generators. It seems that this is the technology capable of changing past into future.</p> <p>A static website is more straightforward, quicker and more secure. And with the help of generators, it is also as easy to manage, as the dynamic website. So, we are starting our site anew with the help of the <a href="https://blog.getpelican.com/">Pelican</a>. -Right now it doesn't have all the content from our old site, but we'll add most of it soon.</p>Назад в Статику2017-10-16T00:00:00+03:002017-10-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-10-16:/back-to-the-static-ru.html<p><img alt="Назад в Статику" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png"></p> -<p>Мы используем Wordpress в качестве движка нашего сайта уже более семи лет. И теперь пришло время двигаться вперед. Или назад. -Некоторое время мы следили за разработкой нового поколения движков - генераторов статических сайтов. -Похоже, что это технология, способная превратить прошлое в будущее.</p> -<p>Статический веб-сайт проще, быстрее и безопаснее. И с помощью …</p><p><img alt="Назад в Статику" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png"></p> +Right now it doesn't have all the content from our old site, but we'll add most of it soon.</p>Назад в Статику2017-10-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-10-16:back-to-the-static-ru.html<p><img alt="Назад в Статику" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png" /></p> <p>Мы используем Wordpress в качестве движка нашего сайта уже более семи лет. И теперь пришло время двигаться вперед. Или назад. Некоторое время мы следили за разработкой нового поколения движков - генераторов статических сайтов. Похоже, что это технология, способная превратить прошлое в будущее.</p> <p>Статический веб-сайт проще, быстрее и безопаснее. И с помощью генераторов им настолько же легко управлять, как и динамическим веб-сайтом. Так что мы начинаем наш сайт заново с помощью [Pelican] (https://blog.getpelican.com/). -Сейчас здесь нет всего контента с нашего старого сайта, но мы добавим его в ближайшее время.</p>The birth of MJIN world2017-09-10T00:00:00+03:002017-09-10T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-09-10:/mjin-world-birth.html<p><img alt="The birth of MJIN world" src="http://opengamestudio.org/2017-09-mjin-world-birth.png"></p> -<p>This article describes the birth of MJIN world in August 2017.</p> -<p><strong>mjin-player</strong></p> -<p>As you know, <a href="http://opengamestudio.org/scripting-research.html">we spent July to research scripting</a>. We found a solution that satisfies the following criteria. Scripts should:</p> -<ol> -<li>run unchanged on all supported platforms</li> -<li>allow extending C++ code</li> -</ol> -<p>We have verified the second criterion by writing …</p><p><img alt="The birth of MJIN world" src="http://opengamestudio.org/2017-09-mjin-world-birth.png"></p> +Сейчас здесь нет всего контента с нашего старого сайта, но мы добавим его в ближайшее время.</p>The birth of MJIN world2017-09-10T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-09-10:mjin-world-birth.html<p><img alt="The birth of MJIN world" src="http://opengamestudio.org/2017-09-mjin-world-birth.png" /></p> <p>This article describes the birth of MJIN world in August 2017.</p> <p><strong>mjin-player</strong></p> <p>As you know, <a href="http://opengamestudio.org/scripting-research.html">we spent July to research scripting</a>. We found a solution that satisfies the following criteria. Scripts should:</p> @@ -87,15 +64,7 @@ Right now it doesn't have all the content from our old site, but we'll add most <p>This set of rules for MJIN projects is packaged into <a href="https://bitbucket.org/ogstudio/mjin-application">mjin-application</a>. mjin-application is a library that provides basic functionality every MJIN project would need and nothing more. For instance, mjin-application does not and will not contain scripting or any other specific functionality.</p> <p><strong>MJIN world</strong></p> <p>So what is <a href="https://bitbucket.org/ogstudio/mjin">MJIN world</a>? It's a set of projects that constitute our game development tools. mjin-player and mjin-application are the first bricks of the newly born MJIN world. A lot more to come. Stay tuned for the brighter MJIN future.</p> -<p>That's it for describing the birth of MJIN world in August 2017.</p>Рождение вселенной MJIN2017-09-10T00:00:00+03:002017-09-10T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-09-10:/mjin-world-birth-ru.html<p><img alt="Рождение вселенной MJIN" src="http://opengamestudio.org/2017-09-mjin-world-birth.png"></p> -<p>Эта статья описывает рождение вселенной MJIN в августе 2017.</p> -<p><strong>mjin-player</strong></p> -<p>Как вы знаете, <a href="http://opengamestudio.org/scripting-research-ru.html">в июле мы изучали скриптование</a>. Мы нашли решение, которое удовлетворяет следующим критериям. Скрипты должны:</p> -<ol> -<li>исполняться в исходном виде без изменений на всех поддерживаемых платформах</li> -<li>позволять расширять код C++</li> -</ol> -<p>Мы проверили второй критерий в рамках тестового приложения. В …</p><p><img alt="Рождение вселенной MJIN" src="http://opengamestudio.org/2017-09-mjin-world-birth.png"></p> +<p>That's it for describing the birth of MJIN world in August 2017.</p>Рождение вселенной MJIN2017-09-10T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-09-10:mjin-world-birth-ru.html<p><img alt="Рождение вселенной MJIN" src="http://opengamestudio.org/2017-09-mjin-world-birth.png" /></p> <p>Эта статья описывает рождение вселенной MJIN в августе 2017.</p> <p><strong>mjin-player</strong></p> <p>Как вы знаете, <a href="http://opengamestudio.org/scripting-research-ru.html">в июле мы изучали скриптование</a>. Мы нашли решение, которое удовлетворяет следующим критериям. Скрипты должны:</p> @@ -115,10 +84,7 @@ Right now it doesn't have all the content from our old site, but we'll add most <p>Этот набор правил представлен в виде <a href="https://bitbucket.org/ogstudio/mjin-application">mjin-application</a>. mjin-application является библиотекой с базовым функционалом, необходимым для каждого проекта MJIN, но не более. Например, mjin-application не содержит и никогда не будет содержать скриптования или подобного специфического функционала.</p> <p><strong>Вселенная MJIN</strong></p> <p>Так что же такое <a href="https://bitbucket.org/ogstudio/mjin">вселенная MJIN</a>? Это множество проектов, которые являются нашими средствами для разработки игр. mjin-player и mjin-application - первые кирпичики недавно появившейся вселенной MJIN. А будет их намного больше. Оставайтесь на связи, нас ждёт светлое будущее с MJIN.</p> -<p>На этом мы заканчиваем описание рождения вселенной MJIN в августе 2017.</p>Scripting research2017-08-16T00:00:00+03:002017-08-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-08-16:/scripting-research.html<p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png"></p> -<p>This article describes scripting research in July 2017.</p> -<p><strong>Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.</strong></p> -<p>OGS Editor 0.10 supports Python for such a code thanks to <a href="http://swig.org/">SWIG</a>. SWIG provides a way to wrap almost any …</p><p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png"></p> +<p>На этом мы заканчиваем описание рождения вселенной MJIN в августе 2017.</p>Scripting research2017-08-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-08-16:scripting-research.html<p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png" /></p> <p>This article describes scripting research in July 2017.</p> <p><strong>Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.</strong></p> <p>OGS Editor 0.10 supports Python for such a code thanks to <a href="http://swig.org/">SWIG</a>. SWIG provides a way to wrap almost any C/C++ code and use it in dozens of languages like Python, Ruby, Lua, Java, C#, etc.. SWIG really helped us taste the beauty of platform-independent code. However, SWIG only works one way: from C/C++ to a target language. This means the main application must be in the target language, and C/C++ code can only be used as a library.</p> @@ -147,10 +113,7 @@ Next, we tried to inherit a class in Lua and override the class methods. We fail <p>That's when we understood it's a start for a long and mutual relationship with Sol2/Lua.</p> <p><strong>This search for a scripting language taught us one important lesson: people matter, not technologies.</strong></p> <p>There are lots of scripting languages that look shiny on the outside but are dead. Why? Because some authors don't have time for users. In return, users don't have time for the authors' projects.</p> -<p>That's it for describing scripting research in July 2017.</p>Изучение скриптования2017-08-16T00:00:00+03:002017-08-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-08-16:/scripting-research-ru.html<p><img alt="Изучение скриптования" src="http://opengamestudio.org/2017-08-scripting-research.png"></p> -<p>Эта статья описывает изучение скриптования в июле 2017.</p> -<p><strong>Наша основная цель использования скриптового языка - это наличие платформо-независимого кода, выполняемого без изменений на каждой поддерживаемой платформе.</strong></p> -<p>Редактор 0.10 использует Python в качестве подобного кода с помощью <a href="http://swig.org/">SWIG</a>. SWIG позволяет использовать практически любой код C/C++ из языков вроде Python, Ruby …</p><p><img alt="Изучение скриптования" src="http://opengamestudio.org/2017-08-scripting-research.png"></p> +<p>That's it for describing scripting research in July 2017.</p>Изучение скриптования2017-08-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-08-16:scripting-research-ru.html<p><img alt="Изучение скриптования" src="http://opengamestudio.org/2017-08-scripting-research.png" /></p> <p>Эта статья описывает изучение скриптования в июле 2017.</p> <p><strong>Наша основная цель использования скриптового языка - это наличие платформо-независимого кода, выполняемого без изменений на каждой поддерживаемой платформе.</strong></p> <p>Редактор 0.10 использует Python в качестве подобного кода с помощью <a href="http://swig.org/">SWIG</a>. SWIG позволяет использовать практически любой код C/C++ из языков вроде Python, Ruby, Lua, Java, C# и т.д.. SWIG помог нам впервые оценить прелесть платформо-независимого кода. К сожалению, SWIG работает лишь в одном направлении: из C/C++ в язык назначения. Это приводит к тому, что основное приложение должно быть написано на языке назначения, а код C/C++ может быть использован лишь в виде библиотеки.</p> @@ -177,10 +140,7 @@ Next, we tried to inherit a class in Lua and override the class methods. We fail <p>В тот момент мы поняли, что это начало долгого и взаимовыгодного сотрудничества с Sol2/Lua.</p> <p><strong>Поиск скриптового языка открыл для нас следующую истину: люди важнее технологий.</strong></p> <p>Существует множество скриптовых языков, которые выглядят привлекательно на первый взгляд, но которые мертвы. Почему? Потому что у некоторых авторов нет времени на пользователей. В ответ пользователи предпочитают не тратить своё время на проекты подобных авторов.</p> -<p>На этом мы заканчиваем описание изучения скриптования в июле 2017.</p>OpenSceneGraph cross-platform guide2017-07-17T00:00:00+03:002017-07-17T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-07-17:/openscenegraph-cross-platform-guide.html<p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png"></p> -<p>This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.</p> -<p>June marked the finish of <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a> with the publishing of the last (initially planned) tutorial. The tutorial describes <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.10.SampleWeb">how to build and run sample OpenSceneGraph application in Web</a> using Emscripten. -In case you missed it, here's …</p><p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png"></p> +<p>На этом мы заканчиваем описание изучения скриптования в июле 2017.</p>OpenSceneGraph cross-platform guide2017-07-17T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-07-17:openscenegraph-cross-platform-guide.html<p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png" /></p> <p>This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.</p> <p>June marked the finish of <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a> with the publishing of the last (initially planned) tutorial. The tutorial describes <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.10.SampleWeb">how to build and run sample OpenSceneGraph application in Web</a> using Emscripten. In case you missed it, here's a <a href="https://ogstudio.github.io/openscenegraph-cross-platform-guide/">link to the final application</a>. Open it in your web browser.</p> @@ -199,10 +159,7 @@ We spent 120 hours in five months to produce ten tutorials of the guide.</p&g </ol> <p>Reaching our goal of researching OpenSceneGraph cross-platform development and providing the knowledge back to the community just made us happier.</p> <p>However, our journey does not stop here. Using the knowledge of the guide, we now continue to work on bringing our tools to support mobile and web, just as we <a href="http://opengamestudio.org/lang/en/news/2456">promised in January</a>.</p> -<p>That's it for summarizing the work we did to produce OpenSceneGraph cross-platform guide.</p>OpenSceneGraph cross-platform guide2017-07-17T00:00:00+03:002017-07-17T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-07-17:/openscenegraph-cross-platform-guide-ru.html<p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png"></p> -<p>Эта статья резюмирует создание кросс-платформенного руководства OpenSceneGraph.</p> -<p>Июнь ознаменовал собой окончание работы над <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">кросс-платформенным руководством OpenSceneGraph</a>. Мы опубликовали последний самоучитель (из изначально запланированных). Этот самоучитель описывает <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.10.SampleWeb">сборку и запуск примера приложения OpenSceneGraph в вебе</a> с помощью Emscripten. -Если вы упустили этот самоучитель, то вот <a href="https://ogstudio.github.io/openscenegraph-cross-platform-guide/">ссылка на приложение</a> из него. Откройте …</p><p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png"></p> +<p>That's it for summarizing the work we did to produce OpenSceneGraph cross-platform guide.</p>OpenSceneGraph cross-platform guide2017-07-17T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-07-17:openscenegraph-cross-platform-guide-ru.html<p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png" /></p> <p>Эта статья резюмирует создание кросс-платформенного руководства OpenSceneGraph.</p> <p>Июнь ознаменовал собой окончание работы над <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">кросс-платформенным руководством OpenSceneGraph</a>. Мы опубликовали последний самоучитель (из изначально запланированных). Этот самоучитель описывает <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.10.SampleWeb">сборку и запуск примера приложения OpenSceneGraph в вебе</a> с помощью Emscripten. Если вы упустили этот самоучитель, то вот <a href="https://ogstudio.github.io/openscenegraph-cross-platform-guide/">ссылка на приложение</a> из него. Откройте ссылку в веб-браузере.</p> @@ -221,9 +178,7 @@ We spent 120 hours in five months to produce ten tutorials of the guide.</p&g </ol> <p>В конце концов, мы просто рады тому факту, что изучили кросс-платформенную разработку с OpenSceneGraph и поделились этим знанием с сообществом.</p> <p>Тем не менее, наше путешествие на этом не окончено. Используя знания руководства, мы продолжаем работу над тем, чтобы добавить в свои инструменты поддержку мобилок и веба, как мы <a href="http://opengamestudio.org/lang/ru/news/2456">обещали в январе</a>.</p> -<p>На этом мы заканчиваем резюме о создании кросс-платформенного руководства OpenSceneGraph.</p>iOS tutorial2017-06-08T10:00:00+03:002017-06-08T10:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-08:/ios-tutorial.html<p><img alt="iOS tutorial" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png"></p> -<p>This article describes problems we faced during the creation of iOS tutorial in May 2017.</p> -<p><a href="https://twitter.com/OpenGameStudio/status/826816343433498627">This February</a> we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up …</p><p><img alt="iOS tutorial" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png"></p> +<p>На этом мы заканчиваем резюме о создании кросс-платформенного руководства OpenSceneGraph.</p>iOS tutorial2017-06-08T10:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-08:ios-tutorial.html<p><img alt="iOS tutorial" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png" /></p> <p>This article describes problems we faced during the creation of iOS tutorial in May 2017.</p> <p><a href="https://twitter.com/OpenGameStudio/status/826816343433498627">This February</a> we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up with a hackish demo that works for one person, but it's hard to create a concise example that works for everyone.</p> <h3>Native library</h3> @@ -262,9 +217,7 @@ We spent 120 hours in five months to produce ten tutorials of the guide.</p&g <li>main.h - contains the rest of the sample application code</li> </ol> <p>Their contents differ slightly for each platform, but it's easy to see the whole picture now.</p> -<p>That's it for describing problems we faced during the creation of iOS tutorial in May 2017.</p>Самоучитель iOS2017-06-08T10:00:00+03:002017-06-08T10:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-08:/ios-tutorial-ru.html<p><img alt="Самоучитель iOS" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png"></p> -<p>Эта статья описывает проблемы, с которыми мы столкнулись во время создания самоучителя для iOS в мае 2017.</p> -<p><a href="https://twitter.com/OpenGameStudio/status/826816343433498627">В феврале</a> мы сумели отобразить простую модель под iOS за считанные дни. Это дало нам уверенность, что самоучитель для iOS мы сделаем столь же быстро. Тем не менее, реальность напомнила нам о простой …</p><p><img alt="Самоучитель iOS" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png"></p> +<p>That's it for describing problems we faced during the creation of iOS tutorial in May 2017.</p>Самоучитель iOS2017-06-08T10:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-08:ios-tutorial-ru.html<p><img alt="Самоучитель iOS" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png" /></p> <p>Эта статья описывает проблемы, с которыми мы столкнулись во время создания самоучителя для iOS в мае 2017.</p> <p><a href="https://twitter.com/OpenGameStudio/status/826816343433498627">В феврале</a> мы сумели отобразить простую модель под iOS за считанные дни. Это дало нам уверенность, что самоучитель для iOS мы сделаем столь же быстро. Тем не менее, реальность напомнила нам о простой вещи: быстро сделать можно лишь поделку на коленке, работающую только у самого разработчика; над логически связанным примером, работающим у всех, придётся попотеть.</p> <h3>Нативная библиотека</h3> @@ -303,4 +256,72 @@ We spent 120 hours in five months to produce ten tutorials of the guide.</p&g <li>main.h - содержит остальной код приложения</li> </ol> <p>Их содержимое несколько отличается для каждой из платформ, но наличие всего двух файлов позволяет увидеть общую картину.</p> -<p>На этом мы заканчиваем описание проблем, с которыми мы столкнулись во время создания самоучителя для iOS в мае 2017.</p>Stub2017-06-03T00:00:00+03:002017-06-03T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-03:/stub.html<p>TODO Import previous Opensource Game Studio articles from Wordpress.</p><p>TODO Import previous Opensource Game Studio articles from Wordpress.</p>Заглушка2017-06-03T00:00:00+03:002017-06-03T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-03:/stub-ru.html<p>TODO Импортировать предыдущие статьи Opensource Game Studio с Wordpress.</p><p>TODO Импортировать предыдущие статьи Opensource Game Studio с Wordpress.</p> \ No newline at end of file +<p>На этом мы заканчиваем описание проблем, с которыми мы столкнулись во время создания самоучителя для iOS в мае 2017.</p>OpenSceneGraph sample2017-05-12T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-05-12:osg-sample.html<p><img alt="OSG sample" src="http://opengamestudio.org/2017-05_osg-sample.png" /></p> +<p>This article describes creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.</p> +<p>Previous tutorials described how to install OpenSceneGraph under Linux, macOS, Windows and render a model using the standard <strong>osgviewer</strong> tool. This time we worked on a <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide-application">sample OpenSceneGraph application</a> that would run under Linux, macOS, Windows, and Android.</p> +<p>The application is very basic and has the following features:</p> +<ol> +<li>Render window creation</li> +<li>Model loading</li> +<li>Model rendering with simple GLSL shaders</li> +<li>Model motion with a mouse under Linux, macOS, Windows and a finger under Android</li> +</ol> +<p>Creating the tutorials for Linux, macOS, Windows was so easy and straightforward, that it only took us half a month. We spent the second half of the month creating Android tutorial.</p> +<p>Our <a href="http://www.opengame.epizy.com/lang/en/news/2414">first successful Android build</a> last year included hacks and non-obvious steps to make OpenSceneGraph run under Android. This time we wanted a cleaner, faster, and cheaper approach.</p> +<p>The approach we ended up with requires just a few files and a few changes to the original Android Studio project (with C++ support) to make sample OpenSceneGraph application run under Android.</p> +<p>Here's a quick rundown of the files:</p> +<ol> +<li>GLES2 surface</li> +<li>Render activity to render to the surface</li> +<li>Native library Java interface</li> +<li>Native library C++ implementation</li> +<li>CMake file to build native library</li> +<li>Render activity layout</li> +<li>Model to display</li> +</ol> +<p>Here's a quick rundown of the project changes:</p> +<ol> +<li>Update Android manifest to use GLES2 and render activity</li> +<li>Reference native library's CMake file in the project's CMake file</li> +</ol> +<p>OpenSceneGraph documentation suggests building OpenSceneGraph outside Android Studio with CMake. However, this approach has the following limitations:</p> +<ol> +<li>You have to build OpenSceneGraph for each target architecture</li> +<li>You have to manually copy/reference built OpenSceneGraph libraries into Android Studio project</li> +</ol> +<p>Our approach includes building OpenSceneGraph for those target architectures that Android Studio project is built for. Also, OpenSceneGraph is already referenced, so no extra work is required: you just need to rebuild the project, and you're done.</p> +<p>That's it for describing the creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.</p>Приложение OpenSceneGraph2017-05-12T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-05-12:osg-sample-ru.html<p><img alt="OSG sample" src="http://opengamestudio.org/2017-05_osg-sample.png" /></p> +<p>Эта статья описывает создание самоучителей по сборке приложения OpenSceneGraph на Linux, macOS, Windows и Android в апреле 2017.</p> +<p>Предыдущие самоучители описывали установку OpenSceneGraph на Linux, macOS, Windows и отображение модели с помощью стандартного инструмента <strong>osgviewer</strong>. На этот раз результатом нашей работы стало <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide-application">приложение OpenSceneGraph</a>, которое работает на Linux, macOS, Windows и Android.</p> +<p>Приложение очень простое. Оно умеет следующее:</p> +<ol> +<li>Создание окна для отрисовки</li> +<li>Загрузка модели</li> +<li>Отрисовка модели с помощью простых шейдеров GLSL</li> +<li>Перемещение модели с помощью мыши на Linux, macOS, Windows и пальца на Android</li> +</ol> +<p>Создать самоучители для Linux, macOS, Windows было настолько простой и понятной задачей, что мы справились с ней за пару недель. Оставшуюся половину месяца мы потратили на создание самоучителя для Android.</p> +<p>Наша <a href="http://www.opengame.epizy.com/lang/ru/news/2414">первая успешная сборка под Android</a> в прошлом году требовала множество неочивидных телодвижений. В этот раз мы хотели получить более чистый, быстрый и дешёвый подход.</p> +<p>Нам это удалось. В результате всё, что нужно для работы приложения OpenSceneGraph на Android, уместилось в набор из нескольких файлов и небольших изменений для стандартного проекта Android Studio (с поддержкой C++).</p> +<p>Краткий перечень файлов:</p> +<ol> +<li>Поверхность GLES2</li> +<li>Activity для отрисовки на этой поверхности</li> +<li>Интерфейс Java для нативной библиотеки</li> +<li>Реализация нативной библиотеки на C++</li> +<li>Файл CMake для сборки нативной библиотеки</li> +<li>Activity layout</li> +<li>Модель для отрисовки</li> +</ol> +<p>Краткий перечень изменений проекта:</p> +<ol> +<li>Обновление Android manifest для использования GLES2 и Activity</li> +<li>Использование файла CMake нативной библиотеки в проектном файле CMake</li> +</ol> +<p>Документация OpenSceneGraph предполагает сборку OpenSceneGraph вне Android Studio с помощью CMake. Такой подход имеет следующие ограничения:</p> +<ol> +<li>Ручная сборка OpenSceneGraph под каждую платформу</li> +<li>Ручное копирование собранных библиотек OpenSceneGraph в проект Android Studio</li> +</ol> +<p>Наш подход включает в себя сборку OpenSceneGraph для тех платформ, для которых собирается проект Android Studio. К тому же, OpenSceneGraph используется как часть проекта, поэтому нет никакой дополнительной рутины: достаточно просто пересобрать проект, и всё готово.</p> +<p>На этом мы заканчиваем описание создания самоучителей по сборке приложения OpenSceneGraph на Linux, macOS, Windows и Android в апреле 2017.</p> \ No newline at end of file diff --git a/feeds/news.atom.xml b/feeds/news.atom.xml index c742e8a..a27614a 100644 --- a/feeds/news.atom.xml +++ b/feeds/news.atom.xml @@ -1,9 +1,5 @@ -Opensource Game Studio - Newshttp://opengamestudio.org/2017-11-22T00:00:00+03:002017 summary2017-11-22T00:00:00+03:002017-11-22T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-11-22:/2017-summary.html<p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png"></p> -<p>It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.</p> -<p><strong>Brief history</strong></p> -<p>Opensource Game Studio project is 12 years old now.</p> -<p><strong>2005.</strong> We started the project with a <a href="https://www.linuxquestions.org/questions/general-10/the-creation-of-the-best-rpg-355858/">fanatic call</a> to create the best game ever …</p><p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png"></p> +Opensource Game Studiohttp://opengamestudio.org/2017-11-22T00:00:00+03:002017 summary2017-11-22T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-11-22:2017-summary.html<p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png" /></p> <p>It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.</p> <p><strong>Brief history</strong></p> <p>Opensource Game Studio project is 12 years old now.</p> @@ -20,24 +16,13 @@ The project was in a constant turmoil because we had no clear purpose and discip <p>Researching mobile and web took us about five months. We spent that much time because there was no documentation on how to run OpenSceneGraph across platforms. We had to step in and create said documentation.</p> <p><strong>2017, July.</strong> We published <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a>, which describes how to create a simple OpenSceneGraph application and make it run on desktop, mobile, and web. To this date, this is our most popular GitHub repository.</p> <p><strong>2017, November.</strong> We published simple <a href="https://ogstudio.github.io/game-memory-colors/tutorial-5.3/mjin-player.html">Memory: Colors game</a> and the <a href="https://bitbucket.org/ogstudio-games/memory-colors">guide</a> on how to create the game from scratch. The game is powered by MJIN, our new cross-platform game toolset that we started this summer.</p> -<p>Currently MJIN toolset is in its infancy. MJIN needs a real game to flourish. That's why we are already working on cross-platform Mahjong. We'll do our best to make Mahjong faster this time.</p>Back to the Static2017-10-16T00:00:00+03:002017-10-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-10-16:/back-to-the-static.html<p><img alt="Back to the Static" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png"></p> -<p>We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. -For some time we've been tracking the development of the new breed of website engines - static site generators. -It seems that this is the technology capable of …</p><p><img alt="Back to the Static" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png"></p> +<p>Currently MJIN toolset is in its infancy. MJIN needs a real game to flourish. That's why we are already working on cross-platform Mahjong. We'll do our best to make Mahjong faster this time.</p>Back to the Static2017-10-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-10-16:back-to-the-static.html<p><img alt="Back to the Static" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png" /></p> <p>We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. For some time we've been tracking the development of the new breed of website engines - static site generators. It seems that this is the technology capable of changing past into future.</p> <p>A static website is more straightforward, quicker and more secure. And with the help of generators, it is also as easy to manage, as the dynamic website. So, we are starting our site anew with the help of the <a href="https://blog.getpelican.com/">Pelican</a>. -Right now it doesn't have all the content from our old site, but we'll add most of it soon.</p>The birth of MJIN world2017-09-10T00:00:00+03:002017-09-10T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-09-10:/mjin-world-birth.html<p><img alt="The birth of MJIN world" src="http://opengamestudio.org/2017-09-mjin-world-birth.png"></p> -<p>This article describes the birth of MJIN world in August 2017.</p> -<p><strong>mjin-player</strong></p> -<p>As you know, <a href="http://opengamestudio.org/scripting-research.html">we spent July to research scripting</a>. We found a solution that satisfies the following criteria. Scripts should:</p> -<ol> -<li>run unchanged on all supported platforms</li> -<li>allow extending C++ code</li> -</ol> -<p>We have verified the second criterion by writing …</p><p><img alt="The birth of MJIN world" src="http://opengamestudio.org/2017-09-mjin-world-birth.png"></p> +Right now it doesn't have all the content from our old site, but we'll add most of it soon.</p>The birth of MJIN world2017-09-10T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-09-10:mjin-world-birth.html<p><img alt="The birth of MJIN world" src="http://opengamestudio.org/2017-09-mjin-world-birth.png" /></p> <p>This article describes the birth of MJIN world in August 2017.</p> <p><strong>mjin-player</strong></p> <p>As you know, <a href="http://opengamestudio.org/scripting-research.html">we spent July to research scripting</a>. We found a solution that satisfies the following criteria. Scripts should:</p> @@ -57,10 +42,7 @@ Right now it doesn't have all the content from our old site, but we'll add most <p>This set of rules for MJIN projects is packaged into <a href="https://bitbucket.org/ogstudio/mjin-application">mjin-application</a>. mjin-application is a library that provides basic functionality every MJIN project would need and nothing more. For instance, mjin-application does not and will not contain scripting or any other specific functionality.</p> <p><strong>MJIN world</strong></p> <p>So what is <a href="https://bitbucket.org/ogstudio/mjin">MJIN world</a>? It's a set of projects that constitute our game development tools. mjin-player and mjin-application are the first bricks of the newly born MJIN world. A lot more to come. Stay tuned for the brighter MJIN future.</p> -<p>That's it for describing the birth of MJIN world in August 2017.</p>Scripting research2017-08-16T00:00:00+03:002017-08-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-08-16:/scripting-research.html<p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png"></p> -<p>This article describes scripting research in July 2017.</p> -<p><strong>Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.</strong></p> -<p>OGS Editor 0.10 supports Python for such a code thanks to <a href="http://swig.org/">SWIG</a>. SWIG provides a way to wrap almost any …</p><p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png"></p> +<p>That's it for describing the birth of MJIN world in August 2017.</p>Scripting research2017-08-16T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-08-16:scripting-research.html<p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png" /></p> <p>This article describes scripting research in July 2017.</p> <p><strong>Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.</strong></p> <p>OGS Editor 0.10 supports Python for such a code thanks to <a href="http://swig.org/">SWIG</a>. SWIG provides a way to wrap almost any C/C++ code and use it in dozens of languages like Python, Ruby, Lua, Java, C#, etc.. SWIG really helped us taste the beauty of platform-independent code. However, SWIG only works one way: from C/C++ to a target language. This means the main application must be in the target language, and C/C++ code can only be used as a library.</p> @@ -89,10 +71,7 @@ Next, we tried to inherit a class in Lua and override the class methods. We fail <p>That's when we understood it's a start for a long and mutual relationship with Sol2/Lua.</p> <p><strong>This search for a scripting language taught us one important lesson: people matter, not technologies.</strong></p> <p>There are lots of scripting languages that look shiny on the outside but are dead. Why? Because some authors don't have time for users. In return, users don't have time for the authors' projects.</p> -<p>That's it for describing scripting research in July 2017.</p>OpenSceneGraph cross-platform guide2017-07-17T00:00:00+03:002017-07-17T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-07-17:/openscenegraph-cross-platform-guide.html<p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png"></p> -<p>This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.</p> -<p>June marked the finish of <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a> with the publishing of the last (initially planned) tutorial. The tutorial describes <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.10.SampleWeb">how to build and run sample OpenSceneGraph application in Web</a> using Emscripten. -In case you missed it, here's …</p><p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png"></p> +<p>That's it for describing scripting research in July 2017.</p>OpenSceneGraph cross-platform guide2017-07-17T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-07-17:openscenegraph-cross-platform-guide.html<p><img alt="OpenSceneGraph guide" src="http://opengamestudio.org/2017-07-openscenegraph-guide.png" /></p> <p>This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.</p> <p>June marked the finish of <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a> with the publishing of the last (initially planned) tutorial. The tutorial describes <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.10.SampleWeb">how to build and run sample OpenSceneGraph application in Web</a> using Emscripten. In case you missed it, here's a <a href="https://ogstudio.github.io/openscenegraph-cross-platform-guide/">link to the final application</a>. Open it in your web browser.</p> @@ -111,9 +90,7 @@ We spent 120 hours in five months to produce ten tutorials of the guide.</p&g </ol> <p>Reaching our goal of researching OpenSceneGraph cross-platform development and providing the knowledge back to the community just made us happier.</p> <p>However, our journey does not stop here. Using the knowledge of the guide, we now continue to work on bringing our tools to support mobile and web, just as we <a href="http://opengamestudio.org/lang/en/news/2456">promised in January</a>.</p> -<p>That's it for summarizing the work we did to produce OpenSceneGraph cross-platform guide.</p>iOS tutorial2017-06-08T10:00:00+03:002017-06-08T10:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-08:/ios-tutorial.html<p><img alt="iOS tutorial" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png"></p> -<p>This article describes problems we faced during the creation of iOS tutorial in May 2017.</p> -<p><a href="https://twitter.com/OpenGameStudio/status/826816343433498627">This February</a> we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up …</p><p><img alt="iOS tutorial" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png"></p> +<p>That's it for summarizing the work we did to produce OpenSceneGraph cross-platform guide.</p>iOS tutorial2017-06-08T10:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-06-08:ios-tutorial.html<p><img alt="iOS tutorial" src="http://opengamestudio.org/2017-06-08-ios-refactoring.png" /></p> <p>This article describes problems we faced during the creation of iOS tutorial in May 2017.</p> <p><a href="https://twitter.com/OpenGameStudio/status/826816343433498627">This February</a> we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up with a hackish demo that works for one person, but it's hard to create a concise example that works for everyone.</p> <h3>Native library</h3> @@ -152,4 +129,38 @@ We spent 120 hours in five months to produce ten tutorials of the guide.</p&g <li>main.h - contains the rest of the sample application code</li> </ol> <p>Their contents differ slightly for each platform, but it's easy to see the whole picture now.</p> -<p>That's it for describing problems we faced during the creation of iOS tutorial in May 2017.</p> \ No newline at end of file +<p>That's it for describing problems we faced during the creation of iOS tutorial in May 2017.</p>OpenSceneGraph sample2017-05-12T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2017-05-12:osg-sample.html<p><img alt="OSG sample" src="http://opengamestudio.org/2017-05_osg-sample.png" /></p> +<p>This article describes creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.</p> +<p>Previous tutorials described how to install OpenSceneGraph under Linux, macOS, Windows and render a model using the standard <strong>osgviewer</strong> tool. This time we worked on a <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide-application">sample OpenSceneGraph application</a> that would run under Linux, macOS, Windows, and Android.</p> +<p>The application is very basic and has the following features:</p> +<ol> +<li>Render window creation</li> +<li>Model loading</li> +<li>Model rendering with simple GLSL shaders</li> +<li>Model motion with a mouse under Linux, macOS, Windows and a finger under Android</li> +</ol> +<p>Creating the tutorials for Linux, macOS, Windows was so easy and straightforward, that it only took us half a month. We spent the second half of the month creating Android tutorial.</p> +<p>Our <a href="http://www.opengame.epizy.com/lang/en/news/2414">first successful Android build</a> last year included hacks and non-obvious steps to make OpenSceneGraph run under Android. This time we wanted a cleaner, faster, and cheaper approach.</p> +<p>The approach we ended up with requires just a few files and a few changes to the original Android Studio project (with C++ support) to make sample OpenSceneGraph application run under Android.</p> +<p>Here's a quick rundown of the files:</p> +<ol> +<li>GLES2 surface</li> +<li>Render activity to render to the surface</li> +<li>Native library Java interface</li> +<li>Native library C++ implementation</li> +<li>CMake file to build native library</li> +<li>Render activity layout</li> +<li>Model to display</li> +</ol> +<p>Here's a quick rundown of the project changes:</p> +<ol> +<li>Update Android manifest to use GLES2 and render activity</li> +<li>Reference native library's CMake file in the project's CMake file</li> +</ol> +<p>OpenSceneGraph documentation suggests building OpenSceneGraph outside Android Studio with CMake. However, this approach has the following limitations:</p> +<ol> +<li>You have to build OpenSceneGraph for each target architecture</li> +<li>You have to manually copy/reference built OpenSceneGraph libraries into Android Studio project</li> +</ol> +<p>Our approach includes building OpenSceneGraph for those target architectures that Android Studio project is built for. Also, OpenSceneGraph is already referenced, so no extra work is required: you just need to rebuild the project, and you're done.</p> +<p>That's it for describing the creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.</p> \ No newline at end of file diff --git a/index.html b/index.html index 4a1a428..a28ebb7 100644 --- a/index.html +++ b/index.html @@ -49,10 +49,10 @@

    2017 summary

    -
    Wed 22 November 2017 +
    Ср 22 Ноябрь 2017 ru -

    Screenshot

    +

    Screenshot

    It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.

    Brief history

    Opensource Game Studio project is 12 years old now.

    @@ -85,13 +85,13 @@ The project was in a constant turmoil because we had no clear purpose and discip

    Back to the Static

    -
    Mon 16 October 2017 +
    Пн 16 Октябрь 2017 ru -

    Back to the Static

    +

    Back to the Static

    We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward. For some time we've been tracking the development of the new breed of website engines - static site generators. -It seems that this is the technology capable of …

    Category: News +It seems that this is the technology ...

    Category: News

    @@ -105,10 +105,10 @@ It seems that this is the technology capable of …

    Cate

    The birth of MJIN world

    -
    Sun 10 September 2017 +
    Вс 10 Сентябрь 2017 ru -

    The birth of MJIN world

    +

    The birth of MJIN world

    This article describes the birth of MJIN world in August 2017.

    mjin-player

    As you know, we spent July to research scripting. We found a solution that satisfies the following criteria. Scripts should:

    @@ -116,7 +116,7 @@ It seems that this is the technology capable of …

    Cate

  • run unchanged on all supported platforms
  • allow extending C++ code
  • -

    We have verified the second criterion by writing …

    Category: News +

    We have verified the second criterion by writing ...

    Category: News

    @@ -130,13 +130,13 @@ It seems that this is the technology capable of …

    Cate

    Scripting research

    -
    Wed 16 August 2017 +
    Ср 16 Август 2017 ru -

    Scripting research

    +

    Scripting research

    This article describes scripting research in July 2017.

    Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

    -

    OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

    Category: News +

    OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any ...

    Category: News

    @@ -150,13 +150,13 @@ It seems that this is the technology capable of …

    Cate

    OpenSceneGraph cross-platform guide

    -
    Mon 17 July 2017 +
    Пн 17 Июль 2017 ru -

    OpenSceneGraph guide

    +

    OpenSceneGraph guide

    This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.

    June marked the finish of OpenSceneGraph cross-platform guide with the publishing of the last (initially planned) tutorial. The tutorial describes how to build and run sample OpenSceneGraph application in Web using Emscripten. -In case you missed it, here's …

    Category: News +In case you missed it, here ...

    Category: News

    @@ -170,12 +170,12 @@ In case you missed it, here's …

    Category:

    iOS tutorial

    -
    Thu 08 June 2017 +
    Чт 08 Июнь 2017 ru -

    iOS tutorial

    +

    iOS tutorial

    This article describes problems we faced during the creation of iOS tutorial in May 2017.

    -

    This February we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up …

    Category: News +

    This February we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come ...

    Category: News

    @@ -188,16 +188,18 @@ In case you missed it, here's …

    Category:

    Stub

    -
    Sat 03 June 2017 - ru +

    OpenSceneGraph sample

    +
    Пт 12 Май 2017 + ru -

    TODO Import previous Opensource Game Studio articles from Wordpress.

    Category: Stub +

    OSG sample

    +

    This article describes creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.

    +

    Previous tutorials described how to install OpenSceneGraph under Linux, macOS, Windows and render a model using the standard osgviewer tool. This time we worked on a sample OpenSceneGraph application ...

    Category: News

    - Read More + Read More
    @@ -229,7 +231,6 @@ In case you missed it, here's …

    Category: Categories

    --> diff --git a/ios-tutorial-ru.html b/ios-tutorial-ru.html index f4a6aa2..22c163b 100644 --- a/ios-tutorial-ru.html +++ b/ios-tutorial-ru.html @@ -50,10 +50,10 @@ title="Permalink to Самоучитель iOS">Самоучитель iOS -
    Thu 08 June 2017 +
    Чт 08 Июнь 2017 en -

    Самоучитель iOS

    +

    Самоучитель iOS

    Эта статья описывает проблемы, с которыми мы столкнулись во время создания самоучителя для iOS в мае 2017.

    В феврале мы сумели отобразить простую модель под iOS за считанные дни. Это дало нам уверенность, что самоучитель для iOS мы сделаем столь же быстро. Тем не менее, реальность напомнила нам о простой вещи: быстро сделать можно лишь поделку на коленке, работающую только у самого разработчика; над логически связанным примером, работающим у всех, придётся попотеть.

    Нативная библиотека

    @@ -119,7 +119,6 @@ --> diff --git a/ios-tutorial.html b/ios-tutorial.html index 2f18369..1c63a16 100644 --- a/ios-tutorial.html +++ b/ios-tutorial.html @@ -50,10 +50,10 @@ title="Permalink to iOS tutorial">iOS tutorial -
    Thu 08 June 2017 +
    Чт 08 Июнь 2017 ru -

    iOS tutorial

    +

    iOS tutorial

    This article describes problems we faced during the creation of iOS tutorial in May 2017.

    This February we managed to get simple model rendered under iOS in just a few days. We expected to finish iOS tutorial in no time. However, the reality reminded us: it's easy to come up with a hackish demo that works for one person, but it's hard to create a concise example that works for everyone.

    Native library

    @@ -119,7 +119,6 @@ --> diff --git a/mjin-world-birth-ru.html b/mjin-world-birth-ru.html index 7f59c48..7935ed3 100644 --- a/mjin-world-birth-ru.html +++ b/mjin-world-birth-ru.html @@ -50,10 +50,10 @@ title="Permalink to Рождение вселенной MJIN">Рождение вселенной MJIN -
    Sun 10 September 2017 +
    Вс 10 Сентябрь 2017 en -

    Рождение вселенной MJIN

    +

    Рождение вселенной MJIN

    Эта статья описывает рождение вселенной MJIN в августе 2017.

    mjin-player

    Как вы знаете, в июле мы изучали скриптование. Мы нашли решение, которое удовлетворяет следующим критериям. Скрипты должны:

    @@ -100,7 +100,6 @@ --> diff --git a/mjin-world-birth.html b/mjin-world-birth.html index 05344d8..4af8dd4 100644 --- a/mjin-world-birth.html +++ b/mjin-world-birth.html @@ -50,10 +50,10 @@ title="Permalink to The birth of MJIN world">The birth of MJIN world -
    Sun 10 September 2017 +
    Вс 10 Сентябрь 2017 ru -

    The birth of MJIN world

    +

    The birth of MJIN world

    This article describes the birth of MJIN world in August 2017.

    mjin-player

    As you know, we spent July to research scripting. We found a solution that satisfies the following criteria. Scripts should:

    @@ -100,7 +100,6 @@ --> diff --git a/openscenegraph-cross-platform-guide-ru.html b/openscenegraph-cross-platform-guide-ru.html index 16a89f6..436631b 100644 --- a/openscenegraph-cross-platform-guide-ru.html +++ b/openscenegraph-cross-platform-guide-ru.html @@ -50,10 +50,10 @@ title="Permalink to OpenSceneGraph cross-platform guide">OpenSceneGraph cross-platform guide -
    Mon 17 July 2017 +
    Пн 17 Июль 2017 en -

    OpenSceneGraph guide

    +

    OpenSceneGraph guide

    Эта статья резюмирует создание кросс-платформенного руководства OpenSceneGraph.

    Июнь ознаменовал собой окончание работы над кросс-платформенным руководством OpenSceneGraph. Мы опубликовали последний самоучитель (из изначально запланированных). Этот самоучитель описывает сборку и запуск примера приложения OpenSceneGraph в вебе с помощью Emscripten. Если вы упустили этот самоучитель, то вот ссылка на приложение из него. Откройте ссылку в веб-браузере.

    @@ -99,7 +99,6 @@ --> diff --git a/openscenegraph-cross-platform-guide.html b/openscenegraph-cross-platform-guide.html index 6cc96ad..98ad1a9 100644 --- a/openscenegraph-cross-platform-guide.html +++ b/openscenegraph-cross-platform-guide.html @@ -50,10 +50,10 @@ title="Permalink to OpenSceneGraph cross-platform guide">OpenSceneGraph cross-platform guide -
    Mon 17 July 2017 +
    Пн 17 Июль 2017 ru -

    OpenSceneGraph guide

    +

    OpenSceneGraph guide

    This article summarizes the work we did to produce OpenSceneGraph cross-platform guide.

    June marked the finish of OpenSceneGraph cross-platform guide with the publishing of the last (initially planned) tutorial. The tutorial describes how to build and run sample OpenSceneGraph application in Web using Emscripten. In case you missed it, here's a link to the final application. Open it in your web browser.

    @@ -99,7 +99,6 @@ We spent 120 hours in five months to produce ten tutorials of the guide.

    --> diff --git a/osg-sample-ru.html b/osg-sample-ru.html new file mode 100644 index 0000000..e35bd21 --- /dev/null +++ b/osg-sample-ru.html @@ -0,0 +1,161 @@ + + + + + + + Приложение OpenSceneGraph + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +

    Приложение OpenSceneGraph

    +
    + +
    Пт 12 Май 2017 + en + +

    OSG sample

    +

    Эта статья описывает создание самоучителей по сборке приложения OpenSceneGraph на Linux, macOS, Windows и Android в апреле 2017.

    +

    Предыдущие самоучители описывали установку OpenSceneGraph на Linux, macOS, Windows и отображение модели с помощью стандартного инструмента osgviewer. На этот раз результатом нашей работы стало приложение OpenSceneGraph, которое работает на Linux, macOS, Windows и Android.

    +

    Приложение очень простое. Оно умеет следующее:

    +
      +
    1. Создание окна для отрисовки
    2. +
    3. Загрузка модели
    4. +
    5. Отрисовка модели с помощью простых шейдеров GLSL
    6. +
    7. Перемещение модели с помощью мыши на Linux, macOS, Windows и пальца на Android
    8. +
    +

    Создать самоучители для Linux, macOS, Windows было настолько простой и понятной задачей, что мы справились с ней за пару недель. Оставшуюся половину месяца мы потратили на создание самоучителя для Android.

    +

    Наша первая успешная сборка под Android в прошлом году требовала множество неочивидных телодвижений. В этот раз мы хотели получить более чистый, быстрый и дешёвый подход.

    +

    Нам это удалось. В результате всё, что нужно для работы приложения OpenSceneGraph на Android, уместилось в набор из нескольких файлов и небольших изменений для стандартного проекта Android Studio (с поддержкой C++).

    +

    Краткий перечень файлов:

    +
      +
    1. Поверхность GLES2
    2. +
    3. Activity для отрисовки на этой поверхности
    4. +
    5. Интерфейс Java для нативной библиотеки
    6. +
    7. Реализация нативной библиотеки на C++
    8. +
    9. Файл CMake для сборки нативной библиотеки
    10. +
    11. Activity layout
    12. +
    13. Модель для отрисовки
    14. +
    +

    Краткий перечень изменений проекта:

    +
      +
    1. Обновление Android manifest для использования GLES2 и Activity
    2. +
    3. Использование файла CMake нативной библиотеки в проектном файле CMake
    4. +
    +

    Документация OpenSceneGraph предполагает сборку OpenSceneGraph вне Android Studio с помощью CMake. Такой подход имеет следующие ограничения:

    +
      +
    1. Ручная сборка OpenSceneGraph под каждую платформу
    2. +
    3. Ручное копирование собранных библиотек OpenSceneGraph в проект Android Studio
    4. +
    +

    Наш подход включает в себя сборку OpenSceneGraph для тех платформ, для которых собирается проект Android Studio. К тому же, OpenSceneGraph используется как часть проекта, поэтому нет никакой дополнительной рутины: достаточно просто пересобрать проект, и всё готово.

    +

    На этом мы заканчиваем описание создания самоучителей по сборке приложения OpenSceneGraph на Linux, macOS, Windows и Android в апреле 2017.

    +

    Category: News + +

    + + + +
    +
    + + + + + +
    + + + +
    +
    +
    +
    +
    +

    Proudly powered by Pelican, which takes great advantage of Python.

    +
    +
    +
    + +
    \ No newline at end of file diff --git a/osg-sample.html b/osg-sample.html new file mode 100644 index 0000000..49390a6 --- /dev/null +++ b/osg-sample.html @@ -0,0 +1,161 @@ + + + + + + + OpenSceneGraph sample + + + + + + + + + + + + + + + + + + + + +
    + + +
    +
    +
    +

    OpenSceneGraph sample

    +
    + +
    Пт 12 Май 2017 + ru + +

    OSG sample

    +

    This article describes creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.

    +

    Previous tutorials described how to install OpenSceneGraph under Linux, macOS, Windows and render a model using the standard osgviewer tool. This time we worked on a sample OpenSceneGraph application that would run under Linux, macOS, Windows, and Android.

    +

    The application is very basic and has the following features:

    +
      +
    1. Render window creation
    2. +
    3. Model loading
    4. +
    5. Model rendering with simple GLSL shaders
    6. +
    7. Model motion with a mouse under Linux, macOS, Windows and a finger under Android
    8. +
    +

    Creating the tutorials for Linux, macOS, Windows was so easy and straightforward, that it only took us half a month. We spent the second half of the month creating Android tutorial.

    +

    Our first successful Android build last year included hacks and non-obvious steps to make OpenSceneGraph run under Android. This time we wanted a cleaner, faster, and cheaper approach.

    +

    The approach we ended up with requires just a few files and a few changes to the original Android Studio project (with C++ support) to make sample OpenSceneGraph application run under Android.

    +

    Here's a quick rundown of the files:

    +
      +
    1. GLES2 surface
    2. +
    3. Render activity to render to the surface
    4. +
    5. Native library Java interface
    6. +
    7. Native library C++ implementation
    8. +
    9. CMake file to build native library
    10. +
    11. Render activity layout
    12. +
    13. Model to display
    14. +
    +

    Here's a quick rundown of the project changes:

    +
      +
    1. Update Android manifest to use GLES2 and render activity
    2. +
    3. Reference native library's CMake file in the project's CMake file
    4. +
    +

    OpenSceneGraph documentation suggests building OpenSceneGraph outside Android Studio with CMake. However, this approach has the following limitations:

    +
      +
    1. You have to build OpenSceneGraph for each target architecture
    2. +
    3. You have to manually copy/reference built OpenSceneGraph libraries into Android Studio project
    4. +
    +

    Our approach includes building OpenSceneGraph for those target architectures that Android Studio project is built for. Also, OpenSceneGraph is already referenced, so no extra work is required: you just need to rebuild the project, and you're done.

    +

    That's it for describing the creation of the tutorials for building sample OpenSceneGraph application under Linux, macOS, Windows, and Android in April 2017.

    +

    Category: News + +

    + + + +
    +
    + + + + + +
    + + + +
    +
    +
    +
    +
    +

    Proudly powered by Pelican, which takes great advantage of Python.

    +
    +
    +
    + +
    \ No newline at end of file diff --git a/pages/about-ru.html b/pages/about-ru.html index 67abc94..6bec7bf 100644 --- a/pages/about-ru.html +++ b/pages/about-ru.html @@ -82,7 +82,6 @@ --> diff --git a/pages/about.html b/pages/about.html index 6447b3e..8eb36de 100644 --- a/pages/about.html +++ b/pages/about.html @@ -82,7 +82,6 @@ Recently we have released a mahjong solitaire game, it’s our first step in a l --> diff --git a/pages/projects-ru.html b/pages/projects-ru.html index 19809a4..db03dbe 100644 --- a/pages/projects-ru.html +++ b/pages/projects-ru.html @@ -103,7 +103,6 @@ --> diff --git a/pages/projects.html b/pages/projects.html index e463fe0..2e65962 100644 --- a/pages/projects.html +++ b/pages/projects.html @@ -102,7 +102,6 @@ --> diff --git a/scripting-research-ru.html b/scripting-research-ru.html index 3bcabcf..86a59a1 100644 --- a/scripting-research-ru.html +++ b/scripting-research-ru.html @@ -50,10 +50,10 @@ title="Permalink to Изучение скриптования">Изучение скриптования -
    Wed 16 August 2017 +
    Ср 16 Август 2017 en -

    Изучение скриптования

    +

    Изучение скриптования

    Эта статья описывает изучение скриптования в июле 2017.

    Наша основная цель использования скриптового языка - это наличие платформо-независимого кода, выполняемого без изменений на каждой поддерживаемой платформе.

    Редактор 0.10 использует Python в качестве подобного кода с помощью SWIG. SWIG позволяет использовать практически любой код C/C++ из языков вроде Python, Ruby, Lua, Java, C# и т.д.. SWIG помог нам впервые оценить прелесть платформо-независимого кода. К сожалению, SWIG работает лишь в одном направлении: из C/C++ в язык назначения. Это приводит к тому, что основное приложение должно быть написано на языке назначения, а код C/C++ может быть использован лишь в виде библиотеки.

    @@ -107,7 +107,6 @@ --> diff --git a/scripting-research.html b/scripting-research.html index 24610e6..b90524b 100644 --- a/scripting-research.html +++ b/scripting-research.html @@ -50,10 +50,10 @@ title="Permalink to Scripting research">Scripting research -
    Wed 16 August 2017 +
    Ср 16 Август 2017 ru -

    Scripting research

    +

    Scripting research

    This article describes scripting research in July 2017.

    Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

    OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any C/C++ code and use it in dozens of languages like Python, Ruby, Lua, Java, C#, etc.. SWIG really helped us taste the beauty of platform-independent code. However, SWIG only works one way: from C/C++ to a target language. This means the main application must be in the target language, and C/C++ code can only be used as a library.

    @@ -109,7 +109,6 @@ Next, we tried to inherit a class in Lua and override the class methods. We fail --> diff --git a/tags.html b/tags.html index e833c77..5e7c24d 100644 --- a/tags.html +++ b/tags.html @@ -67,7 +67,6 @@ -->