PDA

View Full Version : Is the first Ray or Bounce equal 1 or 0 ?



madno
01-10-2015, 05:43 AM
Hi,

in the node editor "Input node" there are "Bounces" and "Radiosity Ray".
In some threads here I found cool things done with those by combining them with logic nodes.
The threads indicate that counting "Bounces" and "Radiosity Ray" starts at 1.
But I think I saw a thread in the past where it was assumed that counting starts
at 0.

So like with python. A python list like ABCD starts at 0:
A = entry 0
D = entry 3

So if I want to catch e.g. the first "Radiosity Ray" is it save to assume it is ray 1 and not ray 0?

Hope this question makes sense at all.

madno
01-10-2015, 07:35 AM
Hi,

after some trials I think counting starts at 1.
So question is anwered.

But there will be a new thread with the next one.