[Radiance-general] trouble with colourpict

Russell Maunder [email protected]
Thu, 26 Jul 2001 15:58:49 +1200


I was hoping someone on this list might be able to help me. I am using rayfront 1.02
and I cant seem to get the colourpict pattern to work correctly as a pattern.

The scene has a wall which has a red plastic material applied to it.
Then a corg.cal texture was applied. the defenition is shown below.

void texfunc corrugated_wall
6   x_pert y_pert z_pert function/corg.cal
    -rx 90
0 
1           0.075

Then i created a pattern using the picture.cal file using the definition below.


void colorpict logo1
15  fadered fadegreen fadeblue images/arco.pic function/picture.cal pic_u pic_v
    -rx 90 -rz 180 -t 4 0.0 1.3
0 
4               1             1             1
                1

The problem that i am having is that the image only appears as a brightness function
of the red wall (i.e. a monotone image)

Does anyone know how I can get the picture to be a colour image on the wall.

The image was saved in Photoshop as an 8-bit RGB image and converted to a pic file
using ra_tif

Russell 


__________________________________________________
Advertise with ZFREE - to find out more click below
http://www.zfree.co.nz/about-us/advert.html