Radiance-general Digest, Vol 124, Issue 12

Hi,

Thanks for the prompt responses. I will respond to both in sequence.

Ross

···

-------------------------------------------------------------------------
Message 1

Hi John,

'oconv materials.rad test.rad > test.oct'

still produces the error message 'xform: cannot find file...'

I have added a screenshot (error1) to the folder below:

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

With regards to 'objview' I don't actually have that program.

I downloaded a windows version of radiance from the link below and it wasn't included.

https://openstudio.nrel.gov/getting-started-developer/getting-started-radiance

-------------------------------------------------------------------------
Message 2

Hi Thomas

'rad test.rif' runs and produces and HDR file but it is completely black.

'xform test.rad > test_combined.rad' again gives an error that it can't find the file 'test.rad' which is clearly at the location.

I have put a screenshot of the error into the my dropbox folder (error2)

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

The huge number of materials was because I had previously imported some DAYSIM results. These have now been purged off an the export files updated.

----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Jun 2014 09:04:01 +0000
From: John Mardaljevic <[email protected]>
To: "[email protected]"
        <[email protected]>
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi Ross,

You need to include the materials file in the oconv command, and have it before the geometry. Try:

oconv materials.rad test.rad > test.oct

or, to view the scene 'on the fly':

objview materials.rad test.rad

Cheers
John

John Mardaljevic PhD FSLL
Professor of Building Daylight Modelling School of Civil & Building Engineering Loughborough University Loughborough Leicestershire
LE11 3TU, UK

Tel: +44 1509 222630 (Direct)
Tel: +44 1509 228529 (Pam Allen, secretary)

[email protected]

http://www.lboro.ac.uk/departments/civil-building/staff/mardaljevicjohn

Personal daylighting website:
http://climate-based-daylighting.com

------------------------------

Message: 2
Date: Tue, 17 Jun 2014 08:11:14 -0500
From: Thomas Bleicher <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID:
        <CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Ross

For a beginner it's usually easier to use the rad command with the *.rif file to get scenes rendered.

$ rad test.rif

That will start rendering all scenes and create the images - in your case only one.

However, looking at the *.rif file I see that there is a warning at the end:

## total number of objects too large

Unfortunately I don't remember why I put this message there. There may be a built-in limit for oconv or another process in Radiance. What happens if you combine all the output files to a single file with the xform command?

xform test.rad > test_combined.rad

If this works you can run oconv with the test_combined.rad file:

oconv test_combined.rad > test.oct

BTW: Is there a specific reason to have so many materials in your scene?
Most of your scene files contain only a few polygons. You can also try to export the scene by group or by layer in su2rad. That (probably) reduces the file count and can solve your problem.

Regards,
Thomas

On Tue, Jun 17, 2014 at 2:44 AM, Thompson, Ross <[email protected]> wrote:

Hi,

I am now looking to use radiance after learning daysim. I have
successfully completed the tutorial and am now looking to produce
renders from scenes set up in SketchUp.

Here is a link to the SketchUp output file:

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

My approach is to apply the OCONV function to the ?test.rad? file.

However unlike in the tutorial, materials and geometry are housed in
separate directories.

And I get the following errors:

oconv test.rad > test.oct

xform: cannot find file "objects/Material133.rad"

oconv: warning - (!xform objects/Material133.rad): empty file

I don?t quite understand why the file can?t be found.

Am I using the correct approach?

Thanks in advance for your help.

Ross

Ross Thompson

Senior Sustainability & Energy Engineer

T: 01865 864500

*Oxford:*
South House
3 Farmoor Court
Cumnor Road
Oxford OX2 9LU
*Phone*: 01865 864500
*Fax*: 01865 864584
*Email*: [email protected]

*London:*
Lector Court
151-153 Farringdon Road
London EC1R 3AF
*Phone*: 0207 833 8815
*Fax*: 0203 302 0050
*Email*: [email protected]

*For the latest CBG news visit **www.cbgc.com* <http://www.cbgc.com>
         [image: CBGConsultantsltd Facebook]
