[Radiance-general] splitting a render by light sources - rtcontrib
Thomas Bleicher
tbleicher at arcor.de
Tue Jan 24 16:44:29 CET 2006
On 24.01.2006, at 15:48, william reynolds wrote:
> hi
>
> i've trying out rtcontrib on this, but whatever settings i use
> i seem to get just a black screen out. if i run rpict witht the
> same settings (ie the same view and opt files) i get a good
> picture (although obviously using all the lights).
> does anyone have any suggestions what i might be doing wrong?
Fist guess: Is the image realy black or just very,very dark?
Remove all lights except "light1" and "light2"
from the scene and check the rvu/rpict image.
Second guess: Do you have _materials_ in your scene that are
assocciated with lights and are the name those
you gave with the "-m" option?
For the example below the materials "light1" and "light2" should
be defined in your scene and used for i.e. a polygon or a sphere
("geometric primitives", first paragraph of the man page).
>> To generate a pair of images corresponding to two lights'
>> contributions:
>> vwrays -ff -x 1024 -y 1024 -vf best.vf | rtcontrib -ffc
>> `vwrays -d -x
>> 1024 -y 1024 -vf best.vf` @render.opt -o c_%s.pic -m
>> light1 -m light2
>> scene.oct
>> These images may then be recombined using the desired outputs of
>> light1
>> and light2:
>> pcomb -c 100 90 75 c_light1.pic -c 50 55 57
>> c_light2.pic > com-
>> bined.pic
Thomas
More information about the Radiance-general
mailing list