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 #83273 is a reply to message #83272] Tue, 12 February 2013 12:05 Go to previous messageGo to previous message
M. Katz is currently offline  M. Katz
Messages: 69
Registered: May 2005
Member
Here I'll answer my own question definitively from the IDL Help on IDLgrImage (See the last line):

PALETTE
An object reference to a palette object (an instance of the IDLgrPalette object class) that specifies the red, green, and blue values of the color lookup table to be associated with the image if it is an indexed color image. This property is ignored if the image is a greyscale or RGB image.

Note: This table is only used when the destination is an RGB model device. The Indexed color model writes the indices directly to the device. In order to ensure that these colors are used when the image is displayed, this palette must be copied to the graphics destination’s palette for any graphics destination that uses the Indexed color model.

Note: If a SHADER is associated with the image object, the palette is ignored.
[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: Sat Oct 11 13:15:45 PDT 2025

Total time taken to generate the page: 1.11776 seconds