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

Home » Public Forums » archive » Re: Question about using palettes with images and shader in object graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Question about using palettes with images and shader in object graphics [message #83277 is a reply to message #83273] Tue, 12 February 2013 10:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
M. Katz writes:

> When displaying an IDLgrImage with an associated IDLgrShader, is the IDLgrPalette functionality disabled?
>
> Without the shader, you can use oImage.SetProperty, PALETTE=oPalette to change the display's color scheme in an instant.
>
> But with IDLgrShader, I'm fearing that it's a much more difficult task that will require writing code in shader language, which I've never attempted before.
>
> Any thoughts?

Never done it, but just reading the documentation, I would expect you to
also have to replace the shader object after changing the palette, to
get the shader to use the palette.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL sites
Next Topic: IDL sites on WWW

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

Current Time: Sun Nov 30 22:50:09 PST 2025

Total time taken to generate the page: 0.87455 seconds