It is currently 04 Jun 2020, 15:29

• 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

plane 3D Plug-in

Share your Python Fu Scripts/plug-ins for GIMP here
Post Reply
tim
GL Blogger

plane 3D Plug-in

Post#1 by tim » 11 May 2017, 20:43


This creates a 3d plane grid similar to effect found here http://gimplearn.net/viewtopic.php?t=573#p4386
3d_plane.zip
zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(1.76 KiB) Downloaded 123 times
3d_plane (2).zip
version 2, Higher heights
(1.77 KiB) Downloaded 100 times
3d_plane (3).zip
version 3: supports texture layer.
(1.84 KiB) Downloaded 139 times
3d_plane.py
version 4: Support Texture layer, Works in GIMP 2.10.12 Static view but looks good of 20 pixel height (You can change the height in script if you want the first line it says heightrange=20)
(3.66 KiB) Downloaded 73 times
Script Menu Location: Python-Fu/Plane 3D...

Script options:
plane3d_options.jpg
plane3d_options.jpg (21.15 KiB) Viewed 4049 times


Instructions:
1) Create a layer that has white/black (grayscale values) (UPDATE or color it'll just use average value of RGB value) to use as height indication like similar to sample shown below.
2) Run script on that layer (version 4 doesn't ask for anything but texture layer which can be the same layer in step 1).
3) Let the magic happen on a new image using foreground and background color.

Sample run (version 1).
Before:
plane3d_before.jpg
plane3d_before.jpg (48.67 KiB) Viewed 4049 times
After:
plane3d_after.jpg
plane3d_after.jpg (133.22 KiB) Viewed 4049 times


Sample run (version 2).
before:
plane3d_version2_before.jpg
plane3d_version2_before.jpg (51.03 KiB) Viewed 4044 times
after:
plane3d_version2.jpg
plane3d_version2.jpg (254.38 KiB) Viewed 4044 times
Sample run results(version 3): Supports texture layer.
plane3_version3_1.jpg
plane3_version3_1.jpg (101.54 KiB) Viewed 4037 times
plane3_version3_2.jpg
plane3_version3_2.jpg (101.11 KiB) Viewed 4037 times
Sample created from running version 4.
Sample created from running version 4.
Peacebridge.jpg (21.56 KiB) Viewed 3061 times
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

Pat625
Tutorial Creator

Post#2 by Pat625 » 12 May 2017, 02:30


Tin, it is a really neat effect and I played with it for awhile. I'm not sure what I can do with it. Can you give any examples where it can be used to make an image? My creative abilities are blanking on me right now.
0

tim
GL Blogger

Post#3 by tim » 12 May 2017, 04:04


it's just to reproduce (sort of) the illusion of the carpet mentioned by RJKD.
Then i thought why not let it map an image to the plane that goes up and down or whatever too.... I can't think of any other uses other than what i have in examples.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

oldmangrumpy
Tutorial Creator

Post#4 by oldmangrumpy » 13 May 2017, 05:13


Tin - I threw a pretty complex 'grayscale' layer at a wooden lotus brush as the texture layer - 2 hours later when the script finished .... wow, result is below with just a little extra colouring -
Attachments
tin+3d_plane.png
tin+3d_plane.png (352.03 KiB) Viewed 3970 times
Senior's moments are just part of a lifelong learning experience - never stop learning
OMG's: Downunder Art Thread | Gold Ring Addiction
1

tim
GL Blogger

Post#5 by tim » 13 May 2017, 14:40


looks like your texture has transparency.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

RJKD
Tutorial Creator

Post#6 by RJKD » 13 May 2017, 18:22


Thank you for this script T, it has real potential and I will get back to you with some creations. I've just taken on another garden, (so my time is limited) probably the last project i'll undertake, getting to old for this lark now.
0

tim
GL Blogger

Post#7 by tim » 15 Dec 2019, 20:49


Just updated with version 4 to work on GIMP 2.10.12 after failing to get version 3 to run properly.
Image
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

Krikor
Forum Member

Post#8 by Krikor » 17 Dec 2019, 22:25


@tim , Just informing.

"This creates a 3d plane grid similar to effect found here http://gimplearn.net/viewtopic.php?t=573#p4386"
404 File not found on GIMP LEARN FORUM.
Broken link:

How may we direct you?
- GLF - GIMP Learn Forum (Main page)
- TLF - The Lottery Forum (Child of gimplearn.net)

Redirecting you to gimplearn.net main page in 10 seconds.
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
0

tim
GL Blogger

Post#9 by tim » 17 Dec 2019, 22:35


Krikor wrote:
17 Dec 2019, 22:25
@tim , Just informing.

"This creates a 3d plane grid similar to effect found here http://gimplearn.net/viewtopic.php?t=573#p4386"
404 File not found on GIMP LEARN FORUM.
Broken link:

How may we direct you?
- GLF - GIMP Learn Forum (Main page)
- TLF - The Lottery Forum (Child of gimplearn.net)

Redirecting you to gimplearn.net main page in 10 seconds.
Thanks for reporting. link fixed. Although the new version doesn't do it like carpet effect anymmore.
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
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 8 guests