First time here? Check our help page!
3

Radiance colorpict and perforate

For anyone familiar with the Radiance picture.cal and perforate.cal functions, I have a few questions:

  • What are the acceptable file types for picture.cal?
  • What other commands exist beside -s that can dimension the perforate.cal pattern? Is it possible to set the distance between objects separately from the object size?
    • What is the relationship between RGB value in the colorpict and picture.cal commands and the transmissivity? It appears that the RGB value that I set in my image file determines the visible transmittance. I performed a simple box study with windows mapped with solid fills at three different RGB values (black, grey, white) and found a somewhat linear relationship between transmittance and RGB value. I would attach an image file visualizing this study but apparently I need ten points to do that...

Thanks in advance for your help and insight.

EDIT: Now that the diagram is uploaded, the RGB values are black (0,0,0), grey (155,155,155), and white (255,255,255) for the image files used with the colorpict + picture.cal function.

image description

kelsworth's avatar
31
kelsworth
asked 2018-06-25 17:27:17 -0500, updated 2018-06-26 07:51:13 -0500
edit flag offensive 0 remove flag close merge delete

Comments

1

You should have enough points to upload now.

bobw's avatar bobw (2018-06-25 22:52:37 -0500) edit
1

I suggest to post this question to radiance forum: https://discourse.radiance-online.org/

Mostapha Roudsari's avatar Mostapha Roudsari (2018-06-26 13:38:03 -0500) edit

Good point, Mo!

rpg777's avatar rpg777 (2018-06-26 13:46:14 -0500) edit

Thanks, Mostapha. I am still awaiting approval from the Radiance discourses site so I am exploring answers elsewhere.

kelsworth's avatar kelsworth (2018-06-26 15:58:59 -0500) edit

Let me check that for you. I didn't get any notifications to approve new accounts on Radiance discourse.

Mostapha Roudsari's avatar Mostapha Roudsari (2018-06-26 18:55:52 -0500) edit
add a comment see more comments

1 Answer

2

OK this is like four questions. I can answer one straight off, so I'm going for it.

What are the acceptable file types for picture.cal?

picture.cal requires a Radiance HDR image as input. You can convert LDR image formats to Radiance with the utilities included in the Radiance distribution, such as ra_tiff. The trick is to use the -r option, to go in "reverse". e.g., you have an image your_image.tif that you want to use with picture.cal, so you convert it from tif to hdr like so:

ra_tiff -r your_image.tif your_image.hdr

Now you reference your_image.hdr in your material definition that uses picture.cal, etc.

rpg777's avatar
7k
rpg777
answered 2018-06-26 13:35:01 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments