[yt-users] Volume rendering issues
Mike Butler
butler85 at astro.ufl.edu
Thu Oct 14 14:15:22 PDT 2010
Sure. I thought I had upgraded to 2.0 but apparently not...think
upgrading might fix it?
Path: /home/butler85/yt/src/yt-1.7-svn
URL: http://svn.enzotools.org/yt/branches/yt-1.7
Repository Root: http://svn.enzotools.org/yt
Repository UUID: a79caf2f-f534-0410-a086-a967bc00d294
Revision: 1777
Node Kind: directory
Schedule: normal
Last Changed Author: mturk
Last Changed Rev: 1776
Last Changed Date: 2010-06-27 02:14:21 -0400 (Sun, 27 Jun 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
>>
> _______________________________________________
> 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