It is currently Tue Jul 23, 2024 4:19 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Matching Shadow Direction
PostPosted: Mon Nov 06, 2017 2:07 pm  (#1) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
I've always has trouble with shadows.
:oops:

Working with the attached image below.
I'm trying to match the shadow direction,
given off by the cubes and add a corresponding shadow to the text.

Anyone know of a way to accomplish this?

Attachment:
text shadow.png
text shadow.png [ 236.52 KiB | Viewed 5762 times ]


Attachment:
text shadow.xcf [1.19 MiB]
Downloaded 214 times

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Mon Nov 06, 2017 3:31 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
That will be difficult, for three reasons:

1) you need shadows on the cube and on the floor/background
2) as hinted above, there is no well defined surface in the background to put a shadow on
3) your letters are thin and lit sideways, so there is not much shadow...

And, Spanish-inquisition-style:

4) "GIMP" likely casts a shadow on "2.8".

_________________
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Mon Nov 06, 2017 3:36 pm  (#3) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
ofnuts wrote:
That will be difficult, for three reasons:

1) you need shadows on the cube and on the floor/background
2) as hinted above, there is no well defined surface in the background to put a shadow on
3) your letters are thin and lit sideways, so there is not much shadow...

And, Spanish-inquisition-style:

4) "GIMP" likely casts a shadow on "2.8".

Thanks ofnuts for your reply.
I guess I may need to change the direction of the light source,
and or the size of the text.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Mon Nov 06, 2017 5:58 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Perhaps something like this? I used both the "Sheer" and "Perspective" tools on the drop shadow. First time I've used those tools actually...

