|
- <!DOCTYPE html>
- <html>
- <meta charset="utf-8">
- <head>
- <link rel="stylesheet" href="../../style.css">
- </head>
- <body>
- <script data-goatcounter="https://services.opengamestudio.org:443/count" async src="//services.opengamestudio.org:443/count.js"></script>
- <div id="header">
- <div>
- <strong id="title">Open Game Studio</strong>
- <div id="lang">
- <a href="../../en/news/openscenegraph-examples.html">EN</a>
- <a href="../../ru/news/openscenegraph-examples.html">RU</a>
- </div>
- </div>
- <div class="header2">
- <div class="menu">
- <a href="../../en/news/index.html">News</a>
- <a href="../../en/game/index.html">Games</a>
- <a href="../../en/tool/index.html">Tools</a>
- <a href="../../en/page/about.html">About</a>
- </div>
- <a class="discord" href="https://discord.gg/3A6THQabNf">
- <img src="../../images/discord.png"></img>
- </a>
- <div class="clear"></div>
- </div>
- </div>
- <center>
- <h1>In the news...</h1>
- <div class="news_item">
- <h2 class="news_item_title">
- <a href="openscenegraph-examples.html">OpenSceneGraph cross-platform examples</a>
- </h2>
- <p class="news_item_date">
- 2018-04-20 00:00
- </p>
- <div class="news_item_contents">
- <p><img src="../../images/2018-04-20-openscenegraph-examples.png" alt="iOS Simulator renders a cube" /></p>
- <p>This article summarizes the work we did to produce the first two cross-platform OpenSceneGraph examples.</p>
- <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>
- <p>Each example:</p>
- <ul>
- <li>explains crucial code necessary to perform a specific task</li>
- <li>accents platform-specific nuances</li>
- <li>provides implementations to cover desktop, mobile, and web platforms</li>
- <li>provides a web build to showcase results</li>
- </ul>
- <p>The first two examples cover the following topics:</p>
- <ul>
- <li>Embed resource into executable: this greatly simplifies resource handling across platforms</li>
- <li>Use PNG images with PNG plugins: this explains the requirements necessary to build and use PNG plugins</li>
- </ul>
- <p>We will be adding new examples as we proceed with OGS Mahjong 2 development.</p>
- <p>That's it for summarizing the work we did to produce the first two cross-platform OpenSceneGraph examples.</p>
- </div>
- </div>
- <div id="footer">
- The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
- from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
- The site is hosted by <a href="https://pages.github.com">GitHub Pages</a>.
- </div>
- </center>
- </body>
- </html>
|