Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

openscenegraph-examples.html 4.2KB

vor 2 Monaten
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 class="header2">
  11. <div class="menu">
  12. <a href="../../en/news/index.html">News</a>
  13. <a href="../../en/game/index.html">Games</a>
  14. <a href="../../en/tool/index.html">Tools</a>
  15. <a href="../../en/page/about.html">About</a>
  16. </div>
  17. <div id="lang">
  18. <a href="../../en/news/openscenegraph-examples.html">EN</a>
  19. <a href="../../ru/news/openscenegraph-examples.html">RU</a>
  20. </div>
  21. <div class="clear"></div>
  22. </div>
  23. </div>
  24. <h3 class="left_item_title">In the news...</h3>
  25. <center>
  26. <div class="news_item">
  27. <h2 class="news_item_title">
  28. <a href="openscenegraph-examples.html">OpenSceneGraph cross-platform examples</a>
  29. </h2>
  30. <p class="news_item_date">
  31. 2018-04-20 00:00
  32. </p>
  33. <div class="news_item_contents">
  34. <p><img src="../../images/2018-04-20-openscenegraph-examples.png" alt="iOS Simulator renders a cube" /></p>
  35. <p>This article summarizes the work we did to produce the first two cross-platform OpenSceneGraph examples.</p>
  36. <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>
  37. <p>Each example:</p>
  38. <ul>
  39. <li>explains crucial code necessary to perform a specific task</li>
  40. <li>accents platform-specific nuances</li>
  41. <li>provides implementations to cover desktop, mobile, and web platforms</li>
  42. <li>provides a web build to showcase results</li>
  43. </ul>
  44. <p>The first two examples cover the following topics:</p>
  45. <ul>
  46. <li>Embed resource into executable: this greatly simplifies resource handling across platforms</li>
  47. <li>Use PNG images with PNG plugins: this explains the requirements necessary to build and use PNG plugins</li>
  48. </ul>
  49. <p>We will be adding new examples as we proceed with OGS Mahjong 2 development.</p>
  50. <p>That's it for summarizing the work we did to produce the first two cross-platform OpenSceneGraph examples.</p>
  51. </div>
  52. </div>
  53. <div id="disqus_thread"></div>
  54. <script>
  55. var disqus_config = function () {
  56. this.page.url = "https://opengamestudio.org/en/news/openscenegraph-examples.html";
  57. this.page.identifier = "openscenegraph-examples.html";
  58. };
  59. (function() { // DON'T EDIT BELOW THIS LINE
  60. var d = document, s = d.createElement('script');
  61. s.src = 'https://opengamestudio.disqus.com/embed.js';
  62. s.setAttribute('data-timestamp', +new Date());
  63. (d.head || d.body).appendChild(s);
  64. })();
  65. </script>
  66. <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  67. <div id="footer">
  68. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  69. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  70. </div>
  71. </center>
  72. </body>
  73. </html>