Anim8or Community

General Category => Ongoing Anim8or Development => Topic started by: Trevor on March 03, 2015, 07:34:26 am

Title: Problem with Local Lights
Post by: Trevor on March 03, 2015, 07:34:26 am
well, they just dont give any light. Everything is black unless an infinit or spot light is added.

This is in raytracing mode, not scanline.

Oh... Odd... now Im testing its working again... ok... so, it must be the polycount that makes it fail.
Both previous times I tried I had high polycounts and they refused to light anything. I ckecked the face-oriantation but that didnt help.

OHHH! I found the bug.

Local Lights only work in camera mode.

Just going to test that in a new project by adding just 1 light.
Ok, definatly confirmed, local lights only work in camera, not ortho or perspective.

Trev
Title: Re: Re: Current Development Release - Build 1164, March 2, 2015
Post by: Steve on March 03, 2015, 01:56:04 pm
Are you using ARB shaders? (View->Preferences->UseShaders + ARB)
Local lights work in all views, except when you are using ARB Fragment Program shaders, which uses two fixed, infinite lights.
Title: Re: Re: Current Development Release - Build 1164, March 2, 2015
Post by: Trevor on March 03, 2015, 05:46:11 pm
Raytracer, not in OGL workspace.

Lights work in workspace, but not in render.

I dont use shaders in Workspace because they dont show flatshaded materials like normal OGL, instead they are all black. Shaders work fine when using lighting.

So, back to main bug, Local Lights dont work in Raytraced render in any view other than camera.

Trev
Title: Re: Re: Current Development Release - Build 1164, March 2, 2015
Post by: Steve on March 03, 2015, 06:19:33 pm
Trevor: please e-mail me a project that shows your problem.
Title: Re: Re: Current Development Release - Build 1164, March 2, 2015
Post by: Trevor on March 04, 2015, 04:49:27 am
Ok, I simply added a light to the scene and nothing else.

The resulting renders are as follows in the images.

Trev
Title: Re: Problem with Local Lights
Post by: Steve on March 04, 2015, 01:59:24 pm
It looks like they are shadowing themselves.  I'll fix it.  In the mean time if you disable the drawing of the camera and lights ( "C" hot key ) they will work OK.