<http://facebook.com/cbgconsultantsltd> [image: CBG Consultants
Twitter] <http://twitter.com/CBGConsultants>

CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860
3120
63

*Please consider the environment - do you really need to print this
email?*

The views expressed in this e-mail are those of the sender and not
necessarily those of CBG Consultants.

The content of this email is private and may be confidential for the
intended recipient only. If misdirected, please notify us by telephone
and confirm that it has been deleted from your system and any copies destroyed.
If you are not the intended recipient you are strictly prohibited from
using, printing, copying, distributing or disseminating this e-mail or
any information contained in it.

We use reasonable endeavours to virus scan all e-mails leaving the
company but no warranty is given that this e-mail and any attachments
are virus free. You should undertake your own virus checking. The
right to monitor e-mail communications through our networks is reserved by us.

----------------------------
We are proud to announce that CBG Consultants have been shortlisted for the CIBSE Building Services Consultancy of the year (up to 100 employees) Award 2014.

Oxford:
South House,
3 Farmoor Court,
Cumnor Road,
Oxford OX2 9LU
T: 01865 864500
F: 01865 864584
E: [email protected]

London:
Lector Court,
151-153 Farringdon Road,
London EC1R 3AF
T: 0207 833 8815
F: 0203 302 0050
E: [email protected]

For the latest CBG news visit www.cbgc.com

CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860 3120 63

Please consider the environment - do you really need to print this email?

The views expressed in this e-mail are those of the sender and not necessarily those of CBG Consultants.

The content of this email is private and may be confidential for the intended recipient only. If misdirected, please notify us by telephone and confirm that it has been deleted from your system and any copies destroyed. If you are not the intended recipient you are strictly prohibited from using, printing, copying, distributing or disseminating this e-mail or any information contained in it.

We use reasonable endeavours to virus scan all e-mails leaving the company but no warranty is given that this e-mail and any attachments are virus free. You should undertake your own virus checking. The right to monitor e-mail communications through our networks is reserved by us.

----------------------------
_______________________________________________

Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagefebc64.PNG
Type: image/png
Size: 4616 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagebba53f.PNG
Type: image/png
Size: 3461 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb52106.PNG
Type: image/png
Size: 3310 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment-0002.png>

------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

End of Radiance-general Digest, Vol 124, Issue 12
*************************************************

Ross,

Ah, I (wrongly) assumed you were using UNIX (linux or Mac).

I was surprised at the number of individual materials / rad files until I used objview and saw that this is how results can be displayed: as a false-colour 'grid' with each tile having its own material (i.e. shade) and rad file.

Yes, if you try to run oconv on the contents of the objects directory it will complain: "oconv: internal - too many scene files".

Cheers
John

John Mardaljevic PhD FSLL
Professor of Building Daylight Modelling
School of Civil & Building Engineering
Loughborough University
Loughborough
Leicestershire
LE11 3TU, UK

Tel: +44 1509 222630 (Direct)
Tel: +44 1509 228529 (Pam Allen, secretary)

[email protected]

http://www.lboro.ac.uk/departments/civil-building/staff/mardaljevicjohn

Personal daylighting website:
http://climate-based-daylighting.com

Ross,

I think this is because you don't have the current working directory in
your RAYPATH.
This is a fault in the instructions on setting RAYPATH on NREL's installer
page. I'd tell you how to rectify it, but I personally don't know how to
indicate current working directory in a Windows environment variable (on
*nix systems it's a period). a work around is to use the whole path in the
rad file (starting with c:) but you have a space in one of your directory
names, so you'd have to do something to escape the space (on *nix it's a
backslash before the space - Don't know if it's the same on Windows).

Can any Windows Radiance user help with including the current working
directory in RAYPATH?

Andy

···

On Tue, Jun 17, 2014 at 7:10 AM, Thompson, Ross <[email protected]> wrote:

Hi,

Thanks for the prompt responses. I will respond to both in sequence.

Ross

-------------------------------------------------------------------------
Message 1

Hi John,

'oconv materials.rad test.rad > test.oct'

still produces the error message 'xform: cannot find file...'

