It is currently 30 Sep 2020, 09:54

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  🡆 Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Creating planet using planetary ring Script

GIMP Tutorials
Forum rules
Tutorials must be created by you and your own idea.
If you got idea from elsewhere and revised your own version of tutorial, please include reference and credit original authors.
For example if you found a Photoshop tutorial and wanted to write a GIMP version, you must credit the original Photoshop tutorial.
Post Reply
trandoductin
Forum Member

Creating planet using planetary ring Script

Post#1 by trandoductin » 04 Oct 2016, 17:05


We'll be using the Planetary Ring System scheme script (by sambrookjm).
1. Open an image with a planet generally in the center of image with transparency around it. Here we're just going to use a planet-like image created using GIMP's Filters->Map Object->Sphere (from a square 600x600 image) (more details on Creating simple sphere in GIMP).
planetary_ring_01_open_image.png
planetary_ring_01_open_image.png (19.38 KiB) Viewed 3644 times
2. Run Filters->SambrookJM->Planet Rings...
Set image width and image height to match our planet's image. Set rotation angle to about 60 (you can try other settings but I like 60 it's nice)
planetary_ring_02_run_script_set_image_width_height_rotation_angle.png
planetary_ring_02_run_script_set_image_width_height_rotation_angle.png (23.5 KiB) Viewed 3644 times
3. Result after running script. You'll get a new image that has the ring on it.
planetary_ring_03_ring_result.png
planetary_ring_03_ring_result.png (197.98 KiB) Viewed 3644 times
4. Ctrl-A to select All of the ring image. Ctrl-C to copy the whole ring image. Go to image of our planet and Ctrl-V to paste it in there as Floating Selection.
planetary_ring_04_copy_and_paste_into_planet_image.png
planetary_ring_04_copy_and_paste_into_planet_image.png (102.48 KiB) Viewed 3644 times
5. Right click the floating selection and select "To New Layer". This puts the ring as a new layer on top of our planet.
planetary_ring_05_right_click_floating_selection_to_new_layer.png
planetary_ring_05_right_click_floating_selection_to_new_layer.png (74.84 KiB) Viewed 3644 times
6. Click on the planet layer. Right click and choose "Alpha To Selection" to select the planet.
planetary_ring_06_click_planet_layer_right_click_Alpha_to_selection.png
planetary_ring_06_click_planet_layer_right_click_Alpha_to_selection.png (105.7 KiB) Viewed 3644 times
7. Planet is selected.
planetary_ring_07_whole_planet_selected.png
planetary_ring_07_whole_planet_selected.png (194.25 KiB) Viewed 3644 times
8. Use the "Free Select Tool". Hold Ctrl key (on Windows) and click 4 points (plus returning to the first point) to select area that we do not want to cut away (area where ring is in front of planet, like polygon shown below. This will subtract area from selection.
planetary_ring_08_free_select_tool_Ctrl_click_the_4_points_to_select_area_we_want_in_front_of_planet.png
planetary_ring_08_free_select_tool_Ctrl_click_the_4_points_to_select_area_we_want_in_front_of_planet.png (85.19 KiB) Viewed 3644 times
9.We're left with half the planet selected including part of the ring that we're going to cut away.
planetary_ring_09_half_the_planet_remains_selected.png
planetary_ring_09_half_the_planet_remains_selected.png (77.36 KiB) Viewed 3644 times
10. Now click on the ring layer to select that layer.
planetary_ring_10_click_on_ring_layer.png
planetary_ring_10_click_on_ring_layer.png (79.58 KiB) Viewed 3644 times
11. Press "Delete" key (or Ctrl-X) to cut away that part of ring.
planetary_ring_11_delete_to_cut_away_portion_of_ring.png
planetary_ring_11_delete_to_cut_away_portion_of_ring.png (77.78 KiB) Viewed 3644 times
12. Now we can File->Export As (on Windows) as a planet with ring around it.
planetary_ring_12_export_as_png.png
planetary_ring_12_export_as_png.png (151.91 KiB) Viewed 3644 times
T.
please don't message me, message tim(admin) instead as I am tim(admin). I don't check this account very often.
To message tim(admin), click here. Thanks.
1

RJKD
Tutorial Creator

Post#2 by RJKD » 04 Oct 2016, 17:34


Thank you very much T :D
0

trandoductin
Forum Member

Post#3 by trandoductin » 04 Oct 2016, 17:40


You're welcome.
Thank you for asking, it gives me opportunity to add content to the forum. ;)
T.
please don't message me, message tim(admin) instead as I am tim(admin). I don't check this account very often.
To message tim(admin), click here. Thanks.
0

homer
Forum Member

Post#4 by homer » 04 Oct 2016, 18:05


I am planet.
iamplanet.jpg
iamplanet.jpg (143.99 KiB) Viewed 3634 times
0


GIMP/GL:  🡆 Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 17 guests