[yt-users] Volume rendering issues

Matthew Turk matthewturk at gmail.com
Thu Oct 14 14:04:00 PDT 2010


Hi Mike,

That sure does look wrong.  Can you tell me which version of the code
you're using?  I'll try to replicate it here.

You can get this info by executing:

yt instinfo

Thanks,

Matt

On Thu, Oct 14, 2010 at 1:59 PM, Mike Butler <butler85 at astro.ufl.edu> wrote:
> Hello,
>
> I am trying to make a movie of my data using the off-axis projection
> recipe in the cookbook.   The idea of what I am trying to do is make a 3D
> movie of my data rotating around an axis.   The script itself is located
> at the end of the email.  When 'n' is 0, the projection looks normal, but
> when L should be [0.1,0.5,1.0] and for the following steps, I get images
> that look like this:
> http://www.astro.ufl.edu/~butler85/images/frame_0001.png   which has what
> looks like strange bars running across it. Thanks in advance for any
> help/suggestions.
>
> -Mike
>
> for n in range(11):
>   ...:         pf=load("Cloud_128AMR4StarsFUV_0101")
>   ...:         tf=vr.ProjectionTransferFunction()
>   ...:         pf.field_info["Density"].take_log=False
>   ...:         c = [0.5,0.5,1.0]
>   ...:         L=[n*0.1,0.5,1.0]
>   ...:         W=0.8
>   ...:         Nvec = 512
>   ...:         vp=pf.h.volume_rendering(L,W,c,Nvec,tf,whole_box=True)
>   ...:         vp.ray_cast()
>   ...:         image=na.log10(vp.image[:,:,0])
>   ...:         iw.write_image(image,fn % (n))
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list