I have added a screenshot (error1) to the folder below:

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

With regards to 'objview' I don't actually have that program.

I downloaded a windows version of radiance from the link below and it
wasn't included.

https://openstudio.nrel.gov/getting-started-developer/getting-started-radiance

-------------------------------------------------------------------------
Message 2

Hi Thomas

'rad test.rif' runs and produces and HDR file but it is completely black.

'xform test.rad > test_combined.rad' again gives an error that it can't
find the file 'test.rad' which is clearly at the location.

I have put a screenshot of the error into the my dropbox folder (error2)

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

The huge number of materials was because I had previously imported some
DAYSIM results. These have now been purged off an the export files updated.

----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Jun 2014 09:04:01 +0000
From: John Mardaljevic <[email protected]>
To: "[email protected]"
        <[email protected]>
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi Ross,

You need to include the materials file in the oconv command, and have it
before the geometry. Try:

oconv materials.rad test.rad > test.oct

or, to view the scene 'on the fly':

objview materials.rad test.rad

Cheers
John

John Mardaljevic PhD FSLL
Professor of Building Daylight Modelling School of Civil & Building
Engineering Loughborough University Loughborough Leicestershire
LE11 3TU, UK

Tel: +44 1509 222630 (Direct)
Tel: +44 1509 228529 (Pam Allen, secretary)

[email protected]

http://www.lboro.ac.uk/departments/civil-building/staff/mardaljevicjohn

Personal daylighting website:
http://climate-based-daylighting.com

------------------------------

Message: 2
Date: Tue, 17 Jun 2014 08:11:14 -0500
From: Thomas Bleicher <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID:
        <
CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Ross

For a beginner it's usually easier to use the rad command with the *.rif
file to get scenes rendered.

$ rad test.rif

That will start rendering all scenes and create the images - in your case
only one.

However, looking at the *.rif file I see that there is a warning at the
end:

## total number of objects too large

Unfortunately I don't remember why I put this message there. There may be
a built-in limit for oconv or another process in Radiance. What happens if
you combine all the output files to a single file with the xform command?

xform test.rad > test_combined.rad

If this works you can run oconv with the test_combined.rad file:

oconv test_combined.rad > test.oct

BTW: Is there a specific reason to have so many materials in your scene?
Most of your scene files contain only a few polygons. You can also try to
export the scene by group or by layer in su2rad. That (probably) reduces
the file count and can solve your problem.

Regards,
Thomas

On Tue, Jun 17, 2014 at 2:44 AM, Thompson, Ross <[email protected]> wrote:

> Hi,
>
>
>
> I am now looking to use radiance after learning daysim. I have
> successfully completed the tutorial and am now looking to produce
> renders from scenes set up in SketchUp.
>
> Here is a link to the SketchUp output file:
>
> https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a
>
>
>
> My approach is to apply the OCONV function to the ?test.rad? file.
>
> However unlike in the tutorial, materials and geometry are housed in
> separate directories.
>
> And I get the following errors:
>
> oconv test.rad > test.oct
>
> xform: cannot find file "objects/Material133.rad"
>
> oconv: warning - (!xform objects/Material133.rad): empty file
>
>
>
> I don?t quite understand why the file can?t be found.
>
> Am I using the correct approach?
>
> Thanks in advance for your help.
>
>
>
> Ross
>
>
>
>
>
>
>
>
>
>
>
>
>
> Ross Thompson
>
> Senior Sustainability & Energy Engineer
>
> T: 01865 864500
>
>
> *Oxford:*
> South House
> 3 Farmoor Court
> Cumnor Road
> Oxford OX2 9LU
> *Phone*: 01865 864500
> *Fax*: 01865 864584
> *Email*: [email protected]
>
> *London:*
> Lector Court
> 151-153 Farringdon Road
> London EC1R 3AF
> *Phone*: 0207 833 8815
> *Fax*: 0203 302 0050
> *Email*: [email protected]
>
>
> *For the latest CBG news visit **www.cbgc.com* <http://www.cbgc.com>
> [image: CBGConsultantsltd Facebook]
> <http://facebook.com/cbgconsultantsltd> [image: CBG Consultants
> Twitter] <http://twitter.com/CBGConsultants>
>
> CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860
> 3120
> 63
>
>
>
>
> *Please consider the environment - do you really need to print this
> email?*
>
>
> The views expressed in this e-mail are those of the sender and not
> necessarily those of CBG Consultants.
>
>
> The content of this email is private and may be confidential for the
> intended recipient only. If misdirected, please notify us by telephone
> and confirm that it has been deleted from your system and any copies
destroyed.
> If you are not the intended recipient you are strictly prohibited from
> using, printing, copying, distributing or disseminating this e-mail or
> any information contained in it.
>
> We use reasonable endeavours to virus scan all e-mails leaving the
> company but no warranty is given that this e-mail and any attachments
> are virus free. You should undertake your own virus checking. The
> right to monitor e-mail communications through our networks is reserved
by us.
>
>
>
----------------------------
We are proud to announce that CBG Consultants have been shortlisted for
the CIBSE Building Services Consultancy of the year (up to 100 employees)
Award 2014.

