Skip to content

alanct-minted/vispy_osmesa_docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vispy OSMesa docker container

This is a Dockerfile that builds a docker container with OSMesa to test vispy offscreen rendering. Running in a docker container is a nice way to test that the osmesa vispy backend doesn't require an X server.

Quick usage :

  1. Checkout the osmesa vispy branch (in the same directory as the run.sh script)

    git clone -b osmesa git@github.com:julienr/vispy.git
    
  2. Start a bash shell in the container with ./run.sh

  3. Run the simple_osmesa.py example

    python examples/offscreen/simple_osmesa.py
    
  4. On your host machine, you should have a vispy/osmesa.png file that was created by the simple_osmesa.py script.

    It should look like this :

    expected osmesa.png image

About

Dockerfile for vispy osmesa development/test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 71.7%
  • Shell 24.3%
  • Makefile 4.0%