Hi all,

So far the new gh components in DIVA 4.0 are looking great.

I was hoping that there would be a capability to vary the material properties via a slider in v4.0 but doesn't look like it. e.g. vary the light transmission of glazing via a slider. Can you confirm if this is the case please? I'm guessing I would have to make individual materials for each transmission, one for each step of the slider?

Views: 379

Reply to This

Replies to This Discussion

Hi Ian,

You can actually put any radiance material description directly into the "M" input.  So to vary transmissivity of glass, for example, you could use a simple find-and-replace script:

Awesome.

My thoughts exactly Alstan - new parametric variables :)

Many thanks for the tip Jon!

Great method with replace!

Maybe not everyone know the difference on transmission and transmissivity.

So if you have an LT value (Tn) then the relationship to tn is as follows:

tn = (sqrt(.8402528435+.0072522239*Tn*Tn)-.9166530661)/.0036261119/Tn,  where Tn is the transmittance.


(source http://www.radiance-online.org/pipermail/radiance-general/2010-Nove... )

thanks again, Jon


Jon Sargent said:

Hi Ian,

You can actually put any radiance material description directly into the "M" input.  So to vary transmissivity of glass, for example, you could use a simple find-and-replace script:

Hello,

Thank you very much.

How can I run one time the simulation with some values of the visible transmitttance without animate the slider? If it is possible. The idea is to gain time. For example I run with 10 values of visible transmittance  that I input on the evening and have all results on the  next morning.

Thank you.

Create an input tree, like so:

Attachments:

Thank you Jon Sargent, it runs

Jon Sargent said:

Create an input tree, like so:

Hi all,

Actually, I meet some problem with the results on the simulation of the DF when I vary the visible transmitance and run one time, like the tree above.

For example, when I put 3 values of "tn", the simulation runs 4 times so I have 4 outputs results, I don't understand why and only the first result is right. But few week ago, I ran it with the same type of input tree and it ran.

Thank you for your help

I attached the file

Attachments:

how do you add the rest of your scene then? As a flattened object output on top of the existing? or how do we make sure that the rest is applied to each tree branch?

Hi Mathias Sonderskov,

Thank you for your response.

I add object as flattened on another file and it runs.

But my big problem now, I always have one more simulation that the number of value  that I vary.

For example, I input 3 values of the transmittance and the simulation runs 4 times, so with 4 results of the mean DF.

I test with many values and I noticed that it's the first simulation that wrong, the results that I want are the 3 last.

My tree to vary the transmitance is like this

@ Mathias

Indeed, you need to add the rest of the scene into each branch.  There are tricks to do this, but the easiest way is probably to get  Andrew Heumann's Tree frog add-on and use the "Assign Paths" component:

 Jon

@ Jam

See my response to Mathias.  In the file you posted, you were bringing in your non-glass objects on a fourth path ({0}).  Note that it's always very easy to check this by hovering over the input:



Jam Aka said:

Hi Mathias Sonderskov,

Thank you for your response.

I add object as flattened on another file and it runs.

But my big problem now, I always have one more simulation that the number of value  that I vary.

For example, I input 3 values of the transmittance and the simulation runs 4 times, so with 4 results of the mean DF.

I test with many values and I noticed that it's the first simulation that wrong, the results that I want are the 3 last.

My tree to vary the transmitance is like this

Reply to Discussion

RSS

© 2017   Created by jeff niemasz.   Powered by

Badges  |  Report an Issue  |  Terms of Service