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

Home » Public Forums » archive » Re: strange behaviour with z-buffer
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: strange behaviour with z-buffer [message #11939 is a reply to message #11938] Mon, 08 June 1998 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mark Rivers (rivers@cars3.uchicago.edu) adds good advice
to this thread when he writes:

> Different devices can also have different default font
> sizes, so one needs to be careful of this.

The reality is even more sinister than this. I haven't
checked this out in IDL 5.1, but in earlier versions
I have had great difficulty getting 3D axes aligned
properly as I go back and forth in the Z-buffer.

I notice this particularly when I am trying to add axes
to something I need to render in the Z-buffer. (I don't
like to add axes in the Z-buffer because the resolution
in PostScript will be screen resolution and not PostScript
resolution.)

I have solved this problem (I don't know why, exactly)
by making sure I set !P.Charsize = 1 before I enter the
Z-buffer. This seems to make sure that the default
plot margins are set the same way as they are outside
the Z-buffer.

Just one of those weird things you spend about 3 days
learning on your own. Since I screwed up so badly
offering advice today, I thought I would share
something that I normally only offer to the people
who come to my IDL programming classes. :-)

Cheers,

David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL and COM
Next Topic: Upgrade from 3.6

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

Current Time: Sun Oct 12 13:52:58 PDT 2025

Total time taken to generate the page: 1.27815 seconds