[Radiance-general] BSDFviewer

Andrew McNeil amcneil at lbl.gov
Fri Apr 12 11:19:02 PDT 2013


Here's a new zip file with all the common src files:
http://dl.dropboxusercontent.com/u/16523492/BSDFViewer1.3b_ubuntu.zip

BSDFViewer doesn't need all of them, but it's easier to include it all than
it is to figure out which ones aren't necessary and edit the Rmakefile...

Andy



On Fri, Apr 12, 2013 at 10:31 AM, Andrew McNeil <amcneil at lbl.gov> wrote:

> Hi Andre,
> Thanks for sending a report.  I'm gald you were able to get it to work.
>  It shouldn't need those other things to build libBSDF.so, so I'll see if I
> can remove the dependencies.
>
> What did you do to fix the jni_md.h location problem?  Did you copy it
> into the correct place?
>
> The WINDOW team want's to use this software (or a cleaned up versin of it)
> to display BSDFs from WINDOW, so it will have the ability to load a file
> passed as a command line argument eventually.
>
> The best public documentation is available here (starting at slide 18):
>
> http://www.radiance-online.org/community/workshops/2011-berkeley-ca/presentations/day1/GW3_Multires_BSDF.pdf
> but that's not much to go on.
>
> I can also offer a few images of the tensor tree angle bsdf basis to help
> understand how the shirly-chiu mapping works with the hilbert curve:
> http://gaia.lbl.gov/people/andy/public/tensortree/
>
> Andy
>
>
> On Fri, Apr 12, 2013 at 2:07 AM, Andre Kostro <andre.kostro at epfl.ch>wrote:
>
>> Dear Andrew,
>>
>> I missed the first versions and the links are no longer available. I
>> downloaded the last version you provided ( 1.3a_ubuntu.zip) and it seems
>> some source files from the common radiance source folder are missing for
>> succesfull compilation :
>> cone.c    cone.h    face.c    face.h    free_os.c  image.c  instance.c
>> instance.h  loadvars.c    mesh.c    mesh.h    modobject.c  otypes.c
>> otypes.h  readmesh.c  readobj.c    readoct.c  sceneio.c  tmapluv.c
>> tmaptiff.c  tmaptiff.h
>> (i copied them from the radiance-HEAD source available on
>> radiance-online.org)
>>
>> Then there is a java issue
>> /usr/lib/jvm/java-7-oracle/include/jni.h:45:20: fatal error: jni_md.h: No
>> such file or directory
>> this error comes from the fact that the file is located in the
>> include/linux rep. (
>> http://mail-archives.apache.org/mod_mbox/hadoop-hdfs-dev/201205.mbox/%3C117050669.38033.1336464885155.JavaMail.tomcat@hel.zones.apache.org%3E
>> )
>>
>> And now it works!!
>>
>> Thanks! You just provided me with a great tool that will be quite
>> usefull. It would be even more if i can directly load a bsdf.xml file from
>> the comand line (or by an other way). Ist that possible??
>>
>> I see this ubuntu version includes tensor trees. That is great! I have
>> been reading a bit about tensor trees and would like to use them to create
>> bsdf from the simulation of complex fenestration systems. I looked at the
>> code in the genbsdf routine that creates the tensor tree but i am realy not
>> familiar with perl... then i found the bsdf_t files in the common dir of
>> radiance. Is there any specific documentation about this, or an example i
>> could start from to create and store tensor tree bsdfs?? Idealy i would
>> like to create a C++ object to do that... Any help or advice would be
>> greatly apriciated.
>>
>> Kind Regards.
>>
>> Andre
>>
>>
>>
>> On Fri, Apr 12, 2013 at 1:26 AM, <
>> radiance-general-request at radiance-online.org> wrote:
>>
>>> Send Radiance-general mailing list submissions to
>>>         radiance-general at radiance-online.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>         http://www.radiance-online.org/mailman/listinfo/radiance-general
>>> or, via email, send a message with subject or body 'help' to
>>>         radiance-general-request at radiance-online.org
>>>
>>> You can reach the person managing the list at
>>>         radiance-general-owner at radiance-online.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Radiance-general digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>>    1. Re: BSDFviewer (Zack Rogers)
>>>    2. Re: BSDFviewer (Andrew McNeil)
>>>    3. Re: BSDFviewer (Andrew McNeil)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Thu, 11 Apr 2013 16:21:10 -0600
>>> From: Zack Rogers <zrogers at daylightinginnovations.com>
>>> To: Radiance general discussion <radiance-general at radiance-online.org>
>>> Subject: Re: [Radiance-general] BSDFviewer
>>> Message-ID:
>>>         <
>>> CAAP856z+OiEJoNODb0HCwzNU2FtRvu2yWjjS3bCGO96-Pd_65w at mail.gmail.com>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>>
>>> Hi Andy,
>>>
>>> I just tried installing this on Ubuntu and got a couple errors.  First it
>>> complained of not having a "BSDFViewer" directory.  Was this supposed to
>>> be
>>> in this .tar file?  So, I copied this same directory that was in a
>>> "BSDFViewer1.2_ubuntu" package I got from you and it runs until I get
>>> errors like this for each file in BSDFViewer directory:
>>>
>>> /usr/bin/ld: i386 architecture of input file 'xxxxx.o' is incompatible
>>> with
>>> i386:x86-64 output
>>>
>>> It also complains about not finding a "libBSDF.so" file.
>>>
>>> Am I missing some updated files or something else?
>>>
>>> Thanks!
>>> Zack
>>>
>>> On Wed, Mar 27, 2013 at 11:21 AM, Andrew McNeil <amcneil at lbl.gov> wrote:
>>>
>>> > Andre,
>>> >
>>> > download: http://dl.dropbox.com/u/16523492/BSDFViewer1.3_ubuntu.tar
>>> > unpack and run:  sudo ./install.sh
>>> > Tell me how it goes, send any errors or problems.
>>> >
>>> > Thanks!
>>> > Andy
>>> >
>>> >
>>> > On Wed, Mar 27, 2013 at 4:10 AM, Andre Kostro <andre.kostro at epfl.ch
>>> >wrote:
>>> >
>>> >> Hi there,
>>> >>
>>> >> I would be very interested in testing the BSDFviewer for linux.
>>> >>
>>> >> Kind regards,
>>> >> Andre
>>> >>
>>> >> _______________________________________________
>>> >> Radiance-general mailing list
>>> >> Radiance-general at radiance-online.org
>>> >> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>> >>
>>> >>
>>> >
>>> > _______________________________________________
>>> > Radiance-general mailing list
>>> > Radiance-general at radiance-online.org
>>> > http://www.radiance-online.org/mailman/listinfo/radiance-general
>>> >
>>> >
>>>
>>>
>>> --
>>> Zack Rogers, P.E., LEED AP BD+C
>>> Daylighting Innovations, LLC
>>> 211 North Public Road, Suite 220
>>> Lafayette, CO 80026
>>> (303)946-2310
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <
>>> http://www.radiance-online.org/pipermail/radiance-general/attachments/20130411/bd1ade36/attachment-0001.html
>>> >
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Thu, 11 Apr 2013 16:22:54 -0700
>>> From: Andrew McNeil <amcneil at lbl.gov>
>>> To: Radiance general discussion <radiance-general at radiance-online.org>
>>> Subject: Re: [Radiance-general] BSDFviewer
>>> Message-ID:
>>>         <
>>> CAOG+NixozqrDq7cv_BgFwCccTjTacboD9tZQWmm9Q4UuaT2TGw at mail.gmail.com>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>>
>>> Hi Zack,
>>> Sorry, the BSDFViewer folder should have been in the tar file.  Using an
>>> old one won't work.
>>>
>>> here's a link to a new tar file which includes the missing directory:
>>> http://dl.dropboxusercontent.com/u/16523492/BSDFViewer1.3a_ubuntu.tar
>>>
>>> Andy
>>>
>>> PS - Still working on answering all the questions in your previous
>>> email...
>>>
>>>
>>> On Thu, Apr 11, 2013 at 3:21 PM, Zack Rogers <
>>> zrogers at daylightinginnovations.com> wrote:
>>>
>>> > Hi Andy,
>>> >
>>> > I just tried installing this on Ubuntu and got a couple errors.  First
>>> it
>>> > complained of not having a "BSDFViewer" directory.  Was this supposed
>>> to be
>>> > in this .tar file?  So, I copied this same directory that was in a
>>> > "BSDFViewer1.2_ubuntu" package I got from you and it runs until I get
>>> > errors like this for each file in BSDFViewer directory:
>>> >
>>> > /usr/bin/ld: i386 architecture of input file 'xxxxx.o' is incompatible
>>> > with i386:x86-64 output
>>> >
>>> > It also complains about not finding a "libBSDF.so" file.
>>> >
>>> > Am I missing some updated files or something else?
>>> >
>>> > Thanks!
>>> > Zack
>>> >
>>> > On Wed, Mar 27, 2013 at 11:21 AM, Andrew McNeil <amcneil at lbl.gov>
>>> wrote:
>>> >
>>> >> Andre,
>>> >>
>>> >> download: http://dl.dropbox.com/u/16523492/BSDFViewer1.3_ubuntu.tar
>>> >> unpack and run:  sudo ./install.sh
>>> >> Tell me how it goes, send any errors or problems.
>>> >>
>>> >> Thanks!
>>> >> Andy
>>> >>
>>> >>
>>> >> On Wed, Mar 27, 2013 at 4:10 AM, Andre Kostro <andre.kostro at epfl.ch
>>> >wrote:
>>> >>
>>> >>> Hi there,
>>> >>>
>>> >>> I would be very interested in testing the BSDFviewer for linux.
>>> >>>
>>> >>> Kind regards,
>>> >>> Andre
>>> >>>
>>> >>> _______________________________________________
>>> >>> Radiance-general mailing list
>>> >>> Radiance-general at radiance-online.org
>>> >>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>> >>>
>>> >>>
>>> >>
>>> >> _______________________________________________
>>> >> Radiance-general mailing list
>>> >> Radiance-general at radiance-online.org
>>> >> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Zack Rogers, P.E., LEED AP BD+C
>>> > Daylighting Innovations, LLC
>>> > 211 North Public Road, Suite 220
>>> > Lafayette, CO 80026
>>> > (303)946-2310
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > Radiance-general mailing list
>>> > 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/20130411/6616a432/attachment-0001.html
>>> >
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Thu, 11 Apr 2013 16:25:36 -0700
>>> From: Andrew McNeil <amcneil at lbl.gov>
>>> To: Radiance general discussion <radiance-general at radiance-online.org>
>>> Subject: Re: [Radiance-general] BSDFviewer
>>> Message-ID:
>>>         <CAOG+NiwstsFRhmn1zR0=_
>>> 3gCCodHa77CNpLxnur5xt+pYhxjOQ at mail.gmail.com>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>>
>>>
>>> Sorry new link, zip not tar:
>>> http://dl.dropboxusercontent.com/u/16523492/BSDFViewer1.3a_ubuntu.zip
>>>
>>>
>>>
>>>
>>> On Thu, Apr 11, 2013 at 4:22 PM, Andrew McNeil <amcneil at lbl.gov> wrote:
>>>
>>> > Hi Zack,
>>> > Sorry, the BSDFViewer folder should have been in the tar file.  Using
>>> an
>>> > old one won't work.
>>> >
>>> > here's a link to a new tar file which includes the missing directory:
>>> > http://dl.dropboxusercontent.com/u/16523492/BSDFViewer1.3a_ubuntu.tar
>>> >
>>> > Andy
>>> >
>>> > PS - Still working on answering all the questions in your previous
>>> email...
>>> >
>>> >
>>> >  On Thu, Apr 11, 2013 at 3:21 PM, Zack Rogers <
>>> > zrogers at daylightinginnovations.com> wrote:
>>> >
>>> >> Hi Andy,
>>> >>
>>> >> I just tried installing this on Ubuntu and got a couple errors.
>>>  First it
>>> >> complained of not having a "BSDFViewer" directory.  Was this supposed
>>> to be
>>> >> in this .tar file?  So, I copied this same directory that was in a
>>> >> "BSDFViewer1.2_ubuntu" package I got from you and it runs until I get
>>> >> errors like this for each file in BSDFViewer directory:
>>> >>
>>> >> /usr/bin/ld: i386 architecture of input file 'xxxxx.o' is incompatible
>>> >> with i386:x86-64 output
>>> >>
>>> >> It also complains about not finding a "libBSDF.so" file.
>>> >>
>>> >> Am I missing some updated files or something else?
>>> >>
>>> >> Thanks!
>>> >> Zack
>>> >>
>>> >> On Wed, Mar 27, 2013 at 11:21 AM, Andrew McNeil <amcneil at lbl.gov>
>>> wrote:
>>> >>
>>> >>> Andre,
>>> >>>
>>> >>> download: http://dl.dropbox.com/u/16523492/BSDFViewer1.3_ubuntu.tar
>>> >>> unpack and run:  sudo ./install.sh
>>> >>> Tell me how it goes, send any errors or problems.
>>> >>>
>>> >>> Thanks!
>>> >>> Andy
>>> >>>
>>> >>>
>>> >>> On Wed, Mar 27, 2013 at 4:10 AM, Andre Kostro <andre.kostro at epfl.ch
>>> >wrote:
>>> >>>
>>> >>>> Hi there,
>>> >>>>
>>> >>>> I would be very interested in testing the BSDFviewer for linux.
>>> >>>>
>>> >>>> Kind regards,
>>> >>>> Andre
>>> >>>>
>>> >>>> _______________________________________________
>>> >>>> Radiance-general mailing list
>>> >>>> Radiance-general at radiance-online.org
>>> >>>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>> >>>>
>>> >>>>
>>> >>>
>>> >>> _______________________________________________
>>> >>> Radiance-general mailing list
>>> >>> Radiance-general at radiance-online.org
>>> >>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>> >>>
>>> >>>
>>> >>
>>> >>
>>> >> --
>>> >> Zack Rogers, P.E., LEED AP BD+C
>>> >> Daylighting Innovations, LLC
>>> >> 211 North Public Road, Suite 220
>>> >> Lafayette, CO 80026
>>> >> (303)946-2310
>>> >>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> Radiance-general mailing list
>>> >> 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/20130411/8f49ce34/attachment.html
>>> >
>>>
>>> ------------------------------
>>>
>>>
>>> _______________________________________________
>>> Radiance-general mailing list
>>> Radiance-general at radiance-online.org
>>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>>
>>>
>>> End of Radiance-general Digest, Vol 110, Issue 8
>>> ************************************************
>>>
>>
>>
>>
>> _______________________________________________
>> Radiance-general mailing list
>> 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/20130412/30f17f5c/attachment-0001.html>


More information about the Radiance-general mailing list