Volume Rendering + Log Scale Fails
Volume rendering of rectilinear grids using a log scale fails.
On Linux, the message is:
Warning: In /builds/gitlab-kitware-sciviz-ci/source-paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLVolumeLookupTable.cxx, line 87
vtkOpenGLVolumeRGBTable (0x1c23ade0): This OpenGL implementation does not support the required texture size of 134217728, falling back to maximum allowed, 32768.This may cause an incorrect lookup table mapping.
The render without a log scale is as follows:
Log scaling it gives:
I have also "rescaled to custom range" to remove any spurious zeros out of the dataset; no joy, the image is still black.
(I can share the data to reproduce with the assignee, but not with publicly.)
Extra information:
$ nvidia-smi
Mon Oct 5 16:10:41 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.100 Driver Version: 440.100 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 2070 Off | 00000000:65:00.0 On | N/A |
| 0% 48C P8 2W / 185W | 1379MiB / 7979MiB | 3% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1367 G /usr/lib/xorg/Xorg 40MiB |
| 0 1444 G /usr/bin/gnome-shell 114MiB |
| 0 14427 G /usr/lib/xorg/Xorg 398MiB |
| 0 14564 G /usr/bin/gnome-shell 363MiB |
| 0 30525 G ...Linux-Python3.7-64bit/bin/paraview-real 458MiB |
+-----------------------------------------------------------------------------+
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
The problem appears to be related to the background. If I log-scale with a white background, you can see that my color table is ignored and the image becomes black and white:
Edited by Nick Thompson