reversing [near, far] for volume rendering [message #30766] |
Tue, 14 May 2002 14:58  |
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  |
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  |
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
>
|
|
|