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

Home » Public Forums » archive » reversing [near, far] for volume rendering
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reversing [near, far] for volume rendering [message #30766] Tue, 14 May 2002 14:58 Go to next message
Delia McGarry is currently offline  Delia McGarry
Messages: 2
Registered: May 2002
Junior Member
Hi,
In an IDLgrVolume I want to switch the direction of the volume
rendering, so that the rendered volume is displayed with the first
z-slice near the viewer rather than at the back. Switching the order of
the data is not an option. Does anyone know how to adjust the
[near,far] or have any suggestions?
Thanks,
Delia
Re: reversing [near, far] for volume rendering [message #30774 is a reply to message #30766] Fri, 17 May 2002 16:20 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Rick Towler" <rtowler@u.washington.edu> wrote in message
news:ac3l61$1u84$1@nntp6.u.washington.edu...
> Since you didn't like Ronn's post and nobody else is taking a shot I'll
> venture a guess.
>
> I don't typically work with volumes nor do I understand the details of
their
> rendering but I don't think you can change the Z order of the volume
> rendering. The volume has to be rendered far to near so transparency is
> rendered correctly. But maybe I am misinterpreting what you are asking.
>
> I think your only choice is to manipulate the data.
>
> But then again, I am stretching here. Too bad Karl didn't chime in.

How about setting this property on your volume object::

ZCOORD_CONV=[0,-1]

If this causes an unwanted shift in the volume location, change the zero
to -Z, where Z is the length of the volume in Z.
Re: reversing [near, far] for volume rendering [message #30783 is a reply to message #30766] Fri, 17 May 2002 12:20 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Since you didn't like Ronn's post and nobody else is taking a shot I'll
venture a guess.

I don't typically work with volumes nor do I understand the details of their
rendering but I don't think you can change the Z order of the volume
rendering. The volume has to be rendered far to near so transparency is
rendered correctly. But maybe I am misinterpreting what you are asking.

I think your only choice is to manipulate the data.

But then again, I am stretching here. Too bad Karl didn't chime in.

-Rick


"Delia McGarry" <mcgarry@nih.gov> wrote in message
news:3CE1887C.E6B86776@nih.gov...
> Hi,
> In an IDLgrVolume I want to switch the direction of the volume
> rendering, so that the rendered volume is displayed with the first
> z-slice near the viewer rather than at the back. Switching the order of
> the data is not an option. Does anyone know how to adjust the
> [near,far] or have any suggestions?
> Thanks,
> Delia
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Digital maintenance handbook
Next Topic: Re: sample mean and parametric mean?

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

Current Time: Wed Oct 08 19:34:09 PDT 2025

Total time taken to generate the page: 0.00540 seconds