Anim8or Community

General Category => General Anim8or Forum => Topic started by: johnar on November 29, 2014, 08:17:27 pm

Title: Material Question
Post by: johnar on November 29, 2014, 08:17:27 pm
(http://s27.postimg.org/4jwxnihtf/blackline.gif)

 Please tell me, what is this black line that always appears on my spheres?
 It's there whether default material, any lightish colour, and any texture.
  Man its annoying... (http://s18.postimg.org/nbb3zykhh/Not_Happy_G.gif)
Title: Re: Material Question
Post by: Claude on November 29, 2014, 10:04:40 pm
johnar

I think there's 2 lights on opposite side of the sphere.The rays
are unable to reach that zone.
diffuse factor = 0
ambient factor = 1
would make it disappear obviously,but is it better ?
Title: Re: Material Question
Post by: johnar on November 30, 2014, 12:24:19 am
Hi Claude. Thanks for your reply.
 I'm pretty certain its not a lighting issue. I can rotate the sphere, scene or object mode, and the line rotates with it, so that cant be lighting, can it?.
 In the image below, you can see where the faces are a slightly darker colour where the line appears. (the cursor is sitting on one of the faces)
(http://s13.postimg.org/uzac88bx3/sphere01.gif)
(http://s2.postimg.org/evvagsqft/sphere02a.gif)
 Its got me stumped.
Title: Re: Material Question
Post by: Raxx on November 30, 2014, 02:14:19 am
As Claude said, it's the result of the default lighting setup, which is entirely static. Rotating the view around won't change the positioning of the light sources, but if you rotate around a sphere then I guess it's easy for it to seem as if the lighting is rotating with it :) The line is just the dark space between two light sources. If you shine two lights on a ball from opposite directions, you'll get a similar effect.
Title: Re: Material Question
Post by: johnar on November 30, 2014, 03:40:55 am
(http://s6.postimg.org/zd57j8ja5/gryrolleyes.gif) Thank you Raxx for seconding Claudes opinion. Understood.
 Deep down i was thinking my old graphics card(s) were going. lol
 Whew. relief  Thanks to you both. (http://s6.postimg.org/p4cqdev8d/grysmile.gif)
Title: Re: Material Question
Post by: cooldude234 on November 30, 2014, 04:41:09 am
Yes, there are two infinite lights opposite to each other. I'm pretty sure steve did this so that way you could see the depth of the objects without covering areas in darkness per say.
So it would be a neat-O-feature to have an option to set up your own default look; that way you could have it so if you were working on something that needed to be fully lit in a specific way you could view it while working on it like that. Or you could have it the opposite way and make it completely unlit (I mean with no lights or shadows), which in of itself has its benefits.
Title: Re: Material Question
Post by: Smirkyguy on November 30, 2014, 06:59:21 pm
Actually, a correction, its only one light, but it passes through the object, since there are no shadows in the workspace renderer. the yellowish light is actually the faces being illuminated from the backside. The reason for the black stripe is that the light doesn't illuminate surfaces that it hits at or near a right angle. Well, you learn something new every day... I always believed it was one light...
Title: Re: Material Question
Post by: cooldude234 on December 09, 2014, 12:43:48 am
Actually, a correction, its only one light, but it passes through the object, since there are no shadows in the workspace renderer. the yellowish light is actually the faces being illuminated from the backside. The reason for the black stripe is that the light doesn't illuminate surfaces that it hits at or near a right angle.
Could be that, depends on how Steve implemented it.
Title: Re: Material Question
Post by: Claude on December 10, 2014, 05:29:37 pm
To settle this, I had a look at the glsl shaders.
There's 2 lights,infinite as mentioned by cooldude234
and of opposite direction.They don't have a location.
(different than Anim8or normal infinite lights)
1 is totally white.The other has a diffuse of 1, 1, .7
explaining,I think the yellowish color of the back of
sphere.
Title: Re: Material Question
Post by: johnar on December 12, 2014, 03:45:32 pm
Claude
Quote
1 is totally white.The other has a diffuse of 1, 1, .7explaining,I think the yellowish color of the back of sphere.
Do you think that if both 'virtual' lights had a totally white setting, then the the yellowish colour might go away?
Title: Re: Material Question
Post by: Claude on December 12, 2014, 08:24:10 pm
johnar

Use Anim8or_1101 to open the attached file.
(work space opengl rendering in scene mode in that version
uses the Anim8or lights )
Go to scene mode.Look at the 2 infinite light setup and the
result on the sphere.
Make  both lights totally white and see what happens.
Title: Re: Material Question
Post by: johnar on December 12, 2014, 10:29:22 pm
 Yip. Theres that line, as plain as day. (http://s6.postimg.org/zd57j8ja5/gryrolleyes.gif)
 Cheers Claude (http://s6.postimg.org/p4cqdev8d/grysmile.gif)
Title: Re: Material Question
Post by: cooldude234 on December 15, 2014, 09:42:50 pm
johnar

Use Anim8or_1101 to open the attached file.
(work space opengl rendering in scene mode in that version
uses the Anim8or lights )
Go to scene mode.Look at the 2 infinite light setup and the
result on the sphere.
Make  both lights totally white and see what happens.
LOL, I already forgot about the glsl shaders :P I guess there is a way to set up your own default lighting for the workspace now ;P
Title: Re: Material Question
Post by: Steve on December 17, 2014, 05:47:15 pm
AFter experimenting with several schemes, I chose to use a lighting rig of two directional lights pointing in opposite directions for editing. With the "back" light slightly yellow the depth is arguably somewhat easier to perceive without masking the look of the materials.

This lighting configuration is the simplest, computationally speaking, and works well even on minimal graphics cards.

Note: There is a falloff to zero where each light just grazes the edge of the model due to the material's diffuse component. This causes the darker ring around the sphere. If the light was even everywhere you wouldn't be able to see any shape!
Title: Re: Material Question
Post by: johnar on December 18, 2014, 03:36:10 am
 Thanks for that Steve
 Sort've feel a little bit silly, but now not as silly as before. So thats a good thing. (http://s6.postimg.org/p4cqdev8d/grysmile.gif)
 Seasons Cheer.
 Have an enjoyable time. (http://s24.postimg.org/o4uvmxwjl/Thumbs_Up_G1.gif)(http://s6.postimg.org/p4cqdev8d/grysmile.gif)