PDA

View Full Version : About Lighting: Lights and Shadows


H. Ikeda
07-24-2003, 02:49 AM
Again discussion on lighting:
How do you use a set of lights and shadows?

Apparently c4d has any combinations of lights and shadows, but parallel lights with soft shadows are somewhat strange and these seem to be provided as fake. Also distant lights with area shadows are meaningless and these seem equal to hard shadows. Also a set of distant lights and shadows other than hard seems to cause some jags in shadows.
These options should be disabled?

What is the best combination of these?
And any tips in use?
Thanks in advance.

H. Ikeda
07-25-2003, 01:56 PM
After '[digital] Lighting & Rendering', spotlights with soft shadows (shadow map), and omni and other lights with hard shadows (raytracing shadows).
Also, shadow-only lights seem useful.
Is there any way to make a shadow-only light or its fake in c4d?

hmmdonuts
07-25-2003, 02:44 PM
Shadow only lights can be accomplished by setting up a regular, shadow casting light, copy it and set the copies brightness to the negative of the original. Turn off shadows on the copy, too.

cheers

hmmdonuts

H. Ikeda
07-25-2003, 03:05 PM
Negative brightness is possible in c4d? :shrug:

flingster
07-25-2003, 04:04 PM
negative brightness is possible..isn't it!

shadow maps thread i was having problems with render times awhile ago.
http://www.cgtalk.com/showthread.php?s=&threadid=75682

lighting thread
http://www.cgtalk.com/showthread.php?s=&threadid=63423

default setups thread...mentioned lighting setups
http://www.cgtalk.com/showthread.php?s=&threadid=65313

"Also distant lights with area shadows are meaningless and these seem equal to hard shadows"
what about playing with width and falloff...won't this change hardness?...mmmm maybe not.
sorry can't help you a bit more bud....jaggies bit is probably cureable.

AdamT
07-25-2003, 04:29 PM
Originally posted by H. Ikeda
Negative brightness is possible in c4d? :shrug:
Of course! But you have to use the brightness setting in the Details tab rather than the General tab.

H. Ikeda
07-26-2003, 12:34 AM
AdamT: thanks, it's light, no, right!:) :drool:
flingster: thanks for the links. I know them but didn't check them out thoroughly. Jaggy things may be cured or bugs, I'll think about it.

H. Ikeda
07-26-2003, 09:18 AM
The jaggy problem seems to be in connection with basic algorithms in c4d.
Without shadow option, an object is only shaded in shading model such as Phong, and with shadow options, 'shade' by the shadow is add to the shaded part, because it might also be a unlit part together with usual 'shadow' on the ground.
And in some cases, this 'shade by shadow' on a polygon surface shows jaggy pattern like:

http://www.interq.or.jp/aquarius/ikeda3dr/data/cgtalk/shadows.jpg

This is a polygon sphere from Hexahedron, and no apparent jags in pure sphere (primitive).
And with brighter shading such as Blinn or Oren-Nayar, this may become clear, because of the mismatch between shading and 'shade by shadow'.
Use of HyperNURBS may be a way to cure this, but not perfect.

JamesMK
07-26-2003, 10:04 AM
Those jaggies in shadowed areas are usually cleaned away by adjusting the shadow bias.

H. Ikeda
07-26-2003, 01:50 PM
JamesMK: thanks for the reply. In cases of soft shadows, it could be. But what about hard and area shadows as above?:rolleyes:

JamesMK
07-26-2003, 02:05 PM
Hmm, that might be different of course, no bias to play with there, right?

I can't make any experiments right now, since my 3D workstation just decided to slap a hardware failure in my face this morning... Ack... I hope someone has some suggestions before I can get back to C4D in a week or so :annoyed:

brammelo
07-26-2003, 08:23 PM
Originally posted by JamesMK
I can't make any experiments right now, since my 3D workstation just decided to slap a hardware failure in my face this morning... Ack... I hope someone has some suggestions before I can get back to C4D in a week or so :annoyed:

Yes: get a new workstation ;)

(ok, this was a silly one, but one can't always be intelligent)

Cheers,
BaRa

H. Ikeda
07-27-2003, 03:16 AM
brammelo: everyone has own intelligence and own stupidity. That's human. Don't worry about yourself, worry about something you love.

JamesMK
07-27-2003, 07:31 AM
Originally posted by brammelo
Yes: get a new workstation ;)
He he, pretty funny! Unfortunately that's not possible. I'll just have to get a new power supply, since that's what is broken.

HOWEVER, I meant "suggestions" about solving the jagged shadowing issue...

JIII
07-27-2003, 03:29 PM
umm its just the stock answer but have you played with your ray depth and shadow map size at all?

ohh yeah but a new computer james.

just kiddin man.

H. Ikeda
07-28-2003, 02:07 PM
Thanks JIII, but there is no change for ray depths from 0 to 50, as is expected in such simple scenes. It's same with shadow depths.

flingster
07-28-2003, 02:28 PM
what do maxon say about it....try there support people?
:thumbsup:

H. Ikeda
07-29-2003, 01:36 PM
flingster: you may be right, but I'd like to wait for repair of JamesMK's workstation before that.

CGTalk Moderation
01-15-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.