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

Home » Public Forums » archive » 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: Z-Buffer [message #8175 is a reply to message #6727] Wed, 12 February 1997 00:00 Go to previous messageGo to previous message
J.D. Smith is currently offline  J.D. Smith
Messages: 214
Registered: August 1996
Senior Member
G.M.Sigut wrote:
>

> The following might be a (beginning of a) solution:
>
> I took the example "as is", added some test data generation, made it
> work and then commented. I doubled the example to have two drawings
> under each other, which is (I presume) the goal. I did NOT try to
> make the whole thing look nice, but just made it work. The original
> text starts with an offset, practically all my additions start in


That solution did the trick! I modified it slightly however -- instead
of forcing the PS page to conform to the dimensions of the Z-buffer, I
set the resolution of the z-buffer to conform to the ratio of my output
page.

The key to the solution was, however, that, inside the z-buffer, my
plotting routine obeyed to !P.POSITION variable, since it used
shade_surf only. This is a fine solution to this problem (and I wish I
had thought of it), but it doesn't address the following larger issue:
suppose what you needed to put into postscript was *actually* generated
from some image command, and not a plotting command. For a specific
example, suppose you had a galaxy survey with three dimension ( ra, dec,
and redshift) as an image, and you wanted to overlay axes. Getting the
axes registered to the image is difficult, it seems to me, because of
this dichotomy between plot and image positioning paradigms. But maybe
I'm just missing something obvious. Anyway, some food for thought.

Thanks for the help,

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 'ffff'x is negative in 5.2 positive in 5.2.1
Next Topic: 3d-polar

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

Current Time: Fri Oct 10 23:00:59 PDT 2025

Total time taken to generate the page: 0.72234 seconds