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

Home » Public Forums » archive » How to create a transparent shadow on the PostScript device?
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: How to create a transparent shadow on the PostScript device? [message #67718 is a reply to message #67575] Mon, 10 August 2009 07:04 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
duxiyu@gmail.com writes:

> There is a method to create a transparent polygen in David's website.
> http://www.dfanning.com/code_tips/transpoly.html
>
> But it seems that it does not work on the PS device.
> Is there anyone who can give me a simple example of creating a
> transparent shadow on the PS device?

Well, you understand this article describes a hack, right?

But, that said, there is no reason it wouldn't also work
in PostScript. Of course, the problem is that we are
working in screen resolution, rather than PostScript
resolution. If you have plenty of memory, you could try
upping the resolution (maybe in the Z-graphics buffer),
or (and I think this is what I would try) just work
with the "image" inside the axes by using the parameters
to TVRead to take just the portion of the plot inside
the axes. Then, after transferring that to the PostScript
file as an image, add axes to the image using true PostScript
resolution.

Depending, of course, on what is inside the area of
the image you want to work with, this may or may not
give you an acceptable solution.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to create a evf?
Next Topic: values changed after using print

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

Current Time: Sat Oct 11 17:20:29 PDT 2025

Total time taken to generate the page: 0.00965 seconds