Files
ogs-site/openscenegraph-examples-ru.html
2018-08-21 13:14:12 +03:00

153 lines
7.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<title>Кросс-платформенные примеры OpenSceneGraph</title>
<link rel="stylesheet" href="http://opengamestudio.org/theme/css/normalize.css" />
<link rel="stylesheet" href="http://opengamestudio.org/theme/css/foundation.min.css" />
<link rel="stylesheet" href="http://opengamestudio.org/theme/css/style.css" />
<link rel="stylesheet" href="http://opengamestudio.org/theme/css/pygments.css" />
<script src="http://opengamestudio.org/theme/js/custom.modernizr.js"></script>
<!-- So Firefox can bookmark->"abo this site" -->
<link href="feeds/all.atom.xml" rel="alternate" title="Opensource Game Studio" type="application/atom+xml">
</head>
<body>
<!-- Nav Bar -->
<nav>
<!-- Show menu items and pages -->
<div class="row">
<div class="large-12 columns top-bar">
<h1><a href="http://opengamestudio.org">Opensource Game Studio</a></h1>
</div>
</div>
<div class="row top-menu">
<div class="large-12 columns">
<a href="/pages/projects.html" class="menu-button secondary">Projects</a>
<a href="/pages/about.html" class="menu-button secondary">About</a>
</div>
</div>
</nav>
<!-- End Nav -->
<!-- Main Page Content and Sidebar -->
<div class="row">
<!-- Main Blog Content -->
<div class="large-9 columns">
<article>
<header>
<h3 class="article-title"><a href="http://opengamestudio.org/openscenegraph-examples-ru.html" rel="bookmark"
title="Permalink to Кросс-платформенные примеры OpenSceneGraph">Кросс-платформенные примеры OpenSceneGraph</a></h3>
</header>
<h6 class="subheader" title="2018-04-20T00:00:00+03:00">Пт 20 апреля 2018
<a class="button secondary small translation-button" href="http://opengamestudio.org/openscenegraph-examples.html">en</a>
</h6> <p><img alt="Screenshot" src="http://opengamestudio.org/2018-04-20-openscenegraph-examples.png"></p>
<p>Эта статья резюмирует создание первых двух кросс-платформенных примеров
OpenSceneGraph.</p>
<p>К тому времени, как мы выпустили
<a href="http://opengamestudio.org/mahjong-techdemo1-gameplay-ru.html">первую техническую демонстрацию OGS Mahjong 2</a>, нас уже дожидался
<a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/issues/4">запрос на описание работы с изображениями</a> в
OpenSceneGraph на Android. Сначала мы рассматривали возможность создания нового
самоучителя для <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">кросс-платформенного руководства OpenSceneGraph</a>, но
позже мы оценили необходимые трудозатраты и посчитали их излишними для
освещения такой небольшой темы (по сравнению с тем, что умеет средняя игра)
как загрузка изображений. Мы решили продолжить делиться нашими знаниями в виде
конкретных примеров. Так на свет появились
<a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">кросс-платформенные примеры OpenSceneGraph</a>.</p>
<p>Каждый пример:</p>
<ul>
<li>объясняет критически важный код для выполнения поставленной задачи</li>
<li>акцентирует внимание на нюансах, специфичных для каждой платформы</li>
<li>предоставляет реализации примера для десктопа, мобилок и веба</li>
<li>предоставляет сборку для веба, чтобы упростить оценку результата</li>
</ul>
<p>Первая пара примеров освещает следующие темы:</p>
<ul>
<li>Встраивание ресурсов в исполняемый файл: значительное упрощение работы с ресурсами на всех платформах</li>
<li>Использование изображений PNG с помощью плагинов PNG: описание требований, необходимых для сборки и использования плагинов PNG</li>
</ul>
<p>Мы будем и впредь добавлять новые примеры по мере продвижения нашей разработки OGS Mahjong 2.</p>
<p>На этом мы заканчиваем резюме о создании первых двух кросс-платформенных примеров OpenSceneGraph.</p>
<p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
</p>
</article>
</div>
<!-- End Main Content -->
<!-- Sidebar -->
<aside class="large-3 columns">
<!--k
<h5 class="sidebar-title">Site</h5>
<ul class="side-nav">
<li><a href="http://opengamestudio.org/archives.html">Archives</a>
<li><a href="http://opengamestudio.org/tags.html">Tags</a>
<li><a href="http://opengamestudio.org/feeds/all.atom.xml" rel="alternate">Atom feed</a></li>
</ul>
<h5 class="sidebar-title">Categories</h5>
<ul class="side-nav">
<li><a href="http://opengamestudio.org/category/news.html">News</a></li>
</ul>
-->
<h5 class="sidebar-title">Ads</h5>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ogs2 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-4473792248813084"
data-ad-slot="9024247127"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside> <!-- End Sidebar -->
</div> <!-- End Main Content and Sidebar -->
<!-- Footer -->
<footer class="row">
<div class="large-12 columns">
<hr />
<div class="row">
<div class="large-7 columns">
<p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
</div>
</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-3773114-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</footer>