It is currently Mon May 20, 2013 3:55 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 11:42 am  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8952
Location: "Looking for my eraser" =P
This plugin uses light colors in an image to produce either horizontal 3-D or height 3-D extrusion.
Darker being lowest lighter being highest.Height is adjustable as well as other parameters.

Fun to play with. :)
Image

Result
Image

Zip attached with c file.
To install just place the execute file in your plugins folder.
You will find the filter at "Filters>Map>Light to Height

Attachment:
l2height-0.7-win32.zip [34.47 KiB]
Downloaded 150 times


enjoy!

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 

 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 12:03 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8952
Location: "Looking for my eraser" =P
Here is an example of my stop sign image i created yesterday.This kind of gives you a idea what this filter is capable of. :)

Image

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 12:50 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 3073
Location: UK
This would be really useful to me. Is there a 2.6 version?

_________________
Image




Top
 Profile  
 
 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 12:58 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8952
Location: "Looking for my eraser" =P
Erisian wrote:
This would be really useful to me. Is there a 2.6 version?

You can try testing this one in Gimp-2.6, It should work. :)

If not i do have another version for Gimp-2.6.12 i believe somewhere on this website.

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 1:09 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 3073
Location: UK
Excellent. It works fine - thank you.

_________________
Image




Top
 Profile  
 
 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 3:06 pm  (#6) 
Offline
GimpChat Member

Joined: Jun 22, 2012
Posts: 107
Thanks Rod! Another very useful script working in Gimp 2.6.11 - I wanted a quick way of producing isometric game objects, this is just the trick. Can you give a quick outline of compiling the script? Is it straight forward?


Attachments:
LeopardLayer copy.png
LeopardLayer copy.png [ 17.49 KiB | Viewed 386 times ]
Transformation.png
Transformation.png [ 1.72 KiB | Viewed 386 times ]
LeopardLayer.png
LeopardLayer.png [ 16.64 KiB | Viewed 386 times ]
Top
 Profile  
 
 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 4:08 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8952
Location: "Looking for my eraser" =P
step7 wrote:
Thanks Rod! Another very useful script working in Gimp 2.6.11 - I wanted a quick way of producing isometric game objects, this is just the trick. Can you give a quick outline of compiling the script? Is it straight forward?

Compiling in Windows is tricky but Partha lays it out real clear on his website.
You will need to compile Gimp so you have the gimptool-2.0

Once you have successfully compiled BABL, GEGL, and Gimp you should be able to compile just about any c plugin.
I do more compiling of c plug-ins than anything else. :) ...
Although i have compiled Gimp versions -2.6.12, 2.7, 2.7.5, and 2.8.

http://www.partha.com has all your environment setup needs, and will answer any of your compiling questions. :)

Once you have the environment setup its as simple as opening your Msys command window , cd to the c file directory, and typing ...
gimptool-2.0 --build file.c :) - you need Gimp compiled because you need the gimp h files, and the gimptool.

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 

 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 9:40 pm  (#8) 
Offline
GimpChat Member

Joined: Jun 22, 2012
Posts: 107
Compiling Gimp looks hairy! I'm not sure I'm ready for that and I'm looking to stick with 2.6.11 (only because 2.8 was totally unstable on my system when I tried it a couple of months back - have things improved?).

I was wondering if I could set up a tool chain for compiling plugins without compiling Gimp (probably same difference though it would most likely be capable of compiling Gimp). I got stuck trying to find a GTK+ 2.16.6 bundle though. I take it you compiled this plugin using library from GTK+ 2.24.10? The resulting plugin works fine with my 2.6 version of Gimp so I'm wondering could I do the same?


Top
 Profile  
 
 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Sun Jul 15, 2012 10:08 pm  (#9) 
Offline
GimpChat Member

Joined: Feb 14, 2012
Posts: 154
This is a pretty cool script. I have found that it is good for effectively rotating an already made height map image. The photo below shows what I started out with as a height map bear. And to the right of that is what it looks like after using the filter. And below is what the images look like after inverting the color to a white back ground and using the emboss filter followed by colorize.

Image

I'm wondering where this script came from and are there any others like it?

Alan


Top
 Profile  
 
 Post subject: Re: Light 2 Height compiled for win32 Gimp-2.8
PostPosted: Mon Jul 16, 2012 7:25 am  (#10) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8952
Location: "Looking for my eraser" =P
PegLeg44 wrote:
This is a pretty cool script. I have found that it is good for effectively rotating an already made height map image. The photo below shows what I started out with as a height map bear. And to the right of that is what it looks like after using the filter. And below is what the images look like after inverting the color to a white back ground and using the emboss filter followed by colorize.

Image

I'm wondering where this script came from and are there any others like it?

Alan


The original author of the c plugin file is Kyoichiro Suda.

The website is here (no longer working) - http://sudakyo.hp.infoseek.co.jp/gimp/l ... ght_e.html
Another great plugin by this author is "Focus Blur"
I don't know of any others right off the bat.
I am pretty sure Sam has windows binaries compiled for Gimp-2.6.12 on the gimp registry somewhere.
Sam may know more about the author. :)

step7 wrote:
Compiling Gimp looks hairy! I'm not sure I'm ready for that and I'm looking to stick with 2.6.11 (only because 2.8 was totally unstable on my system when I tried it a couple of months back - have things improved?).

I was wondering if I could set up a tool chain for compiling plugins without compiling Gimp (probably same difference though it would most likely be capable of compiling Gimp). I got stuck trying to find a GTK+ 2.16.6 bundle though. I take it you compiled this plugin using library from GTK+ 2.24.10? The resulting plugin works fine with my 2.6 version of Gimp so I'm wondering could I do the same?


Yes i use all the latest dependencies. These can be found on Parthas website (links to them). I have heard compiling just c plugins is possible but i have never successfully accomplished this.Only after compiling Gimp was i able to do this on Windows.It just doesn't seem to work without a full Gimp version install with a path to the pkg config pc files added to the export PATH variable in the ect\profile file. :)

I also use mono

Example code -
Code:
if [ $MSYSTEM == MINGW32 ]; then
export PATH=".:/usr/mono/lib:/usr/mono/include:/usr/mono/bin:/opt/gimp-2.8/bin:/opt/lib:/opt/perl/bin/:/opt/bin:/opt/lib/bin:/bin:/mingw/bin:/usr/gtk/include:c:/usr/gtk/bin:/usr/python:/usr/python/Lib/site-packages"
export PYTHONPATH=/usr/python
export PKG_CONFIG_PATH=:/usr/lcms/lib/pkgconfig:/usr/ruby/lib/pkgconfig:/opt/gimp-2.8/lib/pkgconfig:/usr/mono/lib/pkgconfig:/opt/lib/pkgconfig:/usr/gtk/lib/pkgconfig:/usr/python/Lib/pkgconfig
fi


Then your fstab file would look like this -
Code:
C:\mingw\    /mingw
C:\src\    /usr/src
C:\Python27    /usr/python
C:\gtk    /usr/gtk
c:\Perl   /opt/perl
c:\Mono   /usr/mono
c:\Ruby193 /usr/ruby
c:\Java   /usr/java
c:\fltk   /usr/fltk
c:\flex   /usr/flex
c:\lcms   /usr/lcms

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login   * Subscribe to RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group