-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphics: Add rings to gas giants #90
Comments
You would think that the vpython.ring() object would be perfect. Unfortunately, vpython.ring() is a torus rather than a flat ring. So far, my best guess is a circular extrusion with a circular cutout: #PLANET #RINGS ex = extrusion(path=expath,shape=[outer_circ,inner_circ],texture='saturn_circle.png') |
I opened a question in the vpython group. Bruce Sherwood provided the following response: https://groups.google.com/d/msgid/vpython-users/af60d67a-e448-49ae-b646-67f292fe92d9o%40googlegroups.com?utm_medium=email&utm_source=footer I generated some rings like this: scene.width = scene.height = 1000 It looks like this: Then moved rings.png from Downloads to my program folder and executed this: extrusion(path=[vec(0,0,0), vec(0,0,1)], It looks like this: What I don't know is how to take an arbitrary image and manipulate its formatting. But my experience suggests that if you can find some way to display the image you want, in some app or other, you could capture that image and use it in the extrusion. Bruce |
I downloaded the saturn map and saturn ring color from: http://planetpixelemporium.com/saturn.html I used the tiled clones feature in inkscape to revolve the saturn ring colour image Based on Bruce's response, I think I can make a texture in inkscape by revolving the saturn ring color image, but I need to leave a circular hole in the middle that is the same size as the circular cutout. |
bless bruce, he's a great guy |
Add ring structures to the solar system gas giants. Spectacle! Realism!
The text was updated successfully, but these errors were encountered: