First time here? Check out the FAQ!

Ask Your Question
1

Add text to Tachyon image?

asked 12 years ago

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.

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 12 years ago

Volker Braun gravatar image

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

Preview: (hide)
link
1

answered 12 years ago

niles gravatar image

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

Preview: (hide)
link

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: 12 years ago

Seen: 465 times

Last updated: Sep 21 '12