again: Z-Buffer problem [message #15833] |
Wed, 16 June 1999 00:00 |
Harald von der Osten-
Messages: 15 Registered: February 1999
|
Junior Member |
|
|
Hi Specialists,
several days ago I observed that if one chooses the background to be
white, the background of the Z-buffer picture will be blue. I could fix
it at least by choosing the background to be 254, not to be 255 and it
worked.
But now there is another problem and I don't know how to fix it after
working on it for hours. It works fine, but not with the Z-buffer:
I want to create a contour-plot as a combination of filled contours and
line-plots with white and black lines respectively:
create_view,zfac=0.0,ax=-70.0,az=20.0,zoom=0.8,xmax=500,ymax =400,zmax=5,winx=750,winy=600
; filled contours
contour,r,levels=findgen(60)*0.1+0.0,color=0,background=254, $
c_colors=[findgen(60)*5+0.0],nlevels=60,/fill
; white contours
contour,r,levels=findgen(60)*0.25,color=254,background=254,n levels=60,/noerase
;black contours
!P.THICK=2.0
contour,r,levels=findgen(6)*1,color=0,background=254,nlevels =6,/noerase
But the Z-buffer shows only the filled contour-plot. The result is the
same as if I delete the second and third contour-instruction.
By the way changing the thickness of the lines with !p.thick doesn�t
affect the z-buffer-image, but the "normal" image...
The question is: How can I manage this problem???
Thanks a lot for every hint
Harald
|
|
|