[Radiance-general] Radiance-general Digest, Vol 124, Issue 12

Khalid khalid.ud at gmail.com
Tue Jun 17 11:32:31 PDT 2014


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:amcneil at lbl.gov] 
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 <rt at cbgc.com
<mailto:rt at cbgc.com> > 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 <J.Mardaljevic at lboro.ac.uk
<mailto:J.Mardaljevic at lboro.ac.uk> >
To: "radiance-general at radiance-online.org
<mailto:radiance-general at radiance-online.org> "
        <radiance-general at radiance-online.org
<mailto:radiance-general at radiance-online.org> >
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID: <ED841520-A7A3-4911-836D-0416103B0BD3 at lboro.ac.uk
<mailto:ED841520-A7A3-4911-836D-0416103B0BD3 at lboro.ac.uk> >
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)

j.mardaljevic at lboro.ac.uk <mailto:j.mardaljevic at lboro.ac.uk> 

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 <tbleicher at gmail.com <mailto:tbleicher at gmail.com> >
To: Radiance general discussion <radiance-general at radiance-online.org
<mailto:radiance-general at radiance-online.org> >
Subject: Re: [Radiance-general] Create Octree File from SU2RAD
Message-ID:
        <CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ at mail.gmail.com
<mailto:CAKGV-k3c6CM_Q3sg0YM1ef9zxLq2rV5_3goPoE6uJeQfxckZFQ at 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 <rt at cbgc.com
<mailto:rt at cbgc.com> > 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*: oxf at cbgc.com <mailto:oxf at cbgc.com> 
>
> *London:*
> Lector Court
> 151-153 Farringdon Road
> London EC1R 3AF
> *Phone*: 0207 833 8815
> *Fax*: 0203 302 0050
> *Email*: lon at cbgc.com <mailto:lon at cbgc.com> 
>
>
> *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: oxf at cbgc.com <mailto:oxf at cbgc.com> 

London:
Lector Court,
151-153 Farringdon Road,
London EC1R 3AF
T: 0207 833 8815
F: 0203 302 0050
E: lon at cbgc.com <mailto:lon at cbgc.com> 

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
> Radiance-general at radiance-online.org
<mailto:Radiance-general at radiance-online.org> 
> 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
Radiance-general at radiance-online.org
<mailto:Radiance-general at radiance-online.org> 
http://www.radiance-online.org/mailman/listinfo/radiance-general


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



_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org
<mailto:Radiance-general at radiance-online.org> 
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/905c70ac/attachment-0001.html>


More information about the Radiance-general mailing list