Example 3 rendering all objects.
Variable index fixed
Objects under camera.
Objects under objects3d now.
Examples fixed.