Oxford:
South House,
3 Farmoor Court,
Cumnor Road,
Oxford OX2 9LU
T: 01865 864500
F: 01865 864584
E: [email protected]

London:
Lector Court,
151-153 Farringdon Road,
London EC1R 3AF
T: 0207 833 8815
F: 0203 302 0050
E: [email protected]

For the latest CBG news visit www.cbgc.com

CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860 3120
63

Please consider the environment - do you really need to print this email?

The views expressed in this e-mail are those of the sender and not
necessarily those of CBG Consultants.

The content of this email is private and may be confidential for the
intended recipient only. If misdirected, please notify us by telephone and
confirm that it has been deleted from your system and any copies destroyed.
If you are not the intended recipient you are strictly prohibited from
using, printing, copying, distributing or disseminating this e-mail or any
information contained in it.

We use reasonable endeavours to virus scan all e-mails leaving the company
but no warranty is given that this e-mail and any attachments are virus
free. You should undertake your own virus checking. The right to monitor
e-mail communications through our networks is reserved by us.

----------------------------
_______________________________________________
> Radiance-general mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment.html
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagefebc64.PNG
Type: image/png
Size: 4616 bytes
Desc: not available
URL: <
http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment.png
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagebba53f.PNG
Type: image/png
Size: 3461 bytes
Desc: not available
URL: <
http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment-0001.png
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb52106.PNG
Type: image/png
Size: 3310 bytes
Desc: not available
URL: <
http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment-0002.png
>

------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

End of Radiance-general Digest, Vol 124, Issue 12
*************************************************

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Ross

If you install the latest open studio version, it will install radiance with
the necessary settings, then you do not need to set the paths manually.

Khalid

···

From: Andrew McNeil [mailto:[email protected]]
Sent: Tuesday, June 17, 2014 9:08 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] Radiance-general Digest, Vol 124, Issue 12

Ross,

I think this is because you don't have the current working directory in your
RAYPATH.

This is a fault in the instructions on setting RAYPATH on NREL's installer
page. I'd tell you how to rectify it, but I personally don't know how to
indicate current working directory in a Windows environment variable (on
*nix systems it's a period). a work around is to use the whole path in the
rad file (starting with c:) but you have a space in one of your directory
names, so you'd have to do something to escape the space (on *nix it's a
backslash before the space - Don't know if it's the same on Windows).

Can any Windows Radiance user help with including the current working
directory in RAYPATH?

Andy

On Tue, Jun 17, 2014 at 7:10 AM, Thompson, Ross <[email protected] <mailto:[email protected]> > wrote:

Hi,

Thanks for the prompt responses. I will respond to both in sequence.

Ross

-------------------------------------------------------------------------
Message 1

Hi John,

'oconv materials.rad test.rad > test.oct'

still produces the error message 'xform: cannot find file...'

I have added a screenshot (error1) to the folder below:

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

With regards to 'objview' I don't actually have that program.

I downloaded a windows version of radiance from the link below and it wasn't
included.

