[GRASS-dev] [GRASS GIS] #2117: GRASS 7: NVIZ: Transparency error for constant surface in

#2117: GRASS 7: NVIZ: Transparency error for constant surface in
----------------------+-----------------------------------------------------
Reporter: richardc | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: NVIZ | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------
Hi,

I notice that setting the constant surface transparency to any value other
that zero, causes the constant surface to disappear above a raster layer.
The surface remains visible surrounding the image. Only if the constant
surface is given a transparency of zero (i.e., 100% opaque) is it possible
to position above a raster image.

GRASS 7.0.svn (version 57721)
Linux Mint 13 (ubuntu precise)

Richard

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2117&gt;
GRASS GIS <http://grass.osgeo.org>

#2117: GRASS 7: NVIZ: Transparency error for constant surface in
----------------------+-----------------------------------------------------
Reporter: richardc | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: NVIZ | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------

Comment(by hamish):

see also #2175, since it is also seen from the command line with
m.nviz.image, the root cause seems to be in the ogsf library functions.

what happens is the transparent planar surface is rendered first, then the
DEM is rendered over the top of it, instead of the DEM being rendered
first then the the transparent planar surface rendered through it.

Similar behaviour is also seen for #2175 in devbr6, and perhaps 6.4 too
(untested).

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2117#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>