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

Home » Public Forums » archive » Re: working on multiple z buffers at once?
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: working on multiple z buffers at once? [message #75128 is a reply to message #75059] Thu, 17 February 2011 06:42 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeremy Bailin writes:

> NG isn't an option yet (sysadmin hasn't gotten around to upgrading. I think it's time to prod him). CG would probably work if there was a programmatic way to tell a cgWindow "output the display to a postscript file", but I don't think there is (David?).

You can now use the CREATE_PS keyword with cgControl
to pass the name of a PostScript file. Using this keyword
will automatically and programmatically cause the cgWindow
app to create a PostScript file of its commands.

IDL> cgPlot, cgDemoData(1), /Window
IDL> cgControl, Create_PS='test.ps'

Get an updated Library, because I found an odd problem in
cgDefCharsize that I still don't understand. I modified
cdDefCharsize recently to use Str_Size to create default
character sizes for the Coyote Graphics routines. This
allows the text to get bigger when the window gets bigger,
and vice versa. But, for reasons I don't fully understand,
using Str_Size in a PostScript context causes an extra
page of PostScript to be produced. For the moment, I've
disabled its use in PostScript, which--as it happens--I
didn't need anyway. So, the problem is fixed, although I
don't completely understand why. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Resizeable Graphics window
Next Topic: Re: Yesterday's Coyote Graphics Update

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

Current Time: Sat Oct 11 00:51:34 PDT 2025

Total time taken to generate the page: 0.00781 seconds