https://openstudio.nrel.gov/getting-started-developer/getting-started-radian
ce

-------------------------------------------------------------------------
Message 2

Hi Thomas

'rad test.rif' runs and produces and HDR file but it is completely black.

'xform test.rad > test_combined.rad' again gives an error that it can't find
the file 'test.rad' which is clearly at the location.

I have put a screenshot of the error into the my dropbox folder (error2)

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

The huge number of materials was because I had previously imported some
DAYSIM results. These have now been purged off an the export files updated.

----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Jun 2014 09:04:01 +0000
From: John Mardaljevic <[email protected]
<mailto:[email protected]> >
To: "[email protected]
<mailto:[email protected]> "
        <[email protected]
<mailto:[email protected]> >
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID: <[email protected]
<mailto:[email protected]> >
Content-Type: text/plain; charset="us-ascii"

Hi Ross,

You need to include the materials file in the oconv command, and have it
before the geometry. Try:

oconv materials.rad test.rad > test.oct

or, to view the scene 'on the fly':

objview materials.rad test.rad

Cheers
John

John Mardaljevic PhD FSLL
Professor of Building Daylight Modelling School of Civil & Building
Engineering Loughborough University Loughborough Leicestershire
LE11 3TU, UK

Tel: +44 1509 222630 <tel:%2B44%201509%20222630> (Direct)
Tel: +44 1509 228529 <tel:%2B44%201509%20228529> (Pam Allen, secretary)

[email protected] <mailto:[email protected]>

http://www.lboro.ac.uk/departments/civil-building/staff/mardaljevicjohn

Personal daylighting website:
http://climate-based-daylighting.com

------------------------------

Message: 2
Date: Tue, 17 Jun 2014 08:11:14 -0500
From: Thomas Bleicher <[email protected] <mailto:[email protected]> >
To: Radiance general discussion <[email protected]
<mailto:[email protected]> >
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID:
        <CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ@mail.gmail.com
<mailto:CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ@mail.gmail.com>

Content-Type: text/plain; charset="utf-8"

Ross

For a beginner it's usually easier to use the rad command with the *.rif
file to get scenes rendered.

$ rad test.rif

That will start rendering all scenes and create the images - in your case
only one.

However, looking at the *.rif file I see that there is a warning at the end:

## total number of objects too large

Unfortunately I don't remember why I put this message there. There may be a
built-in limit for oconv or another process in Radiance. What happens if you
combine all the output files to a single file with the xform command?

xform test.rad > test_combined.rad

If this works you can run oconv with the test_combined.rad file:

oconv test_combined.rad > test.oct

BTW: Is there a specific reason to have so many materials in your scene?
Most of your scene files contain only a few polygons. You can also try to
export the scene by group or by layer in su2rad. That (probably) reduces the
file count and can solve your problem.

Regards,
Thomas

On Tue, Jun 17, 2014 at 2:44 AM, Thompson, Ross <[email protected] <mailto:[email protected]> > wrote:

Hi,

I am now looking to use radiance after learning daysim. I have
successfully completed the tutorial and am now looking to produce
renders from scenes set up in SketchUp.

Here is a link to the SketchUp output file:

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

My approach is to apply the OCONV function to the ?test.rad? file.

However unlike in the tutorial, materials and geometry are housed in
separate directories.

And I get the following errors:

oconv test.rad > test.oct

xform: cannot find file "objects/Material133.rad"

oconv: warning - (!xform objects/Material133.rad): empty file

I don?t quite understand why the file can?t be found.

Am I using the correct approach?

Thanks in advance for your help.

Ross

Ross Thompson

Senior Sustainability & Energy Engineer

T: 01865 864500

*Oxford:*
South House
3 Farmoor Court
Cumnor Road
Oxford OX2 9LU
*Phone*: 01865 864500
*Fax*: 01865 864584
*Email*: [email protected] <mailto:[email protected]>

*London:*
Lector Court
151-153 Farringdon Road
London EC1R 3AF
*Phone*: 0207 833 8815
*Fax*: 0203 302 0050
*Email*: [email protected] <mailto:[email protected]>

