# Modeling and Simulation Group Meeting

#### Some tools for scientific computer graphics

**Speaker:**
Sophie Marbach, Georg Stadler, Aleks Donev and Brennan Sprinkle

**Location:**
Warren Weaver Hall 1314

**Date:**
Thursday, February 18, 2021, 12:30 p.m.

**Synopsis:**

1. Sophie Marbach: Enhancing the quality of your figures in papers and presentations

__Basic tools__

__Other simple tools worth__

__knowing__

__3D illustrations__

==================

2. Georg Stadler: Plots in LaTex

TikZ and PGF (https://en.wikipedia.org/wiki/PGF/TikZ, https://texample.net/tikz/) are standard LaTeX package that allow to make clean plots and graphics directly in LaTeX. There’re many examples to start with (https://texample.net/tikz/examples/all/). It’s powerful and well documented (overview slides: https://www.math.uni-leipzig.de/~hellmund/LaTeX/pgf-tut.pdf). I mainly use it for high-quality line graphics in papers and talks. All journals and the arXiv allows submissions that include TikZ/PGF.

==================

3. Aleks Donev: Hardware rendering for OpenGL

I will explain briefly what OpenGL is (including the Mesa implementation), and demo some tools for testing the speed of your graphics hardware, which is crucial for efficient 3D real-time graphics (on ubuntu, install the package glmark2). You are unlikely to call OpenGL directly yourself (and if you do, you will need at least a window manager tool like freeglut or GLFW), and instead you are more likely to use it indirectly via other software (see next two demos) or via a library like VTK, which "adds a rendering abstraction layer over the underlying graphics library (OpenGL for the most part). This higher level simplifies the task of creating compelling visualizations...In VTK, 3D widgets, interactors, and interfaces to 2D widget libraries like Qt enable you to add comprehensive user interaction to your programs."

==================

4. Brennan Sprinkle: Raytracing for high-quality 3D rendering with Plotoptix, a simple to use python package for high fidelity data visualization. It uses a lighting algorithm called 'ray-tracing' which is computationally expensive but produces very realistic looking results. It's typically best suited for visualizations involving simple geometric objects like spheres, quadrilaterals, space-curves, or surfaces of the form z = F(x,y). In these contexts Plotoptix provides easy presets to make plots look great with minimal effort.

For molecular-type models involving particles, see the tool ovito.

==================

3. Aleks Donev (if there is time left): Scientific dataset visualization

I will very briefly demo the scientific dataset visualization software VisIt, but also see Paraview (which is based on VTK).