Gradient Mesh in Inkscape

General discussions about Inkscape.
User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Gradient Mesh in Inkscape

Postby druban » Mon Nov 23, 2009 6:28 am

T
Last edited by druban on Tue May 28, 2013 8:12 pm, edited 1 time in total.
Your mind is what you think it is.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Gradient Mesh in Inkscape

Postby ~suv » Mon Nov 23, 2009 1:52 pm

druban wrote:I was wondering if there is a command line access for this? maybe a hidden menu?
None that I 'm aware of. You can do gradient meshes manually though, but I assume you are referring to that screenshot of Inkscape 0.45 anyway… ;-)

User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Re: Gradient Mesh in Inkscape

Postby Kjohrf » Tue Nov 24, 2009 3:19 am

I've been looking at that gradient mesh picture and trying to replicate the manual steps. After half an hour of experiments, I'm not sure exactly how to proceed.

Do you start with the four sides of the beziergon as separate path objects? Then what? Any help in the form onf concrete steps would be appreciated.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Gradient Mesh in Inkscape

Postby ~suv » Tue Nov 24, 2009 3:40 am

the file 'gradient-mesh-experimental.svgz' is distributed with Inkscape in the directory 'share/inkscape/examples' (the location of that depends on your OS - for win32 you have to look for yourself, on linux it's in '/usr/share/inkscape/examples' AFAIK, on OS X it's inside the application bundle 'Contents/Resources/examples'). Take a look at it if it helps to answer your questions...

User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Re: Gradient Mesh in Inkscape

Postby Kjohrf » Tue Nov 24, 2009 10:25 am

Thanks! I'll look at that when I have some more time.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Gradient Mesh in Inkscape

Postby ~suv » Tue Nov 24, 2009 10:07 pm

oops - sorry Kjohrf, totally missed your name when replying ;-) You are on win32 AFAIR, the file must in the installation folder somewhere, near the folder with the official extensions...

User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Re: Gradient Mesh in Inkscape

Postby Kjohrf » Fri Nov 27, 2009 1:32 am

~suv wrote:oops - sorry Kjohrf, totally missed your name when replying ;-) You are on win32 AFAIR, the file must in the installation folder somewhere, near the folder with the official extensions...


Thanks. Yeah, it's in .../Inkscape/share/examples. But I didn't find that much more helpful for getting from one step to the next.

What is an svgz file (as opposed to svg)?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Gradient Mesh in Inkscape

Postby ~suv » Fri Nov 27, 2009 1:57 am

Kjohrf wrote:What is an svgz file (as opposed to svg)?
It is an SVG file compressed with 'gzip'. Don't know for sure how it is handled on win32 - try renaming one into 'file_name.svg.gz', IIRC WinZip can open and 'gunzip' it and you get the plain text SVG file. Isn't *.svgz associated with Inkscape on Windows? Else the installer definitely needs some improvements for the next version ;-)

further references: Minimizing SVG File Sizes - SVG 1.1

Kjohrf wrote:But I didn't find that much more helpful for getting from one step to the next.
I'll see if I can find other resources for this topic, but keep in mind - that example file illustrates a concept how Inkscape internally could implement gradient meshes, it is not meant as step-by-step instructions for everyday-easy-to-use simulated gradient meshes, at least that's how I understand it ;-)

User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Re: Gradient Mesh in Inkscape

Postby Kjohrf » Mon Nov 30, 2009 2:47 pm

~suv wrote:It is an SVG file compressed with 'gzip'. Don't know for sure how it is handled on win32 - try renaming one into 'file_name.svg.gz', IIRC WinZip can open and 'gunzip' it and you get the plain text SVG file. Isn't *.svgz associated with Inkscape on Windows? Else the installer definitely needs some improvements for the next version ;-)

further references: Minimizing SVG File Sizes - SVG 1.1


Seems to open up directly via Inkscape. Not sure how, but I'm happy. :)

~suv wrote:I'll see if I can find other resources for this topic, but keep in mind - that example file illustrates a concept how Inkscape internally could implement gradient meshes, it is not meant as step-by-step instructions for everyday-easy-to-use simulated gradient meshes, at least that's how I understand it ;-)


Thanks. I'll play with it some more when I have some time in a couple weeks to see if I can make more progress understanding how one would do it manually. Appreciate your help!

User avatar
RM.
Posts: 249
Joined: Mon Jan 05, 2009 10:33 am
Location: Italy, Sardegna

Re: Gradient Mesh in Inkscape

Postby RM. » Mon Nov 30, 2009 3:31 pm

i know that gradient mesh is a great tool for illustrator, but personally i don't think inkscape needs it. Try using just paths - blur - gradients - opacity, play with them and build a piece just like a puzzle. Sure it's a long work ;)
I'm just someone who likes to create.

Logopond - CGsociety

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: Gradient Mesh in Inkscape

Postby llogg » Mon Nov 30, 2009 11:17 pm

Rather than gradient mesh I'd like to see Inkscape try to adopt the diffusion curve method that was posted a while back.

http://www.youtube.com/watch?v=lEVe7vU5WiU

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Gradient Mesh in Inkscape

Postby druban » Tue Dec 01, 2009 2:52 am

[
Last edited by druban on Tue May 28, 2013 8:13 pm, edited 1 time in total.
Your mind is what you think it is.

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: Gradient Mesh in Inkscape

Postby llogg » Tue Dec 01, 2009 7:33 am

I have no idea. I know that application used in the video was not an open source project. I'm not a programmer so I don't know the mathematics or coding that would be necessary to make it work in inkscape. would be very cool though.

User avatar
Kjohrf
Posts: 170
Joined: Tue Oct 27, 2009 11:42 am
Location: US
Contact:

Re: Gradient Mesh in Inkscape

Postby Kjohrf » Tue Dec 01, 2009 8:45 am

llogg wrote:Rather than gradient mesh I'd like to see Inkscape try to adopt the diffusion curve method that was posted a while back.

http://www.youtube.com/watch?v=lEVe7vU5WiU


Wow. Very cool.

User avatar
RobA
Posts: 335
Joined: Fri Aug 10, 2007 1:22 am

Re: Gradient Mesh in Inkscape

Postby RobA » Wed Dec 02, 2009 1:22 pm

llogg wrote:Rather than gradient mesh I'd like to see Inkscape try to adopt the diffusion curve method that was posted a while back.

http://www.youtube.com/watch?v=lEVe7vU5WiU


That is nice, but not a part of the SVG spec, which is what inkscape is limited to.

(There has been some discussion on adding diffusion curves to the SVG spec, so if that happens, I would expect it to be implemented.)

-Rob A>

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: Gradient Mesh in Inkscape

Postby llogg » Thu Dec 03, 2009 12:03 am

Does SVG support gradient mesh? Hopefully they'll add diffusion curves to the svg specs.

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Gradient Mesh in Inkscape

Postby druban » Thu Dec 03, 2009 2:11 am

It could be implemented as a Inkscape specific tool maybe and get converted on save to SVG?
Your mind is what you think it is.

User avatar
RobA
Posts: 335
Joined: Fri Aug 10, 2007 1:22 am

Re: Gradient Mesh in Inkscape

Postby RobA » Fri Dec 04, 2009 11:24 pm

llogg wrote:Does SVG support gradient mesh? Hopefully they'll add diffusion curves to the svg specs.

Not yet.

Inkscape would have to implement it as a grid of blurred polygons, each with its own gradient.

The January SVG working group teleconference http://www.w3.org/2009/01/22-svg-minutes.html had some discussion on it.

-Rob A>


Return to “General Discussions”