Anim8or Community

General Category => Anim8or v0.98 Discussion Forum => Topic started by: jufi on November 28, 2008, 11:16:01 am

Title: AmbientOccluder integer attribute
Post by: jufi on November 28, 2008, 11:16:01 am
Hi,
I'am a french user of anim8or, and I am very happy to discover this new ambientoccluder option !
But I can't manage with it. My first tries are not ok...
Could you tell me more details  about how to set this attrbute for my scene ?

-can I use use it with lights ?

Can anyone set the anim8or file  for me so that I can render my object with ambient occluder attribute ?
The file can be found here :
http://julienfischel.free.fr/essai.an8

thanks a lot and sorry for my english....
Title: Re: AmbientOccluder integer attribute
Post by: floyd86 on November 28, 2008, 12:13:34 pm
I would like to help but your link doesn't seem to work. You can add your file to your post as an attachment file, that's easier then using file storage sites.

About your questions. Adding the ambientoccluder to your scene is pretty easy: Go to scene mode, go scene>attributes. Add a new attribute called 'AmbientOccluder' and set the int value to 1. To get the clay render look your should adjust your light setup: go setting>lighting. Change the global intensity to 0 and the ambient to 3.14. Set your AA to atleast 64 to get rid of the noise.
You can add lights to your scene while using the ambientoccluder, but (ofcourse) they will effect the lighting of the scene.
Title: Re: AmbientOccluder integer attribute
Post by: jufi on November 28, 2008, 12:43:13 pm
thanks for your answer,
but all settings in my file seems to be good, the same as what you write.

So I give you the good address for the file :
http://julienfischel.free.fr/essai.an8

(right clic and save as)
thank you
Title: Re: AmbientOccluder integer attribute
Post by: floyd86 on November 28, 2008, 03:27:34 pm
I fixed the file, you did a few things wrong. At first you didn't called the attribute ambientoccluder but AMBIENT. At second you had an material with an ambient value of 0. This way the material won't reflect the ambient intensity of the lighting.
Title: Re: AmbientOccluder integer attribute
Post by: jufi on November 28, 2008, 04:37:10 pm
aaaahh !
thanks ! it works ! I just had to change a few things, the AA level,  and it's ok.

It was hard for me to understand that "AmbientOccluder" was the exact word to  write in the blank field of the attribute.
And now I will observe the details of the parameters you assigned to this file.

Merci et bonne continuation !

jufi
Title: Re: AmbientOccluder integer attribute
Post by: ELECTROHERMIT on June 26, 2017, 08:13:02 pm
Very old post, but you should be aware the SCENE environment must be set to a SOLID to work. If you have a cube map or image, Ambient Occlusion will NOT work.
Title: Re: AmbientOccluder integer attribute
Post by: Steve on June 27, 2017, 07:19:00 am
I'll look into this when I'm back from vacation.