Good afternoon, 

I would like to know how I can export materials from (http://www.lighting-materials.com/) and use in my simulations. I try to copy and paste the radiance material definition into the material file on DIVA but it did not work and I would like to also use the same material in Ladybug and Honeybee. Is it possible?

Kind regards, 
Inês

Views: 86

Reply to This

Replies to This Discussion

Which material file did you use?  The only file the GH components actually check is "C:\DIVA\Daylight\material.rad"


Exactly I used that file.
Jon Sargent said:

Which material file did you use?  The only file the GH components actually check is "C:\DIVA\Daylight\material.rad"

The material should show up in the Scene Object dropdown in Grasshopper, then.  If not, can you post your material.rad file and point out the material in question?

Exactly, but it does not show up, It happened before and for a PV panel I used a plastic with the same characteristics, but I dont know if it is possible and right to do this.
I send you the material list and an image with the material in question.
Kind regards, 
Inês

Jon Sargent said:

The material should show up in the Scene Object dropdown in Grasshopper, then.  If not, can you post your material.rad file and point out the material in question?

Attachments:

Sorry for the slow reply.  This is an ashik2 material, which should be handled by Radiance but unfortunately isn't recognized by the Grasshopper components.  There also isn't much documentation on this material type (yet).  I can fix this in future releases -- but in the meantime one workaround might be changing it to a plastic (or plastic2) material with similar properties.

e.g., changing the rgb specularity in ashik2 to the photopic average gives:

Pucker plastic2 Motech_PVCells
4 0 1 1 .
0
6 0.014864952 0.01887973 0.040865004 0.041059264 0 0

Understood, thank you! If I want to do the same conversition but for other material (for example; Sunpower E20 Solar Panel Cell) how I can manage that? 


Characteristics:
Pucker ashik2 Sunpower_PVCells
4 0 1 1 .
0
8 0.006995137 0.008994048 0.021037648 0.029284513 0.029518141 0.030717789 100 100

Jon Sargent said:

e.g., changing the rgb specularity in ashik2 to the photopic average gives:

Pucker plastic2 Motech_PVCells
4 0 1 1 .
0
6 0.014864952 0.01887973 0.040865004 0.041059264 0 0

The ashik2 type has the form:

    mod ashik2 id
    4+ ux uy uz funcfile transform
    0
    8 red green blue spec_red spec_green spec_blue spec_power1 spec_power2

whereas plastic 2 has the form

    mod plastic2 id
    4+ ux uy uz funcfile transform
    0
    6 red green blue spec urough vrough

All I did was convert the spec_red, spec_green, and spec_blue values to a single spec value using 0.265*R + 0.67*G + 0.065*B.  However, you also need to add roughness values. Urough and vrough cannot be zero.  Unfortunately I have no idea what values to use here (something less than 0.2).  Maybe someone else has a good guess.

You could also punt on the roughness and just use a smooth plastic material (below), but then your reflection won't be smeared.

    mod plastic id
    0
    0
    5 red green blue spec 0

 

So if Urough and vrough have to be 0, the radiance material definition that you posted before is wrong? Or for this specific PV cell we can use 0?
Pucker plastic2 Motech_PVCells
4 0 1 1 .
0
6 0.014864952 0.01887973 0.040865004 0.041059264 0 0
Sorry for bothering you one more time.

Yes, I didn't test it, but I believe that material will throw an error.  If you intend to ignore roughness, better to use plastic instead of plastic2.

Alright, thank you one more time!

Jon Sargent said:

Yes, I didn't test it, but I believe that material will throw an error.  If you intend to ignore roughness, better to use plastic instead of plastic2.

Reply to Discussion

RSS

© 2017   Created by jeff niemasz.   Powered by

Badges  |  Report an Issue  |  Terms of Service