*For the latest CBG news visit **www.cbgc.com <http://www.cbgc.com> *

<http://www.cbgc.com>

         [image: CBGConsultantsltd Facebook]
<http://facebook.com/cbgconsultantsltd> [image: CBG Consultants
Twitter] <http://twitter.com/CBGConsultants>

CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860
3120
63

*Please consider the environment - do you really need to print this
email?*

The views expressed in this e-mail are those of the sender and not
necessarily those of CBG Consultants.

The content of this email is private and may be confidential for the
intended recipient only. If misdirected, please notify us by telephone
and confirm that it has been deleted from your system and any copies

destroyed.

If you are not the intended recipient you are strictly prohibited from
using, printing, copying, distributing or disseminating this e-mail or
any information contained in it.

We use reasonable endeavours to virus scan all e-mails leaving the
company but no warranty is given that this e-mail and any attachments
are virus free. You should undertake your own virus checking. The
right to monitor e-mail communications through our networks is reserved by

us.

----------------------------
We are proud to announce that CBG Consultants have been shortlisted for the
CIBSE Building Services Consultancy of the year (up to 100 employees) Award
2014.

Oxford:
South House,
3 Farmoor Court,
Cumnor Road,
Oxford OX2 9LU
T: 01865 864500
F: 01865 864584
E: [email protected] <mailto:[email protected]>

London:
Lector Court,
151-153 Farringdon Road,
London EC1R 3AF
T: 0207 833 8815
F: 0203 302 0050
E: [email protected] <mailto:[email protected]>

For the latest CBG news visit www.cbgc.com <http://www.cbgc.com>

CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860 3120 63

Please consider the environment - do you really need to print this email?

The views expressed in this e-mail are those of the sender and not
necessarily those of CBG Consultants.

The content of this email is private and may be confidential for the
intended recipient only. If misdirected, please notify us by telephone and
confirm that it has been deleted from your system and any copies destroyed.
If you are not the intended recipient you are strictly prohibited from
using, printing, copying, distributing or disseminating this e-mail or any
information contained in it.

We use reasonable endeavours to virus scan all e-mails leaving the company
but no warranty is given that this e-mail and any attachments are virus
free. You should undertake your own virus checking. The right to monitor
e-mail communications through our networks is reserved by us.

----------------------------
_______________________________________________

Radiance-general mailing list
[email protected]

<mailto:[email protected]>

http://www.radiance-online.org/mailman/listinfo/radiance-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.radiance-online.org/pipermail/radiance-general/attachments/20140
617/23bbcec0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagefebc64.PNG
Type: image/png
Size: 4616 bytes
Desc: not available
URL:
<http://www.radiance-online.org/pipermail/radiance-general/attachments/20140
617/23bbcec0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagebba53f.PNG
Type: image/png
Size: 3461 bytes
Desc: not available
URL:
<http://www.radiance-online.org/pipermail/radiance-general/attachments/20140
617/23bbcec0/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb52106.PNG
Type: image/png
Size: 3310 bytes
Desc: not available
URL:
<http://www.radiance-online.org/pipermail/radiance-general/attachments/20140
617/23bbcec0/attachment-0002.png>

------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]
<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-general

End of Radiance-general Digest, Vol 124, Issue 12
*************************************************

_______________________________________________
Radiance-general mailing list
[email protected]
<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hmm, I thought the dot worked on Win, too. This is why we have that direction on the OpenStudio page. But then again, I recall writing the Radiance translator so that it makes references to scene files like so:

!xform ./scene/shading_building.rad
!xform ./scene/shading_site.rad

So I guess somewhere along the way I found the dot to be lacking.

Perhaps it's time to update that page, eh? Thanks for the heads up, Andy. Oh, and yeah the backslash escapes the space in the filename on Windows too.

- Rob

P.S.
This may be a breadcrumb trail for someone to follow, if interested in reliably referencing the CWD in your Windows environments:
http://blogs.msdn.com/b/oldnewthing/archive/2005/01/28/362565.aspx

···