Attachment:
text shadow.jpg
text shadow.jpg [ 32.36 KiB | Viewed 5719 times ]


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Mon Nov 06, 2017 6:07 pm  (#5) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
racer-x wrote:
Perhaps something like this? I used both the "Sheer" and "Perspective" tools on the drop shadow. First time I've used those tools actually...

Attachment:
text shadow.jpg

Thanks for giving it a try racer-x.
:bigthup

I think I'm going to completty redesign the text and the light source.
To see if I can make it much simpler to create more accurate shadows.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Mon Nov 06, 2017 9:59 pm  (#6) 
Offline
GimpChat Member

Joined: Sep 20, 2016
Posts: 293
In my opinion this kind of effect is not really the domain of a raster editor as Gimp unless you have very good knowledge of lighting like a painter or work from a model.

I got into Blender a few months ago, because i was interested in the longshadow effect.
What i learned is that a big part of Blender is what is called "lighting a scene".
Its almost as making a film, but as a single image.
You can have a single light or many. Spotligts or directional lights. Reflection of the environment plays a role.
Etc.

Gimp doesnt have the tools to take such things into account.
You can draw a lamp or something as the symbol of the light on a new layer and that can help, but as soon as the lighting gets more extreme or complex, you will have problems.
Therefore i think lighting in Gimp is in the best case more a case of cliches or abstraction.


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Mon Nov 06, 2017 10:41 pm  (#7) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Konstantin wrote:
In my opinion this kind of effect is not really the domain of a raster editor as Gimp unless you have very good knowledge of lighting like a painter or work from a model.

I got into Blender a few months ago, because i was interested in the longshadow effect.
What i learned is that a big part of Blender is what is called "lighting a scene".
Its almost as making a film, but as a single image.
You can have a single light or many. Spotligts or directional lights. Reflection of the environment plays a role.
Etc.

Gimp doesnt have the tools to take such things into account.
You can draw a lamp or something as the symbol of the light on a new layer and that can help, but as soon as the lighting gets more extreme or complex, you will have problems.
Therefore i think lighting in Gimp is in the best case more a case of cliches or abstraction.

Yes I understand this and I have used Blender in the past.
That's why I'm going to reevaluate the design and start over if need be.

Thanks for your response.

:bigthup

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 3:16 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
My try, Wallace (Gimp only)
(removed)

_________________
"Where am I ?"


Last edited by dinasset on Sat Nov 11, 2017 2:06 am, edited 1 time in total.

Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 9:11 am  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
No reason for the shadow of the letters to be darker than the shadows of the cubes (and have a different direction: if the bigger cube had a shadow cast from the same light source as GIMP, its shadow would not be over the smaller cube).

_________________
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 10:01 am  (#10) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2446
The shadow from the cubes does not look correct to me. Just for general direction of shadows perhaps something like this. (raytraced in art-of-illusion)

Attachment:
28.jpg
28.jpg [ 26.66 KiB | Viewed 5633 times ]

_________________
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 10:09 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
ofnuts wrote:
No reason for the shadow of the letters to be darker than the shadows of the cubes (and have a different direction: if the bigger cube had a shadow cast from the same light source as GIMP, its shadow would not be over the smaller cube).

Correct.

_________________
"Where am I ?"


Last edited by dinasset on Sat Nov 11, 2017 2:07 am, edited 1 time in total.

Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 10:37 am  (#12) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4757
rich2005 wrote:
The shadow from the cubes does not look correct to me. Just for general direction of shadows perhaps something like this. (raytraced in art-of-illusion)


Typical British understatement... :)

_________________
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 10:47 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
Wallace, maybe something like this. (sketch):

blue lines: don't do something here, they only give idee for perspective.
black lines: to find the light source. (with shadows of cube)
red lines: rays from light source

Image

In this case the "GIMP" text shadows will be a bit boring. ;)


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 11:24 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
My above post doesn't work, because the original cube shadows are in another direction:

Green lines give shadow direction:
Image

What kind of light source is used?

because some lightray-lines are intersecting and some are parallel:
Image

What kind of perspective is used?
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 12:38 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
Wallace, are this videos helpful?

light source = sun:
www.youtube.com Video from : www.youtube.com


But I doubt if this video is totally correct, because the sun is not a point light source.
Maybe this is better?:
www.youtube.com Video from : www.youtube.com


other light source:
www.youtube.com Video from : www.youtube.com


If there is an image with proper perspective and shadows, you can invert this proces to find the light source.


Last edited by iarga on Tue Nov 07, 2017 1:00 pm, edited 1 time in total.

Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 12:50 pm  (#16) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Thank you for all your responses!
:jumpclap

You've all been very helpful.
I'm going to rework the image in GIMP and perhaps use Blender for the cubes,
text and shadows.
Then finalize the image using GIMP.

Thanks again for all the helpful suggestions!

:bigthup

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 1:02 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
Yes Wallace, Blender will solve this. :bigthup

(I'm learning also new things ;) )


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 1:08 pm  (#18) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
iarga wrote:
Yes Wallace, Blender will solve this. :bigthup

(I'm learning also new things ;) )
I haven't used Blender in quite some time.
Would need to take a refresher course,
before jumping into it.
It shouldn't be difficult to do.
Given that the elements within the image are pretty minor.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 1:21 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Apr 09, 2016
Posts: 580
Location: Sheffield UK
My idea... :roll:
Attachment:
Wallace_text shadow.png
Wallace_text shadow.png [ 236.86 KiB | Viewed 2369 times ]

_________________
Image


Top
 Post subject: Re: Matching Shadow Direction
PostPosted: Tue Nov 07, 2017 3:15 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Mar 28, 2016
Posts: 312
Location: Netherlands
Something like this, made with SketchUp Make 2015, but in Blender it will be much cooler:
Image

Image

:)


Top
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Matching my Phone Camera's 'Brightness' Adjustment

1

No new posts Attachment(s) Multiple Layer Shadow plugin

0

No new posts Attachment(s) Shadow and Refletion text effect plugin

2

No new posts Attachment(s) GEGL PERPSECTIVE DROP SHADOW (THEORY - NOT A PLUGIN YET))

3

No new posts Attachment(s) Gimp Filter Light and Shadow Lighting Effects

42



* Login  



Powered by phpBB3 © phpBB Group