Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

153 wiersze
5.9KB

  1. <!DOCTYPE html>
  2. <head>
  3. <meta charset="utf-8" />
  4. <!-- Set the viewport width to device width for mobile -->
  5. <meta name="viewport" content="width=device-width" />
  6. <title>OpenSceneGraph cross-platform examples</title>
  7. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/normalize.css" />
  8. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/foundation.min.css" />
  9. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/style.css" />
  10. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/pygments.css" />
  11. <script src="http://opengamestudio.org/theme/js/custom.modernizr.js"></script>
  12. <!-- So Firefox can bookmark->"abo this site" -->
  13. <link href="feeds/all.atom.xml" rel="alternate" title="Opensource Game Studio" type="application/atom+xml">
  14. </head>
  15. <body>
  16. <!-- Nav Bar -->
  17. <nav>
  18. <!-- Show menu items and pages -->
  19. <div class="row">
  20. <div class="large-12 columns top-bar">
  21. <h1><a href="http://opengamestudio.org">Opensource Game Studio</a></h1>
  22. </div>
  23. </div>
  24. <div class="row top-menu">
  25. <div class="large-12 columns">
  26. <a href="/pages/games.html" class="menu-button secondary">Games</a>
  27. <a href="/pages/education.html" class="menu-button secondary">Education</a>
  28. <a href="/pages/about.html" class="menu-button secondary">About</a>
  29. </div>
  30. </div>
  31. </nav>
  32. <!-- End Nav -->
  33. <!-- Main Page Content and Sidebar -->
  34. <div class="row">
  35. <!-- Main Blog Content -->
  36. <div class="large-9 columns">
  37. <article>
  38. <header>
  39. <h3 class="article-title"><a href="http://opengamestudio.org/openscenegraph-examples.html" rel="bookmark"
  40. title="Permalink to OpenSceneGraph cross-platform examples">OpenSceneGraph cross-platform examples</a></h3>
  41. </header>
  42. <h6 class="subheader" title="2018-04-20T00:00:00+03:00">Пт 20 апреля 2018
  43. <a class="button secondary small translation-button" href="http://opengamestudio.org/openscenegraph-examples-ru.html">ru</a>
  44. </h6> <p><img alt="Screenshot" src="http://opengamestudio.org/2018-04-20-openscenegraph-examples.png"></p>
  45. <p>This article summarizes the work we did to produce the first two
  46. cross-platform OpenSceneGraph examples.</p>
  47. <p>By the time <a href="http://opengamestudio.org/mahjong-techdemo1-gameplay.html">the first technology demonstration of OGS Mahjong 2</a>
  48. has been released, we've already had <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/issues/4">issue request</a>
  49. (to explain how to load images with OpenSceneGraph on Android) hanging for some
  50. time. We considered creating a new tutorial for
  51. <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a> at first. However, we realized
  52. that it's time-consuming and excessive for such a tiny topic (compared to
  53. what an average game has) as image loading. We decided to continue sharing our
  54. knowledge in the form of concrete examples. That's how
  55. <a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">OpenSceneGraph cross-platform examples</a> were born.</p>
  56. <p>Each example:</p>
  57. <ul>
  58. <li>explains crucial code necessary to perform a specific task</li>
  59. <li>accents platform-specific nuances</li>
  60. <li>provides implementations to cover desktop, mobile, and web platforms</li>
  61. <li>provides a web build to showcase results</li>
  62. </ul>
  63. <p>The first two examples cover the following topics:</p>
  64. <ul>
  65. <li>Embed resource into executable: this greatly simplifies resource handling across platforms</li>
  66. <li>Use PNG images with PNG plugins: this explains the requirements necessary to build and use PNG plugins</li>
  67. </ul>
  68. <p>We will be adding new examples as we proceed with OGS Mahjong 2 development.</p>
  69. <p>That's it for summarizing the work we did to produce the first two cross-platform OpenSceneGraph examples.</p>
  70. <p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  71. </p>
  72. </article>
  73. </div>
  74. <!-- End Main Content -->
  75. <!-- Sidebar -->
  76. <aside class="large-3 columns">
  77. <!--k
  78. <h5 class="sidebar-title">Site</h5>
  79. <ul class="side-nav">
  80. <li><a href="http://opengamestudio.org/archives.html">Archives</a>
  81. <li><a href="http://opengamestudio.org/tags.html">Tags</a>
  82. <li><a href="http://opengamestudio.org/feeds/all.atom.xml" rel="alternate">Atom feed</a></li>
  83. </ul>
  84. <h5 class="sidebar-title">Categories</h5>
  85. <ul class="side-nav">
  86. <li><a href="http://opengamestudio.org/category/news.html">News</a></li>
  87. </ul>
  88. -->
  89. <h5 class="sidebar-title">Ads</h5>
  90. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  91. <!-- ogs2 -->
  92. <ins class="adsbygoogle"
  93. style="display:block"
  94. data-ad-client="ca-pub-4473792248813084"
  95. data-ad-slot="9024247127"
  96. data-ad-format="auto"></ins>
  97. <script>
  98. (adsbygoogle = window.adsbygoogle || []).push({});
  99. </script>
  100. </aside> <!-- End Sidebar -->
  101. </div> <!-- End Main Content and Sidebar -->
  102. <!-- Footer -->
  103. <footer class="row">
  104. <div class="large-12 columns">
  105. <hr />
  106. <div class="row">
  107. <div class="large-7 columns">
  108. <p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
  109. </div>
  110. </div>
  111. </div>
  112. <script type="text/javascript">
  113. var _gaq = _gaq || [];
  114. _gaq.push(['_setAccount', 'UA-3773114-1']);
  115. _gaq.push(['_trackPageview']);
  116. (function() {
  117. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  118. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  119. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  120. })();
  121. </script>
  122. </footer>