Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

anim10.rst 1.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  1. .. _anim10:
  2. (10) The effect of sub-pixeling
  3. ===============================
  4. GMT animations all start with designing plots that are created using the
  5. PostScript language. It is therefore vector graphics with no limitations
  6. imposed by pixel resolutions. However, to make an animation we must render
  7. these PostScript plots into raster images (we use PNG) and a pixel resolution
  8. enters. Unlike printed media (laserwriters), the dots-per-unit in an animation
  9. is much lower, and compromizes are made when vector graphics must be turned
  10. into pixels. GMT's movie module (and psconvert for still images) offers the
  11. option of sub-pixeling. It means the image is temporarily enlarged to have
  12. more pixels than requested, then shrunk back down. These steps tend to make
  13. the lower-resolution images better than the raw rendering. Here we show
  14. the effect of different sub-pixel settings - notice how the movies with
  15. little or no sub-pixeling "jitters" as time goes by.
  16. The resulting movie was presented at the Fall 2019 AGU meeting in an eLighting talk:
  17. P. Wessel, 2019, GMT science animations for the masses, Abstract IN21B-11.
  18. The finished movie is available in our YouTube channel as well:
  19. https://youtu.be/FLzYVo7wXAg
  20. The movie took ~2 minutes to render on a 24-core MacPro 2013.
  21. Demonstrate the effect of sub-pixeling
  22. .. literalinclude:: /_verbatim/anim10.txt
  23. :language: bash
  24. .. youtube:: FLzYVo7wXAg
  25. :width: 100%
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...