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

Home » Public Forums » archive » ISurface issues
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: ISurface issues [message #44517 is a reply to message #44456] Tue, 21 June 2005 14:04 Go to previous messageGo to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Fri, 17 Jun 2005 11:37:46 -0500, Kenneth Bowman wrote:

> Not having time to write a 3-D viewer myself, I have been using ISurface
> to view some surface data. I have successfully texture-mapped data onto
> the surface and added a second, semi-transparent surface.
>
> Now to my questions and problems. This is IDL 6.1 on OS X 10.4.1.
>
> 1. I would like to add a title within the plot window, not just in the
> title bar of the window. Clicking on the text annotation tool gets me a
> text-insert cursor, but typing produces no text. (The straight line
> tool does not work, but the other drawing tools do.) In any case, I
> would prefer to add text programmatically, not interactively. (Text
> that does not rotate with the 3-D model.) Is there a simple way to do
> that?

For annotation text, you need to click in the view to locate the text
insert cursor before typing. Not sure if you did that. But it works for
me on 10.4 with IDL 6.1.

You might also be suffering from that "wm_click_through" nonsense that got
introduced with OS X 10.4. I tried to recreate your problem on my 10.4
machine with the wm_click_through preference both activated and
deactivated, with no luck. Maybe 10.4.1 is different from 10.4 in this
regard. But google for "wm_click_through" to learn more. But I think
that this is pretty unlikely to be the problem.

> 2. When I print, the graphic appears with a green background, not white
> as on the screen. The surface itself is draw in solid black, and the
> texture map is about half the size of the surface. That is, the texture
> map no longer lines up with the surface. This is printing to an HP
> Color LaserJet PS. Any advice?

The texture map problem was a bug that is now fixed in IDL 6.2. I think
that the only 6.1 workaround would be for you to pre-scale the texture to
dimensions that are both a power of 2.

I'm not certain about the green background problem; I didn't see it in IDL
6.1 or IDL 6.2. The issue rings a bell, but I couldn't find anything in
our bug database. What happens if you look at the xprinter.eps file with
the PDF/PS viewer? It may be interesting to try another printer.

> The graphic is also not scaled to the page. Is there some implicit dpi
> conversion going on?

There is a print preview facility in iTools that you might take a look at.

> 3. Is there any way to capture the window in a bitmap (e.g., TVRD)?
> Preferably programmatically.

From the File menu, there is an Export menu that will let you do this.

Karl
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: extract numbers from string
Next Topic: iSurface lighting questions

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

Current Time: Tue Oct 21 10:48:59 PDT 2025

Total time taken to generate the page: 2.32498 seconds