[Radiance-general] Transparent textures in model models

Per Haugaard perhaugaard at yahoo.dk
Tue Dec 8 04:47:09 PST 2015


Dear Group,
A quick question on Transparent textures in model models.I have a falsecolor image which I would like to make transparrent and include in my 3D model. When setting up the .cal file I get the following error: 
rtrace: fatal - cannot find picture file "images/TEST_Dyb_station_v2_20151204_21juni_kl12_falsecolor.hdr"
I get the same error when I use rpict to illustrate the "transparent image".

Here is my input for the rendering.
Octree:oconv objects/BOX_PL2-3_top.rad > octrees/Clipping_box.oct
oconv sky/21juni_kl12_sky.rad objects/Dyb_station_v2.rad mapping_PL3.rad > octrees/Dyb_station_v2_20151204_21juni_kl12_Mapping.oct

mapping_PL3.rad:
void colorpict fc_val
7 red green blue images/TEST_Dyb_station_v2_20151204_21juni_kl12_falsecolor.hdr fc.cal fc_u fc_v00
fc_val glow fc_glow004 10 10 10 0
fc_glow polygon office.working_plane0012 33.561465 21.465947 13.742918 33.561465 65.42571 13.742918 21.224001 65.42571 13.742918 21.224001 21.465947 13.742918
void mixpict mp7 fc_glow void nonzero images/TEST_Dyb_station_v2_20151204_21juni_kl12_falsecolor.hdr fc.cal fc_u fc_v00
mp polygon office.working_plane.20012 33.561465 21.465947 13.742918 33.561465 65.42571 13.742918 21.224001 65.42571 13.742918 21.224001 21.465947 13.742918
vwraysvwrays -fd -vf views/View_perspective.vf -x 1000 -y 1000 | rtrace -w -h -fd -opd octrees/Clipping_box.oct | rtrace -w $ambpar -fdc `vwrays -d -vf views/View_perspective.vf -x 1000 -y 1000` octrees/Dyb_station_v2_20151204_21juni_kl12_Mapping.oct > images/Dyb_station_v2_20151204_21juni_kl12_Mapping.pic

I then get the error:rtrace: fatal - cannot find picture file "images/TEST_Dyb_station_v2_20151204_21juni_kl12_falsecolor.hdr"

I can open the image with ximage images/TEST_Dyb_station_v2_20151204_21juni_kl12_falsecolor.hdr. So the image exits and is working, cf. http://phaugaard.blogspot.dk/2015/12/transparent-image.html
Can anyone spot the rookie error :) ?Thank you very much for your input.

Cheers,
Per Haugaard


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20151208/417f5ff4/attachment.html>


More information about the Radiance-general mailing list