--
You received this message because you are subscribed to the Google Groups "DIVA for Rhino" group.
To post to this group, send email to diva-fo...@googlegroups.com.
To unsubscribe from this group, send email to diva-for-rhin...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/diva-for-rhino?hl=en.
There is a version of perforate.cal that actually works on the u-v's of
the surface, which should be applicable to your problem. I paste it at the
end of my post.
The material definition for it will look something like this (as you
already know),
void mixfunc perforation
6 open aluminum uv_hole perforate.cal -s 0.1
0
1 0.4
> Also I am wondering if this will actually reduce my simulation time.
> Does anybody know?
Compared to modeling an actual perforated panel with hundreds of thousands
of little holes, it should help a lot just because the octree will be so
much smaller. If you model a screen large enough and in enough detail,
your rad files can easily grow to several gigabytes! This keeps the size
of the file to be referenced by Radiance small at least.
On the other hand, I am afraid that having lots of small holes means your
Radiance parameters (ambient divisions, ad) will have to be rather large
for the rays to actually find the little holes.
Best,
Alstan
{
perforate.cal
Perforation function for approximately horizontal sufaces,
for use in a mixfunc. Foreground is solid, background the holes.
Set background to empty for a true perforation, or to a different
material for polka dots.
Relative hole size is determined by A1.
Size of single circle is 1 - scale as required (eg. 0.05m).
x_hole cuts holes in x-direction (through the y-z plane)
y_hole cuts holes in y-direction (through the x-z plane)
z_hole cuts holes in z-direction (through the x-y plane)
A1 is de schaal
A2 XY size of hole ( 0.2 is small, 0.5 big )
A3 YZ size of hole
A4 XZ size of hole
Abel Boerema 2004, n.a.v.Georg Mischler 30. 04. 1993
}
`xn = mod(Px, 1) - A2;
`yn = mod(Py, 1) - A3;
`zn = mod(Pz, 1) - A4;
{uv coordinate mapping}
`un = mod(U, 1) - 0.5;
`vn = mod(V, 1) - 0.5;
{uv mesh coordinate mapping}
`lun = mod(Lu, 1) - 0.5;
`lvn = mod(Lv, 1) - 0.5;
`outofcirc(x, y, r) = if( (if ( x-r, 0, 1 )) * (if (y-r, 0, 1)) , 0,
1 );
z_hole = `outofcirc(`xn, `yn, A1);
x_hole = `outofcirc(`yn, `zn, A1);
y_hole = `outofcirc(`zn, `xn, A1);
{uv coordinate mapping}
uv_hole = `outofcirc(`un, `vn, A1);
{uv mesh coordinate mapping}
luv_hole = `outofcirc(`lun, `lvn, A1);
The cal file should be in C:\Radiance\lib\ and C:\DAYSIM\lib\. I may have
to consider your other questions a bit more, but calibrating the size of
the holes can be a largely guess-and-check system too.
Best,
Alstan
--
You received this message because you are subscribed to the Google Groups "DIVA for Rhino" group.
To post to this group, send email to diva-for-rhino@googlegroups.com.
To unsubscribe from this group, send email to diva-for-rhino+unsubscribe@googlegroups.com.
I tested it out this morning and it works more or less.
My material.rad definition looks like,
void metal aluminum
0
0
5 0.8 0.8 0.8 0 0.0
void glass open
0
0
3 1.0 1.0 1.0
void mixfunc perforation
6 open aluminum uv_hole perforate.cal -s 0.1
0
1 0.4
and I have copies of the cal file in C:\Radiance\lib\ and C:\DAYSIM\lib\.
Alstan
On Mon, 12 Mar 2012 14:32:34 -0400, Ben Silverman <bhsil...@gmail.com>
wrote:
>>>> > >> > fabian.posa...@gmail.com>**wrote:
>>>>
>>>> > >> > > > Hi Ben,
>>>>
>>>> > >> > > > Here is a perforated material example by Georg Mischler
>>>>
>>>> > >> > > > he first develops a .cal file (perforate.cal)
>>>>
>>>> > >> > > >
>>>> ------------------------------**----------------------------
>>>> ------------------------------**----------------------------
>>>> > >> > > > > OutsideFacade_**35PercentReflectance, which I was hoping
>>>> would be
>>>>
>>>> ...
>>>>
>>>> read more »
>>>>
>>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "DIVA for Rhino" group.
>> To post to this group, send email to
>> diva-for-rhino@googlegroups.**com<diva-fo...@googlegroups.com>
>> .
>> To unsubscribe from this group, send email to
>> diva-for-rhino+unsubscribe@*
>> *googlegroups.com <diva-for-rhino%2Bunsu...@googlegroups.com>.
>> For more options, visit this group at http://groups.google.com/**
>> group/diva-for-rhino?hl=en<http://groups.google.com/group/diva-for-rhino?hl=en>
>> .