Hi!
I just tried to use the powerful 'instance' primitive, which is working fine
unless I try to use a repeated (array) transform:
void instance 001
8 ./Oct/s_enn.oct -a -t 0 0 0.0064 -i 200
0
0
Results in:
oconv: fatal - bad transform for instance "001"
So clearly I'm doing something wrong here.
As far as I understand I do need the -a flag to repeat transform, right?
I'm testing a scene with very, very dense louvers, which is a perfectly
suitable case for instances I reckon.
For this scene I'm required to use the pmap/radzilla fork of Radiance.
Am I assuming correctly that the 'instance' primitive is supported in
(either?) of these versions?
Cheers,
-jelle
I guess this is the trouble,
-a 1 -t..... -i 200
a missing 1

ciao
G.
···
________________________________
From: radiance-general-bounces@radiance-online.org
[mailto:radiance-general-bounces@radiance-online.org] On Behalf Of Jelle
Feringa / EZCT Architecture & Design Research
Sent: 25 September 2006 20:49
To: radiance-general@radiance-online.org
Subject: [Radiance-general] instance primitive & xform
Hi!
I just tried to use the powerful 'instance' primitive, which is working
fine unless I try to use a repeated (array) transform:
void instance 001
8 ./Oct/s_enn.oct -a -t 0 0 0.0064 -i 200
0
0
Results in:
oconv: fatal - bad transform for instance "001"
So clearly I'm doing something wrong here...
As far as I understand I do need the -a flag to repeat transform, right?
I'm testing a scene with very, very dense louvers, which is a perfectly
suitable case for instances I reckon.
For this scene I'm required to use the pmap/radzilla fork of Radiance.
Am I assuming correctly that the 'instance' primitive is supported in
(either?) of these versions?
Cheers,
-jelle
____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses
btw,
if the louvers shape is not well fit inside of a cube you may think of
grouping more louvers in a 'meta' instance to help radiance...
now rushing home,
ciao
G.
···
________________________________
From: radiance-general-bounces@radiance-online.org
[mailto:radiance-general-bounces@radiance-online.org] On Behalf Of
Giulio Antonutto
Sent: 25 September 2006 21:15
To: Radiance general discussion
Subject: RE: [Radiance-general] instance primitive & xform
I guess this is the trouble,
-a 1 -t..... -i 200
a missing 1

ciao
G.
________________________________
From: radiance-general-bounces@radiance-online.org
[mailto:radiance-general-bounces@radiance-online.org] On Behalf Of Jelle
Feringa / EZCT Architecture & Design Research
Sent: 25 September 2006 20:49
To: radiance-general@radiance-online.org
Subject: [Radiance-general] instance primitive & xform
Hi!
I just tried to use the powerful 'instance' primitive, which is working
fine unless I try to use a repeated (array) transform:
void instance 001
8 ./Oct/s_enn.oct -a -t 0 0 0.0064 -i 200
0
0
Results in:
oconv: fatal - bad transform for instance "001"
So clearly I'm doing something wrong here...
As far as I understand I do need the -a flag to repeat transform, right?
I'm testing a scene with very, very dense louvers, which is a perfectly
suitable case for instances I reckon.
For this scene I'm required to use the pmap/radzilla fork of Radiance.
Am I assuming correctly that the 'instance' primitive is supported in
(either?) of these versions?
Cheers,
-jelle
____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses
Hi Jelle,
The -a option is supported by xform, only. When it is applied, xform replaces a single file with many copies, each using the -i option to indicate how many times to apply each transform. In short, you need to create a file with a single instance in it and call it using !xform with the -a option to get multiple copies.
Be sure to pay attention to the tips in the reference manual <http://radsite.lbl.gov/radiance/refer/ray.html#Surfaces> about when and how to use instances. In particular, instances work best with cubicle volumes (ideal) or at least square-ish pieces to avoid too many overlapping instance boundaries, which are always cubes.
-Greg
···
From: "Jelle Feringa / EZCT Architecture & Design Research" <jelle.feringa@ezct.net>
Date: September 25, 2006 8:48:49 PM BDT
Hi!
I just tried to use the powerful ‘instance’ primitive, which is working fine unless I try to use a repeated (array) transform:
void instance 001
8 ./Oct/s_enn.oct -a -t 0 0 0.0064 -i 200
0
0
Results in:
oconv: fatal - bad transform for instance "001"
So clearly I’m doing something wrong here…
As far as I understand I do need the –a flag to repeat transform, right?
I’m testing a scene with very, very dense louvers, which is a perfectly suitable case for instances I reckon.
For this scene I’m required to use the pmap/radzilla fork of Radiance.
Am I assuming correctly that the ‘instance’ primitive is supported in (either?) of these versions?
Cheers,
-jelle
Hi Jelle and Giulio,
I may be about to learn something here, but as far as I understand I do not think you can do this the way you are trying to. I know for certain what will work is the following:
step 1: define your instance such as inst.rad
void instance test
1 some-instance.oct
0
step 2: to deploy your instance in an array use a call to xform perhaps in its own file (or in some scene description) such as array.rad
!xform -a 10 -t 10 0 0 inst.rad
this will make an array in X of inst.rad repeated 10 time at unit intervals of 10.
-Jack
Jelle Feringa / EZCT Architecture & Design Research wrote:
···
Hi!
I just tried to use the powerful 'instance' primitive, which is working fine unless I try to use a repeated (array) transform:
void instance 001
8 ./Oct/s_enn.oct -a -t 0 0 0.0064 -i 200
0
0
Results in:
oconv: fatal - bad transform for instance "001"
So clearly I'm doing something wrong here...
As far as I understand I do need the --a flag to repeat transform, right?
I'm testing a scene with very, very dense louvers, which is a perfectly suitable case for instances I reckon.
For this scene I'm required to use the pmap/radzilla fork of Radiance.
Am I assuming correctly that the 'instance' primitive is supported in (either?) of these versions?
Cheers,
-jelle
------------------------------------------------------------------------
_______________________________________________
Radiance-general mailing list
Radiance-general@radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general
--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction