# Hello ... Question on Graphics

**URL:** <https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844>\
**Category:** Lounge\
**Created:** [June 29, 2021, 7:13pm UTC](https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844 "2021-06-29T19:13:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricrocasi](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@ricrocasi](https://forum.generic-mapping-tools.org/u/ricrocasi)\
**Post date:** [June 29, 2021, 7:13pm UTC](https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844/1 "2021-06-29T19:13:06Z")

</div>

New to GMT … stumbled across it looking for alternatives for Geosoft Oasis Montaj for crustal magnetic signal processing, gridding and mapping. Looks like a must have tool.

I do have a question on graphics. What graphics API does it use? I haven’t seen any documentation on that. I am an OpenGL enthusiast so was hoping that what is under the hood.

Looking forward to collaborating with the GMT community.

Cheers!  
Ric

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [June 29, 2021, 7:36pm UTC](https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844/2 "2021-06-29T19:36:30Z")

</div>

GMT was built to make publication-quality graphics and uses PostScript, from which we can derive PDR or rasters. It is not interactive graphics.

---

<div class="post-metadata">

**Author:** ![ricrocasi](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@ricrocasi](https://forum.generic-mapping-tools.org/u/ricrocasi)\
**Post date:** [June 30, 2021, 2:34pm UTC](https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844/3 "2021-06-30T14:34:46Z")

</div>

Got it … thank you. I imagine I could use GMT for the number crunching and then add my own OpenGL interactive graphics as well as graphical user interfaces (e.g., X-Windows). Do you have any advice on that approach?

---

<div class="post-metadata">

**Author:** ![Joaquim](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/joaquim/32/16_2.png) [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Post date:** [June 30, 2021, 3:07pm UTC](https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844/4 "2021-06-30T15:07:30Z")

</div>

Hi,  
I would be interested in that but X-Windows tech seems to be a dead end and not Windows friendly (fundamental for my interest). It’s almost unix only (I managed to make work simple things on Windows but it’s too painful), and Apple break it all the time (_vide_ painful life the MB-system users on Macs).

An alternative that I’ve been waiting to mature a bit more regarding widgets and menus is this [Julia package](http://makie.juliaplots.org/stable/). Note that [GMT.jl](https://github.com/GenericMappingTools/GMT.jl) already let GMT communicate with _Makie_. I can make 3D views spin amazingly fast, but did not advance in the path more then a prove of concept.

---

<div class="post-metadata">

**Author:** ![ricrocasi](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@ricrocasi](https://forum.generic-mapping-tools.org/u/ricrocasi)\
**Post date:** [July 26, 2021, 3:44pm UTC](https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844/5 "2021-07-26T15:44:29Z")

</div>

Hello again … I was wondering if it would be possible to obtain a few (maybe 30 or so) PostScript or JPEG samples that were produced by GMT … perhaps the earth rotating. I would like to incorporate an animation in an X-Windows/OpenGL display as a proof of concept to try to leverage GMT capabilities. I can display a texture map in OpenGL so I am thinking of using that mechanism for this. If there is a repository of sample files that someone can point out to me I’d greatly appreciate it. Thanks!

---

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [June 29, 2022, 6:41pm UTC](https://forum.generic-mapping-tools.org/t/hello-question-on-graphics/1844/7 "2022-06-29T18:41:07Z")

</div>

> **[Animation Gallery — GMT 6.5.0 documentation](https://docs.generic-mapping-tools.org/dev/animations.html)**
