Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Title: OpenSceneGraph cross-platform examples
  2. Date: 2018-04-20 00:00
  3. Category: News
  4. Slug: openscenegraph-examples
  5. Lang: en
  6. ![Screenshot][screenshot]
  7. This article summarizes the work we did to produce the first two
  8. cross-platform OpenSceneGraph examples.
  9. By the time [the first technology demonstration of OGS Mahjong 2][tech-demo-1]
  10. has been released, we've already had [issue request][android-image-issue]
  11. (to explain how to load images with OpenSceneGraph on Android) hanging for some
  12. time. We considered creating a new tutorial for
  13. [OpenSceneGraph cross-platform guide][osgcpg] at first. However, we realized
  14. that it's time-consuming and excessive for such a tiny topic (compared to
  15. what an average game has) as image loading. We decided to continue sharing our
  16. knowledge in the form of concrete examples. That's how
  17. [OpenSceneGraph cross-platform examples][osgcpe] were born.
  18. Each example:
  19. * explains crucial code necessary to perform a specific task
  20. * accents platform-specific nuances
  21. * provides implementations to cover desktop, mobile, and web platforms
  22. * provides a web build to showcase results
  23. The first two examples cover the following topics:
  24. * Embed resource into executable: this greatly simplifies resource handling across platforms
  25. * Use PNG images with PNG plugins: this explains the requirements necessary to build and use PNG plugins
  26. We will be adding new examples as we proceed with OGS Mahjong 2 development.
  27. That's it for summarizing the work we did to produce the first two cross-platform OpenSceneGraph examples.
  28. [screenshot]: {attach}/images/2018-04-20-openscenegraph-examples.png
  29. [tech-demo-1]: {filename}/articles/2018-02-16-mahjong-techdemo1-gameplay.md
  30. [android-image-issue]: https://github.com/OGStudio/openscenegraph-cross-platform-guide/issues/4
  31. [osgcpg]: https://github.com/OGStudio/openscenegraph-cross-platform-guide
  32. [osgcpe]: https://github.com/OGStudio/openscenegraph-cross-platform-examples