Ask Your Question
1

Add text to Tachyon image?

asked 2012-09-16 21:00:10 +0200

araichev gravatar image

Hi folks, is there a way to add text to Tachyon images? I tried

S = sphere(opacity=0.8, aspect_ratio=[1,1,1])
T = text3d('hello world', (2,2,2))
M = S + T
M.show(viewer='tachyon', frame=False)

in the Sage notebook, but that didn't work. Got a sphere but no text. I also searched the docs, but couldn't find anything relevant.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-09-17 07:14:09 +0200

Volker Braun gravatar image

Text in raytraced scenes isn't supported at the moment.

edit flag offensive delete link more
1

answered 2012-09-21 11:46:23 +0200

niles gravatar image

Indeed, Sage hasn't implemented this. When I really want text, I post-process the images with convert -annotate.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-09-16 21:00:10 +0200

Seen: 350 times

Last updated: Sep 21 '12