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

Home » Public Forums » archive » Re: using irregularly spaced coordinates with ray-casting in iVolume
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: using irregularly spaced coordinates with ray-casting in iVolume [message #65529] Tue, 10 March 2009 18:59 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<876f0fb1-0416-4f50-9377-c36f914f4c1b@a5g2000pre.googlegroups.com>,
"brian.niebergal@gmail.com" <brian.niebergal@gmail.com> wrote:

> Hello everyone.
>
> I've seen a few similar posts to this one, but there doesn't seem to
> be a good (easy) answer that I can understand. :)
>
> How does one use irregularly spaced (xyz) coordinates with the
> IDLgrVolume ray-casting volume renderer?
> I haven't used any of IDL's 3D features before and so I'm kind of
> lost. Normally, using the "contour" command I would type something
> like:
>
> contour,3Ddata_slice,dim_x,dim_y
>
> where dim_x and dim_y are my irregularly spaced coordinates.
>
>
> If it helps, my data isn't completely irregular, that is to say there
> is an equation that dictates the spacing between adjacent coordinate
> points (involves a step function half-way through the data though).
>
> I realize the algorithm for accomplishing this with ray-casting is not
> trivial, but if anyone renders hydrodynamical simulations, using
> adaptive mesh refinement, they must also need this feature.
>
> It seems this is related to why the "logarithmic axis" option in axis
> properties is greyed out?
>
> Thank you,
> - Brian Niebergal
> PhD Student
> University of Calgary
> www.capca.ucalgary.ca/~bniebergal/

I am pretty sure that the volume renderer requires regular grids.

My suggestion is to create a regular grid from your irregular data
by interpolation.

Ken Bowman
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Multiple datasets
Next Topic: Re: Need Help Resolving ENDIF Errors

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

Current Time: Fri Oct 10 10:16:57 PDT 2025

Total time taken to generate the page: 0.62254 seconds