On 6/17/14, 12:08 PM, "Andrew McNeil" <[email protected]<mailto:[email protected]>> wrote:

Ross,

I think this is because you don't have the current working directory in your RAYPATH.
This is a fault in the instructions on setting RAYPATH on NREL's installer page. I'd tell you how to rectify it, but I personally don't know how to indicate current working directory in a Windows environment variable (on *nix systems it's a period). a work around is to use the whole path in the rad file (starting with c:) but you have a space in one of your directory names, so you'd have to do something to escape the space (on *nix it's a backslash before the space - Don't know if it's the same on Windows).

Can any Windows Radiance user help with including the current working directory in RAYPATH?

Andy

On Tue, Jun 17, 2014 at 7:10 AM, Thompson, Ross <[email protected]<mailto:[email protected]>> wrote:

Hi,

Thanks for the prompt responses. I will respond to both in sequence.

Ross

-------------------------------------------------------------------------
Message 1

Hi John,

'oconv materials.rad test.rad > test.oct'

still produces the error message 'xform: cannot find file...'

I have added a screenshot (error1) to the folder below:

With regards to 'objview' I don't actually have that program.

I downloaded a windows version of radiance from the link below and it wasn't included.

https://openstudio.nrel.gov/getting-started-developer/getting-started-radiance

-------------------------------------------------------------------------
Message 2

Hi Thomas

'rad test.rif' runs and produces and HDR file but it is completely black.

'xform test.rad > test_combined.rad' again gives an error that it can't find the file 'test.rad' which is clearly at the location.

I have put a screenshot of the error into the my dropbox folder (error2)

The huge number of materials was because I had previously imported some DAYSIM results. These have now been purged off an the export files updated.

----------------------------------------------------------------------

Message: 1
Date: Tue, 17 Jun 2014 09:04:01 +0000
From: John Mardaljevic <[email protected]<mailto:[email protected]>>
To: "[email protected]<mailto:[email protected]>"
        <[email protected]<mailto:[email protected]>>
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID: <[email protected]<mailto:[email protected]>>
Content-Type: text/plain; charset="us-ascii"

Hi Ross,

You need to include the materials file in the oconv command, and have it before the geometry. Try:

oconv materials.rad test.rad > test.oct

or, to view the scene 'on the fly':

objview materials.rad test.rad

Cheers
John

John Mardaljevic PhD FSLL
Professor of Building Daylight Modelling School of Civil & Building Engineering Loughborough University Loughborough Leicestershire
LE11 3TU, UK

Tel: +44 1509 222630<tel:%2B44%201509%20222630> (Direct)
Tel: +44 1509 228529<tel:%2B44%201509%20228529> (Pam Allen, secretary)

[email protected]<mailto:[email protected]>

Personal daylighting website:
http://climate-based-daylighting.com

------------------------------

Message: 2
Date: Tue, 17 Jun 2014 08:11:14 -0500
From: Thomas Bleicher <[email protected]<mailto:[email protected]>>
To: Radiance general discussion <[email protected]<mailto:[email protected]>>
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID:
        <CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ@mail.gmail.com<mailto:CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

Ross

For a beginner it's usually easier to use the rad command with the *.rif file to get scenes rendered.

$ rad test.rif

That will start rendering all scenes and create the images - in your case only one.

However, looking at the *.rif file I see that there is a warning at the end:

## total number of objects too large

Unfortunately I don't remember why I put this message there. There may be a built-in limit for oconv or another process in Radiance. What happens if you combine all the output files to a single file with the xform command?

xform test.rad > test_combined.rad

If this works you can run oconv with the test_combined.rad file:

oconv test_combined.rad > test.oct

BTW: Is there a specific reason to have so many materials in your scene?
Most of your scene files contain only a few polygons. You can also try to export the scene by group or by layer in su2rad. That (probably) reduces the file count and can solve your problem.

Regards,
Thomas

On Tue, Jun 17, 2014 at 2:44 AM, Thompson, Ross <[email protected]<mailto:[email protected]>> wrote:

Hi,

I am now looking to use radiance after learning daysim. I have
successfully completed the tutorial and am now looking to produce
renders from scenes set up in SketchUp.

Here is a link to the SketchUp output file:

https://www.dropbox.com/sh/uyokuvxiu9s1ifb/AAB5TXbez6p8-FAgl3EeR4f2a

My approach is to apply the OCONV function to the ?test.rad? file.

However unlike in the tutorial, materials and geometry are housed in
separate directories.

And I get the following errors:

oconv test.rad > test.oct

xform: cannot find file "objects/Material133.rad"

oconv: warning - (!xform objects/Material133.rad): empty file

I don?t quite understand why the file can?t be found.

Am I using the correct approach?

Thanks in advance for your help.

Ross

Ross Thompson

Senior Sustainability & Energy Engineer

T: 01865 864500

*Oxford:*
South House
3 Farmoor Court
Cumnor Road
Oxford OX2 9LU
*Phone*: 01865 864500
*Fax*: 01865 864584
*Email*: [email protected]<mailto:[email protected]>

*London:*
Lector Court
151-153 Farringdon Road
London EC1R 3AF
*Phone*: 0207 833 8815
*Fax*: 0203 302 0050
*Email*: [email protected]<mailto:[email protected]>

*For the latest CBG news visit **www.cbgc.com<http://www.cbgc.com>* <http://www.cbgc.com>
         [image: CBGConsultantsltd Facebook]
<http://facebook.com/cbgconsultantsltd> [image: CBG Consultants
Twitter] <http://twitter.com/CBGConsultants>

CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860
3120
63

*Please consider the environment - do you really need to print this
email?*

The views expressed in this e-mail are those of the sender and not
necessarily those of CBG Consultants.

The content of this email is private and may be confidential for the
intended recipient only. If misdirected, please notify us by telephone
and confirm that it has been deleted from your system and any copies destroyed.
If you are not the intended recipient you are strictly prohibited from
using, printing, copying, distributing or disseminating this e-mail or
any information contained in it.

We use reasonable endeavours to virus scan all e-mails leaving the
company but no warranty is given that this e-mail and any attachments
are virus free. You should undertake your own virus checking. The
right to monitor e-mail communications through our networks is reserved by us.

----------------------------
We are proud to announce that CBG Consultants have been shortlisted for the CIBSE Building Services Consultancy of the year (up to 100 employees) Award 2014.

Oxford:
South House,
3 Farmoor Court,
Cumnor Road,
Oxford OX2 9LU
T: 01865 864500
F: 01865 864584
E: [email protected]<mailto:[email protected]>

London:
Lector Court,
151-153 Farringdon Road,
London EC1R 3AF
T: 0207 833 8815
F: 0203 302 0050
E: [email protected]<mailto:[email protected]>

For the latest CBG news visit www.cbgc.com<http://www.cbgc.com>

CBG Consultants Ltd Registered No. 538 4147/VAT Registration No. 860 3120 63

Please consider the environment - do you really need to print this email?

The views expressed in this e-mail are those of the sender and not necessarily those of CBG Consultants.

The content of this email is private and may be confidential for the intended recipient only. If misdirected, please notify us by telephone and confirm that it has been deleted from your system and any copies destroyed. If you are not the intended recipient you are strictly prohibited from using, printing, copying, distributing or disseminating this e-mail or any information contained in it.

We use reasonable endeavours to virus scan all e-mails leaving the company but no warranty is given that this e-mail and any attachments are virus free. You should undertake your own virus checking. The right to monitor e-mail communications through our networks is reserved by us.

----------------------------
_______________________________________________

Radiance-general mailing list
[email protected]<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagefebc64.PNG
Type: image/png
Size: 4616 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagebba53f.PNG
Type: image/png
Size: 3461 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb52106.PNG
Type: image/png
Size: 3310 bytes
Desc: not available
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20140617/23bbcec0/attachment-0002.png>

------------------------------

_______________________________________________
Radiance-general mailing list
[email protected]<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-general

End of Radiance-general Digest, Vol 124, Issue 12
*************************************************

_______________________________________________
Radiance-general mailing list
[email protected]<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-general