25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

80 satır
4.5KB

  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <head>
  5. <link rel="stylesheet" href="../../style.css">
  6. </head>
  7. <body>
  8. <script data-goatcounter="https://services.opengamestudio.org:443/count" async src="//services.opengamestudio.org:443/count.js"></script>
  9. <div id="header">
  10. <div>
  11. <strong id="title">Open Game Studio</strong>
  12. <div id="lang">
  13. <a href="../../en/news/openscenegraph-examples.html">EN</a>
  14. <a href="../../ru/news/openscenegraph-examples.html">RU</a>
  15. </div>
  16. </div>
  17. <div class="header2">
  18. <div class="menu">
  19. <a href="../../en/news/index.html">News</a>
  20. <a href="../../en/game/index.html">Games</a>
  21. <a href="../../en/tool/index.html">Tools</a>
  22. <a href="../../en/page/about.html">About</a>
  23. </div>
  24. <a class="discord" href="https://t.me/Tail_and_shadow">
  25. <img src="../../images/telegram.png"></img>
  26. </a>
  27. <div class="clear"></div>
  28. </div>
  29. </div>
  30. <h3 class="left_item_title">In the news...</h3>
  31. <center>
  32. <div class="news_item">
  33. <h2 class="news_item_title">
  34. <a href="openscenegraph-examples.html">OpenSceneGraph cross-platform examples</a>
  35. </h2>
  36. <p class="news_item_date">
  37. 2018-04-20 00:00
  38. </p>
  39. <div class="news_item_contents">
  40. <p><img src="../../images/2018-04-20-openscenegraph-examples.png" alt="iOS Simulator renders a cube" /></p>
  41. <p>This article summarizes the work we did to produce the first two cross-platform OpenSceneGraph examples.</p>
  42. <p>By the time <a href="mahjong-techdemo1-gameplay.html">the first technology demonstration of OGS Mahjong 2</a> has been released, we've already had <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/issues/4">issue request</a> (to explain how to load images with OpenSceneGraph on Android) hanging for some time. We considered creating a new tutorial for <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide">OpenSceneGraph cross-platform guide</a> at first. However, we realized that it's time-consuming and excessive for such a tiny topic (compared to what an average game has) as image loading. We decided to continue sharing our knowledge in the form of concrete examples. That's how <a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">OpenSceneGraph cross-platform examples</a> were born.</p>
  43. <p>Each example:</p>
  44. <ul>
  45. <li>explains crucial code necessary to perform a specific task</li>
  46. <li>accents platform-specific nuances</li>
  47. <li>provides implementations to cover desktop, mobile, and web platforms</li>
  48. <li>provides a web build to showcase results</li>
  49. </ul>
  50. <p>The first two examples cover the following topics:</p>
  51. <ul>
  52. <li>Embed resource into executable: this greatly simplifies resource handling across platforms</li>
  53. <li>Use PNG images with PNG plugins: this explains the requirements necessary to build and use PNG plugins</li>
  54. </ul>
  55. <p>We will be adding new examples as we proceed with OGS Mahjong 2 development.</p>
  56. <p>That's it for summarizing the work we did to produce the first two cross-platform OpenSceneGraph examples.</p>
  57. </div>
  58. </div>
  59. <div id="disqus_thread"></div>
  60. <script>
  61. var disqus_config = function () {
  62. this.page.url = "https://opengamestudio.org/en/news/openscenegraph-examples.html";
  63. this.page.identifier = "openscenegraph-examples.html";
  64. };
  65. (function() { // DON'T EDIT BELOW THIS LINE
  66. var d = document, s = d.createElement('script');
  67. s.src = 'https://opengamestudio.disqus.com/embed.js';
  68. s.setAttribute('data-timestamp', +new Date());
  69. (d.head || d.body).appendChild(s);
  70. })();
  71. </script>
  72. <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  73. <div id="footer">
  74. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  75. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  76. </div>
  77. </center>
  78. </body>
  79. </html>