Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ParaView
ParaView
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,768
    • Issues 1,768
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 66
    • Merge Requests 66
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #17976

Closed
Open
Opened 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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: paraview/paraview#17976