Dear users,
A quick question. How do I rotate the falsocolor image vwrays_illum_fp2_falsecolor.hdr to match the floor plane?
I need to rotate it around the z-axiz 7.3 dg before it is transformed to the u v coordination system
Below is the input for the working plane image:
void colorpict fc_val_fp2
7 red green blue images/vwrays_illum_fp2_falsecolor.hdr fc_fp2.cal fc_u fc_v
0
0
fc_val_fp2 glow fc_glow_fp2
0
0
4 10 10 10 0
void mixpict mp_fp2
7 fc_glow_fp2 void nonzero images/vwrays_illum_fp2_falsecolor.hdr fc_fp2.cal fc_u fc_v
0
0
mp_fp2 polygon office.fp2
0
0
12
-112 -220 40
-169 -228 40
-167 -248 40
-110 -240 40
And here are the transformation fc_fp2.cal file:
nonzero(r,g,b) = if(max(r,max(g,b))-0.1, 1, 0);
fc_u = ((Px+167))/20.1;
fc_v = ((Py+248))/20.1;
Cheers,
Per
Hi Per,
Looks like no one got back to you on this. Perhaps your question isn't completely clear, because I'm not sure of the answer, either.
Your fc_fp2.cal file seems to be tailored for a particular arrangement of objects. In general, you can add a transform to your colorpict string arguments to account for simple surface movements. Did you try:
void colorpict fc_val_fp2
9 red green blue images/vwrays_illum_fp2_falsecolor.hdr fc_fp2.cal fc_u fc_v -rz 7.3
0
0
If that doesn't do the right thing, you can try "-rz -7.3" instead. Alternatively, you can eliminate fc_fp2.cal entirely with:
void colorpict fc_val_fp2
15 red green blue images/vwrays_illum_fp2_falsecolor.hdr . Px Py -s 20.1 -t -167 -248 0 -rz 7.3
0
0
Again, I am guessing a bit here as your situation isn't entirely clear to me.
Best,
-Greg
ยทยทยท
From: Per Haugaard <[email protected]>
Date: April 5, 2013 3:00:28 AM PDT
Dear users,
A quick question. How do I rotate the falsocolor image vwrays_illum_fp2_falsecolor.hdr to match the floor plane?
I need to rotate it around the z-axiz 7.3 dg before it is transformed to the u v coordination system
Below is the input for the working plane image:
void colorpict fc_val_fp2
7 red green blue images/vwrays_illum_fp2_falsecolor.hdr fc_fp2.cal fc_u fc_v
0
0
fc_val_fp2 glow fc_glow_fp2
0
0
4 10 10 10 0
void mixpict mp_fp2
7 fc_glow_fp2 void nonzero images/vwrays_illum_fp2_falsecolor.hdr fc_fp2.cal fc_u fc_v
0
0
mp_fp2 polygon office.fp2
0
0
12
-112 -220 40
-169 -228 40
-167 -248 40
-110 -240 40
And here are the transformation fc_fp2.cal file:
nonzero(r,g,b) = if(max(r,max(g,b))-0.1, 1, 0);
fc_u = ((Px+167))/20.1;
fc_v = ((Py+248))/20.1;
Cheers,
Per
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general