Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: AmbientOccluder integer attribute  (Read 21659 times)

jufi

  • Newbie
  • *
  • Posts: 5
    • View Profile
AmbientOccluder integer attribute
« on: November 28, 2008, 06: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....
« Last Edit: November 28, 2008, 07:37:08 am by jufi »
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: AmbientOccluder integer attribute
« Reply #1 on: November 28, 2008, 07:13:34 am »

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.

jufi

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AmbientOccluder integer attribute
« Reply #2 on: November 28, 2008, 07:43:13 am »

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
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: AmbientOccluder integer attribute
« Reply #3 on: November 28, 2008, 10:27:34 am »

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.

jufi

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: AmbientOccluder integer attribute
« Reply #4 on: November 28, 2008, 11:37:10 am »

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
Logged

ELECTROHERMIT

  • Newbie
  • *
  • Posts: 23
  • Medical Illustrator AEIMS AMI
    • View Profile
    • ELECTROHERMIT
Re: AmbientOccluder integer attribute
« Reply #5 on: June 26, 2017, 04: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.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: AmbientOccluder integer attribute
« Reply #6 on: June 27, 2017, 03:19:00 am »

I'll look into this when I'm back from vacation.
Logged