選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

2018-04-20-openscenegraph-examples.md 1.9KB

123456789101112131415161718192021222324252627282930313233343536
  1. Title: OpenSceneGraph cross-platform examples
  2. Date: 2018-04-20 00:00
  3. Category: News
  4. Slug: openscenegraph-examples
  5. Lang: en
  6. ![iOS Simulator renders a cube][screenshot]
  7. This article summarizes the work we did to produce the first two cross-platform OpenSceneGraph examples.
  8. By the time [the first technology demonstration of OGS Mahjong 2][tech-demo-1] has been released, we've already had [issue request][android-image-issue] (to explain how to load images with OpenSceneGraph on Android) hanging for some time. We considered creating a new tutorial for [OpenSceneGraph cross-platform guide][osgcpg] 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 [OpenSceneGraph cross-platform examples][osgcpe] were born.
  9. Each example:
  10. * explains crucial code necessary to perform a specific task
  11. * accents platform-specific nuances
  12. * provides implementations to cover desktop, mobile, and web platforms
  13. * provides a web build to showcase results
  14. The first two examples cover the following topics:
  15. * Embed resource into executable: this greatly simplifies resource handling across platforms
  16. * Use PNG images with PNG plugins: this explains the requirements necessary to build and use PNG plugins
  17. We will be adding new examples as we proceed with OGS Mahjong 2 development.
  18. That's it for summarizing the work we did to produce the first two cross-platform OpenSceneGraph examples.
  19. [screenshot]: ../../images/2018-04-20-openscenegraph-examples.png
  20. [tech-demo-1]: mahjong-techdemo1-gameplay.html
  21. [android-image-issue]: https://github.com/OGStudio/openscenegraph-cross-platform-guide/issues/4
  22. [osgcpg]: https://github.com/OGStudio/openscenegraph-cross-platform-guide
  23. [osgcpe]: https://github.com/OGStudio/openscenegraph-cross-platform-examples