Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Light Settings-Max Rays  (Read 3691 times)

Tanzim

  • Guest
Light Settings-Max Rays
« on: March 26, 2008, 08:33:30 am »

I don't know about anyone else but i don't think anim8or allows you set the amount of rays to be sent by a light source
i remember one render saying total rays were ~6,000,000, and there was only one light source
Logged

CobraSpectre

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: Light Settings-Max Rays
« Reply #1 on: March 26, 2008, 01:11:08 pm »

The number of rays is based primarily on image size, samples and use of raytraced materials.

An image with no raytraced materials has a number of rays which is:
length X width X number of samples

In my tests, raytraced reflective materials use about twice as many rays. While the dielectric test example uses 20 times as many rays.
Logged

Tanzim

  • Guest
Re: Light Settings-Max Rays
« Reply #2 on: March 27, 2008, 09:32:33 am »

I see, but still think we should be allowed to choose the amount of rays to be sent (I'm not trying to be stubborn or anything)
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: Light Settings-Max Rays
« Reply #3 on: March 27, 2008, 07:19:09 pm »

You can choose the number.  It is controlled indirectly by the aa setting.

Each ray intersection sends a ray to each light to see if it's visible.  If you has 1 million pixels and 16 samples per pixel they you will get at most 16 million smaples per light assuming no reflections or transparency.  The background doesn't need to sample the light so it could be fewer.

BTW if what you want is to take more samples per light for each ray intersection instead of just one, it's better, say, double the number of samples per pixel at the start than to quadruple the ligt samples but not increase the samples per pixel.
Logged

Tanzim

  • Guest
Re: Light Settings-Max Rays
« Reply #4 on: March 28, 2008, 05:41:42 am »

Guess i was wrong. thanks for the help, really appreciate it
Logged