comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » VERT_COLORS Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
VERT_COLORS Problem [message #86631] Mon, 25 November 2013 02:03 Go to previous message
Udo Grabowski is currently offline  Udo Grabowski
Messages: 17
Registered: February 2000
Junior Member
Hi,

I struggle with an animated tool that uses the "new style"
surface function, and I'm trying to update the vert_colors
option (which is tagged as updateable in the docs), but
it does not work at all. What I'm doing wrong here ?

; boring flat grey semi-transparent surface
; (poor man's transparency, as always in IDL....)
v = dist(10)
rgba = intarr(4,100)
rgba[0:*,0:*] = 110
S = surface(v,vert_colors=rgba)

; update to light grey nearly transparent
rgba[0:*,0:*] = 210
S.vert_colors=rgba
; still the same boring grey !

I tried several variants, setting vert_colors to 0,
refresh, different sequences in doing that, using
S->SetProperty,vert_colors=..., etc.etc.,
no help, it seems that this is just an immutable
variable and the documentation is wrong.
Used to work with 8.1, tried that also with 8.2.3,
but the 8.2.x version is so utterly borked in 3D that even
reporting all bugs is far beyond my time constraints....

IDL is using the OpenGL hardware driver of my NVIDIA
Quadro 2000 (running the solaris 64-bit version on openindiana 151a7).
Any ideas how to get that working ?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Errorbar plot with max-min boundaries and bar plot with !P.Multi
Next Topic: IDL code - problem to convert string to float

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:58:25 PDT 2025

Total time taken to generate the page: 0.00225 seconds