Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,960
    • Issues 1,960
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 97
    • Merge requests 97
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Gitlab will be updated February 2nd, between 8am and 9am EST (UTC-5). Gitlab will be offline during that time.

  • ParaViewParaView
  • ParaViewParaView
  • Issues
  • #17976
Closed
Open
Issue created Feb 07, 2018 by Dr. Fabian Proch@Fabian

Transparent geometries are not visible in screenshots generated from pvbatch/pvpython

When screenshots are generated with the 'SaveScreenshot' function using pvbatch/pvpython, transparent (opacity < 1) geometries are not visible when the newest paraview versions are used (tested for 5.4.1). However, when the screenshots are directly saved from the paraview gui, the transparent geometries are displayed properly.

This behavior is illustrated in Figs. 1 and 2 for a simple example consisting of a sphere inside a cylinder, where the cylinder has an opacity of 0.5. Figure 1 is generated with pvbatch using the attached python script Test.py, Fig. 2 is directly saved from the paraview gui. However, when a slightly older version of paraview is used (tested for 5.4.0), also pvbatch/pvpython produce the correct result, as shown in Fig. 3. This behavior might be related with the fix of the wrong colorbar scaling as described in issue #17938 (closed) .

Test.py

Figure 1: Screenshot generated with pvbatch version 5.4.1 using Test.py Fig_1

Figure 2: Screenshot saved from the paraview gui, version 5.4.1 Fig_2

Figure 3: Screenshot generated with pvbatch version 5.4.0 using Test.py Fig_3

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking