Ask Your Question
1

Viewing Stereographic Projection of an Image

asked 2012-03-24 18:15:43 +0100

Seikishi gravatar image

I'm trying to write a program that takes an image and projects it onto a sphere that I can then view using 3dplot. I'm using pylab to read the image, numpy to put it into an array and then a stereographic projection to actually project it onto a sphere. I'm fairly certain the program is working correctly.

The problem I have is that 3dplot is not letting me view an image. The plot doesn't load. I tried the tachyon viewer, and I could get an image of my picture on a sphere, but I would prefer if I had the ability to rotate the sphere that 3dplot provides. Is there a better way to accomplish what I'm trying other than using pylab? I don't know much about other python imaging systems.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-03-24 21:09:02 +0100

Jason Grout gravatar image

I don't think there is an easy way to get the current plot3d/jmol wrapper to display an image texture. I'm curious how you got it on the tachyon image. Did you use the plot3d command, or did you write your own tachyon file?

You might be interested in writing a bit of code to do a javascript webgl sphere. See http://stackoverflow.com/questions/69... and http://sagenb.org/home/pub/4176/ (for a demo of how to use it in Sage).

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

1 follower

Stats

Asked: 2012-03-24 18:15:43 +0100

Seen: 779 times

Last updated: Mar 24 '12