I have added a patch that fixes this, available at:

http://trac.sagemath.org/sage_trac/raw-attachment/ticket/6542/trac_6542_tachyon_tostr.patch

Since tachyon is currently broken on all systems in sage-4.1, I fixed
the immediate problem rather than taking the time to improve the
testing of tachyon.py.  That is now trac ticket #6542:

http://trac.sagemath.org/sage_trac/ticket/6542

If anyone has already started fixing the coverage of the tachyon.py
files, please let me know so I don't duplicate effort.

-Marshall Hampton

On Jul 16, 6:50 am, Marshall Hampton <hampto...@gmail.com> wrote:
> Works OK for me on a mac running 4.0.1, but doesn't work on sagenb
> running 4.1, so I would guess this is an issue with 4.1.
>
> I have made this trac ticket 
> #6542:http://trac.sagemath.org/sage_trac/ticket/6542
>
> -Marshall Hampton
>
> On Jul 16, 5:44 am, Paul Sargent <psa...@gmail.com> wrote:
>
> > Hi all,
>
> > I've just tried to re-run an old worksheet that uses Tachyon to
> > raytrace an image. I believe it worked a few versions ago, but on
> > version 4.1 under Mac OS X (64 bit intel) I no longer get any output.
> > No error. No image.
>
> > Is anybody else having this?
>
> > t6 = Tachyon(camera_center=(0,-4,1), xres = 200, yres = 150, raydepth
> > = 12, aspectratio=.75, antialiasing = True)
> > t6.light((0.02,0.012,0.001), 0.01, (1,0,0))
> > t6.light((0,0,10), 0.01, (0,0,1))
> > t6.texture('s', color = (.8,1,1), opacity = .9, specular = .95,
> > diffuse = .3, ambient = 0.05)
> > t6.texture('p', color = (0,0,1), opacity = 1, specular = .2)
> > t6.sphere((-1,-.57735,-0.7071),1,'s')
> > t6.sphere((1,-.57735,-0.7071),1,'s')
> > t6.sphere((0,1.15465,-0.7071),1,'s')
> > t6.sphere((0,0,0.9259),1,'s')
> > t6.plane((0,0,-1.9259),(0,0,1),'p')
> > t6.show()
>
> > Paul
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to