Re: [Radiance-dev] dctimestep binary output

2018-04-16 Thread Randolph M. Fritz
naryReader. -- Randolph M. Fritz || rmfri...@gmail.com On Mon, Apr 16, 2018 at 5:42 PM, Nathaniel Jones wrote: > Hi all, > > I'm trying to read the binary output from dctimestep run with the -od > argument. The idea is that the binary files appear to be a lot faster to > save and load

Re: [Radiance-dev] specifying X11 location

2018-04-08 Thread Randolph M. Fritz
I see I didn't make clear that in these procedures ssh sets the DISPLAY variable on the Amazon Linux instance, so that one need only connect and ideally everything else just works. -- Randolph M. Fritz || +1 206 659-8617 || rmfri...@gmail.com On Sun, Apr 8, 2018 at 4:55 PM, Randolph M.

Re: [Radiance-dev] specifying X11 location

2018-04-08 Thread Randolph M. Fritz
all of these, you may have to turn X Windows ssh access on on your Amazon LInux instance. -- Randolph M. Fritz || +1 206 659-8617 || rmfri...@gmail.com On Sun, Apr 8, 2018 at 11:47 AM, Lars O. Grobe wrote: > Hi Philip, > > don't worry about the "healthy state" of the exe

Re: [Radiance-dev] Meta files and library

2016-05-12 Thread Randolph M. Fritz
Just to be confusing "gnuplot" and "GNU plotutils" are entirely different programs. The gnuplot developers had the name first and are keeping it. In any event, the GNU plotutils will, as far as i know, work with plotin and (if it is resurrected) plotout. Randolph _

Re: [Radiance-dev] Meta files and library

2016-05-12 Thread Randolph M. Fritz
> > > Ah, so "plot files" are indeed something different from "graph files". > > Since the plot(5) man page presumably documenting that format is gone, > > keeping a program around that depends on it doesn't make much sense. > > Well, it was never my package, so I've no idea if it's still "out ther

Re: [Radiance-dev] running genBSDF

2016-05-11 Thread Randolph M. Fritz
What's in blind1.rad? ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev

Re: [Radiance-dev] Glrad on Linux

2016-04-27 Thread Randolph M. Fritz
On Apr 27, 2016 6:50 PM, "Douglas L Reeder" wrote: > > Randolph, > > On os x with a logitech 3 button mouse with the center button being a mouse wheel xev returns button 1 for the left button, 2 for depressing the wheel, 3 for the right button, and 4 for rotating the wheel. > > Hunh, interesting.

Re: [Radiance-dev] Glrad on Linux

2016-04-27 Thread Randolph M. Fritz
I have confirmed using xev that button 4 is scroll up and 5 is scroll down on Mac OS. Anything fancier, I don't know.​ Randolph ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev

Re: [Radiance-dev] Glrad on Linux

2016-04-27 Thread Randolph M. Fritz
Mouse wheel events are reported as mouse button presses; there's a list at this web site: http://xahlee.info/kbd/X11_mouse_button_numbering.html. That list is for Linux; I'm not sure if the same list is used on Mac OS. YMMV. Randolph ___ Radiance-dev ma

Re: [Radiance-dev] Pipe problems on Windows

2016-03-26 Thread Randolph M. Fritz
It seems that Windows fread() sometimes returns a short record when reading from a pipe. See https://github.com/jmacd/xdelta/issues/101#issuecomment-85332549. I still don't understand rcalc's behavior; it seems to me like the short record should be treated as EOF, but maybe I'm missing something.

Re: [Radiance-dev] Pipe problems on Windows

2016-03-26 Thread Randolph M. Fritz
Maybe we should change that to fread()? fgets() is text-oriented. -- Randolph M. Fritz, Lighting Design and Simulation +1 206 659-8617 || rmfri...@gmail.com On Sat, Mar 26, 2016 at 8:33 AM, Gregory J. Ward wrote: > Input is read from stdin by rcalc using this line in getinput

Re: [Radiance-dev] Pipe problems on Windows

2016-03-25 Thread Randolph M. Fritz
I'm shooting in the dark, but it's exactly what we would expect from a memory error. I suppose it might also be a subtle data typing error, or an error in the write calls. Can anyone think of anything else? Schorsch, which version of MSVC are you using? Randolph __

Re: [Radiance-dev] Pipe problems on Windows

2016-03-25 Thread Randolph M. Fritz
I suppose we could run rcalc under valgrind and start looking for memory problems. :-( Randolph ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev

Re: [Radiance-dev] Pipe problems on Windows

2016-03-25 Thread Randolph M. Fritz
> > rcalc.c calls exit(0) when finished, which is supposed to flush all the > output streams. > Harbison and Steele's *C: A Reference Manual* agrees, and so does the MS documentation. WtF? I suppose it is possible this is some subtle pointer bug. :-( ​ Randolph __

Re: [Radiance-dev] Python scripts for Radiance

2016-03-24 Thread Randolph M. Fritz
import os import sys import math import tempfile import argparse import subprocess ​On Unix, os, sys, and math are mostly wrappers around libraries familiar to you; on Windows, they are often very close in functionality. I don't expect they would be much trouble to your. Tempfile is a little bit m

Re: [Radiance-dev] Python scripts for Radiance

2016-03-24 Thread Randolph M. Fritz
My impression is that Python has become something of a standard in the research community, with tools like SciPy, NumPy, and SAGE widely used, though Perl has a library comparable to NumPy in PDL, and there is a SciRuby, There is nothing else like SAGE except for the commercial packages Mathematica

Re: [Radiance-dev] Python scripts for Radiance

2016-03-24 Thread Randolph M. Fritz
But one without the usability and portability problems is noticeably more complex. On the other hand, it fixes those problems, and the problem of file names and directories containing spaces as well. If there really was an inherent problem with using pipes on Windows, > then I'm sure I would have

Re: [Radiance-dev] Python scripts for Radiance

2016-03-22 Thread Randolph M. Fritz
I could look into it. -- Randolph M. Fritz, Lighting Design and Simulation +1 206 659-8617 || rmfri...@gmail.com On Tue, Mar 22, 2016 at 4:04 PM, Gregory J. Ward wrote: > > From: Georg Mischler > > Date: March 22, 2016 12:30:46 PM PDT > > ... > >> Thinking on it some more, the

Re: [Radiance-dev] Python scripts for Radiance

2016-03-22 Thread Randolph M. Fritz
Greg: ​ > > Well, we may need to devise some tests to be sure this is still a > problem, but in the past, Windows would deliver binary files in > 128-byte chunks, meaning that the last chunk might have garbage at the > end of it that was not actually produced by the program that sent it. > Schorsc

Re: [Radiance-dev] Python scripts for Radiance

2016-03-21 Thread Randolph M. Fritz
The problem that code solves is finding the name of the invoked command and getting rid of the Windows .exe extension. I'd write it a bit differently: from os.path import basename, splitext ... progname = splitext(basename(sys.argv[0]))[0] (or, at length) progfile = basename(sys.argv[0]

Re: [Radiance-dev] Winrview and Winimage sources

2016-03-19 Thread Randolph M. Fritz
Why is Qt an especially onerous dependency? It's LGPL and pretty common. -- Randolph M. Fritz, Lighting Design and Simulation +1 206 659-8617 || rmfri...@gmail.com On Wed, Mar 16, 2016 at 9:00 AM, Rob Guglielmetti < rob.guglielme...@gmail.com> wrote: > Agreed, this is awesome, ev

Re: [Radiance-dev] Winrview and Winimage sources

2016-03-19 Thread Randolph M. Fritz
I see what you mean. Even as binaries those are a hefty dependency. ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev

Re: [Radiance-dev] Winrview and Winimage sources

2016-03-19 Thread Randolph M. Fritz
I think the pipe approach is a good one. A separation of UI and computational functions is probably a good way to organize the code, when it is possible.​ ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailma

Re: [Radiance-dev] Winrview and Winimage sources

2016-03-19 Thread Randolph M. Fritz
On 3/16/16, 1:51 PM, "Randolph M. Fritz" > wrote: Why is Qt an especially onerous dependency? It's LGPL and pretty common. On Wed, Mar 16, 2016 at 12:54 PM, Guglielmetti, Robert < robert.guglielme...@nrel.gov> wrote: > Because it's so fuc*ing big. > When

Re: [Radiance-dev] Winrview and Winimage sources

2016-03-15 Thread Randolph M. Fritz
"I miss being able to get luminance/radiance values by mousing over the image, though." Sigh. "If we had..." ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev

Re: [Radiance-dev] Release numbering

2016-03-13 Thread Randolph M. Fritz
As I recall, the way major releases have usually worked is that there's a flurry of fixes afterwards as people adopt them, after which things settle down, and the head goes back to being an alpha. So I was thinking in terms of calling out the major releases as release candidates, and formalizing th

[Radiance-dev] Release numbering

2016-03-12 Thread Randolph M. Fritz
It occurs to me that what we are calling a "release," the rest of the world has taken to calling a "release candidate" -- the version that is almost complete, but still has a couple of annoying bugs hiding that users identify as soon as they put it into service. Perhaps this would be a convention w

Re: [Radiance-dev] GitHub projects on geometry translation

2016-03-05 Thread Randolph M. Fritz
Pronoun troubles: who is doing what to which where? So is this correct: 1. I first use the "fork" button to create my own copy of the repository on GitHub 2. Then I use "git clone" on my own system, referencing my fork. This downloads the repository to my system 3. Commit my change

Re: [Radiance-dev] GitHub projects on geometry translation

2016-03-04 Thread Randolph M. Fritz
ings but, as usual, not enough time and, in this case, no current Revit license; the thing is appallingly expensive. -- Randolph M. Fritz, Lighting Design and Simulation +1 206 659-8617 || rmfri...@gmail.com On Thu, Mar 3, 2016 at 11:48 PM, Georg Mischler wrote: > For simple documentation typos

Re: [Radiance-dev] GitHub projects on geometry translation

2016-03-03 Thread Randolph M. Fritz
Schorsch, I've got a spelling correction for RRadout/README.md. Would you mind granting me "contributor" permissions? Or would you rather I just e-mail it to you? -- Randolph M. Fritz, Lighting Design and Simulation +1 206 659-8617 || rmfri...@gmail.com On Thu, Mar 3, 2016 at

Re: [Radiance-dev] Mark Stock's benchmark on native Windows Radiance

2013-06-29 Thread Randolph M. Fritz
Rob Guglielmetti writes: > > I am silly. This vestigial code is still in OpenStudio, for "Radiance Classic" calcs with a continuous sky: > > catCommand = "cat" > if /mswin/.match(RUBY_PLATFORM) or /mingw/.match(RUBY_PLATFORM) > catCommand = "type" > end > > system("#{catCommand} ./numeric/#{s

Re: [Radiance-dev] Mark Stock's benchmark on native Windows Radiance

2013-06-29 Thread Randolph M. Fritz
I favor "xform" with no options for this job; if the system has Radiance, I expect it will have "xform", regardless of what other commands are or are not available. But, YMMV. Randolph ___ Radiance-dev mailing list Radiance-dev@radiance-online.org ht

Re: [Radiance-dev] Mark Stock's benchmark on native Windows Radiance

2013-06-27 Thread Randolph M. Fritz
I am pleased to be able to say that, in fact, I ran a successful simulation. My hasty hack compilations of libtiff 3.9.7 (the last version 3 libtiff) and zlib 1.2.8 also worked, which was nice to see. Performance, well, not so good. It took 4219.9 wall clock seconds on a fairly capable Xeon, whi

Re: [Radiance-dev] Mark Stock's benchmark on native Windows Radiance

2013-06-27 Thread Randolph M. Fritz
Randolph M. Fritz writes: > > Has anyone got this going? > > (Yes! I have managed to get it built and installed. No, I have no idea > if it is actually working. More, later, when I've tested the thing.) > I am pleased to be able to say that I have been able to get the

[Radiance-dev] Mark Stock's benchmark on native Windows Radiance

2013-06-27 Thread Randolph M. Fritz
Has anyone got this going? (Yes! I have managed to get it built and installed. No, I have no idea if it is actually working. More, later, when I've tested the thing.) Randolph ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www

Re: [Radiance-dev] cmake / VS 2010 Express build problem

2013-06-26 Thread Randolph M. Fritz
Got it. This is a bug, due to missing quotes in InstallRules\CMakeLists.txt. Lines 18-23 of that file should read: get_filename_component(qgif_plugin "${QT_QGIF_${qt_plugin_term}_RELEASE}" NAME) get_filename_component(qico_plugin "${QT_QICO_${qt_plugin_term}_RELEASE}" NAME) get_filename_component

[Radiance-dev] cmake / VS 2010 Express build problem

2013-06-26 Thread Randolph M. Fritz
cmake version 2.8.11.1, Visual Studio version Express SP1. When I go to set up the cmake build (run configure in cmake) I get two warnings like: CMake Warning at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/InstallRequiredSystemLibraries.cmake:343 (message): system runtime libra

Re: [Radiance-dev] Libtiff

2013-06-21 Thread Randolph M. Fritz
Guglielmetti, Robert writes: > > It may be years out of date, but that installer works. It allows us to build ra_tiff for Windows, and last time > I checked on that platform, the executable does what it's supposed to do. > Good, good. But it does perpetuate whatever bugs were in that fairly

[Radiance-dev] Libtiff

2013-06-21 Thread Randolph M. Fritz (i)
September of 2012, available at http://www.remotesensing.org/libtiff/. The GnuWin32 version is derived from libtiff 3.8.2, which was released in March 2007. So far as I know it has not been tested with Radiance. Hunh. -- Randolph M. Fritz

Re: [Radiance-dev] What are people using to compile Radiance on Windows?

2013-06-20 Thread Randolph M. Fritz
Guglielmetti, Robert writes: > > I use MS VisualStudio Express 2008 (v9) to make the > so-called NREL binaries of Radiance > Rob, are you creating a VS project to build Radiance? Or...? Randolph ___ Radiance-dev mailing list Radiance-dev@radianc

[Radiance-dev] What are people using to compile Radiance on Windows?

2013-06-20 Thread Randolph M. Fritz
> In addition to MSVC and CMake, users need Qt and libtiff installed if they want the full complement of executables including the Windows rvu OK. Now, which versions of Qt and libtiff do I use? Do I download the libtiff source and let the cmake build it? Or...? And there are two Qt sites on th

Re: [Radiance-dev] What are people using to compile Radiance on Windows?

2013-06-20 Thread Randolph M. Fritz
Thanks. At the moment, I am downloading VS Express 2010 C++, that being the only no-charge version MS makes available to Vista users (well, it came with my workstation.) Randolph ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://w

[Radiance-dev] What are people using to compile Radiance on Windows?

2013-06-20 Thread Randolph M. Fritz (i)
Visual Studio, MinGW, Cygwin C, or--? -- Randolph M. Fritz ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev

Re: [Radiance-dev] compile radiance HEAD 3332 with cmake on command line / linux

2012-10-25 Thread Randolph M. Fritz
The current cmake build files don't work on my Mac because I have multiple versions of the X11 include and library files on the system. Cmake unpredictably picks files from different versions and fails to build Radiance. On a machine with a clean install and nothing extra, the cmake build fil

Re: [Radiance-dev] compile radiance HEAD 3332 with cmake on command line / linux

2012-10-25 Thread Randolph M. Fritz
n--to know that there's a fair bit of work to do to make them reliable in Unix environments. -- Randolph M. Fritz • rfr...@lbl.gov Environmental Energy Technologies Division • Lawrence Berkeley Labs On 2012-10-25 20:30:35 +, Denny said:   Greg,   a non interactive mode of the build

Re: [Radiance-dev] Falsecolor Problem

2012-03-31 Thread Randolph M. Fritz
md .=" -h $sheight> $slabpic"; system $cmd; solves the problem... Cheers, David ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev -- Randolph M. Fritz ___ Radiance-

Re: [Radiance-dev] NURBS oconv?

2012-01-30 Thread Randolph M. Fritz
On 2012-01-30 22:03:46 +, Gregory J. Ward said: I've looked at this in the past. Aside from the programming effort required to intersect voxels and rays with NURBS, there is the fact that most such algorithms end up dynamically subdividing such surfaces down to pixel resolution. This is

Re: [Radiance-dev] NURBS oconv?

2012-01-30 Thread Randolph M. Fritz
On 2012-01-30 18:52:13 +, Greg Ward said: Hi Fritz, The usual strategy is to convert to Radiance format, like obj2rad.  I don't know how often it's used, but the .OBJ format has a NURBS specification, and it should be easy enough to support it with obj2mesh. That's an interesting though

[Radiance-dev] NURBS oconv?

2012-01-30 Thread Randolph M. Fritz
Would it be possible, do people think, to do a version of oconv that would accept a NURBS model, perhaps in .3dm format, as input? -- Randolph M. Fritz ___ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org

Re: [Radiance-dev] Cannot build Radiance 4.1a on Windows XP SP2 - beginner

2012-01-23 Thread Randolph M. Fritz
On 2012-01-22 17:32:02 +, Guglielmetti, Robert said: I agree with Guy and Greg, the Scons system could probably go away. Yes, I agree. They don't work on any platform at this point--they're of historical interest only. Randolph ___ Radianc

Re: [Radiance-dev] tgz head archive empty

2011-12-02 Thread Randolph M. Fritz
On 2011-12-02 12:20:35 +, David Geisler-Moroder said: it seems that there is a problem with the tgz archive of the radiance head version... The bzipped archive is ok. I've notified the sysadmin. -- Randolph ___ Radiance-dev mailing list Radi

Re: [Radiance-dev] Compiling Radiance with the Intel C Compiler now works!

2011-09-12 Thread Randolph M. Fritz
What level of optimization did you use with icc? Randolph On 2011-09-11 14:01:29 -0700, Guy Vaessen said: >> The performance of the Intel compiler is worse than the gcc compiler 4.5.2. > Do you mean it takes longer to compile, or that Radiance runs more > slowly compiled by icc?   Radiance run

Re: [Radiance-dev] Compiling Radiance with the Intel C Compiler now works!

2011-09-09 Thread Randolph M. Fritz
On 2011-09-08 14:36:37 -0700, Guy Vaessen said: Intel has updated it's C compiler. The Intel compiler version 12 Update 6 is able to compile and run Radiance. I double checked this time, to make sure no other compiler was accidentally used. Great! The performance of the Intel compiler is wo

Re: [Radiance-dev] Compiling Radiance with the Intel (Vectorizing) C Compiler

2011-06-29 Thread Randolph M. Fritz
clock time. I would have hoped for something closer to 8 times wall-clock. I suspect that NFS file locking has become a performance problem. -- Randolph M. Fritz • rfr...@lbl.gov Environmental Energy Technologies Division • Lawrence Berkeley Labs ___ Rad

Re: [Radiance-dev] Compiling Radiance with the Intel (Vectorizing) C Compiler

2011-06-28 Thread Randolph M. Fritz
On 2011-06-27 14:18:01 -0700, Randolph M. Fritz said: I've got it to compile...but rpict crashes. Anyone tried this before? Did you get it to work? I think the answer is "no." The Radiance code doesn't work with that compiler, even with optimization turned off. I

[Radiance-dev] Possible bug found by Intel cc

2011-06-27 Thread Randolph M. Fritz
In ambient.c: ambient.c(521): warning #279: controlling expression is constant aflock(creat ? F_WRLCK : F_RDLCK); That seems odd. Is it possible that it was supposed to be: aflock(cre8 ? F_WRLCK : F_RDLCK); -- Randolph M. Fritz • rfr...@lbl.gov Environmental Energy Technologies

[Radiance-dev] Compiling Radiance with the Intel (Vectorizing) C Compiler

2011-06-27 Thread Randolph M. Fritz
I've got it to compile...but rpict crashes. Anyone tried this before? Did you get it to work? -- Randolph M. Fritz • rfr...@lbl.gov Environmental Energy Technologies Division • Lawrence Berkeley Labs ___ Radiance-dev mailing list Radianc

Re: [Radiance-dev] Fix for compilation with gcc >=4.5

2011-02-18 Thread Randolph M. Fritz
t - I didn't check if NAZI or NALT will be redfined somewhere. The issue should be fixed in some way, though. Cheers, Bernd -- Randolph M. Fritz • rfr...@lbl.gov Environmental Energy Technologies Division • Lawrence Berkeley Labs ___ Ra

Re: [Radiance-dev] gensky -g buglet

2011-02-10 Thread Randolph M. Fritz
It generates an intermediate sky with a sun... Randolph On 2011-02-10 13:34:42 -0800, Randolph M. Fritz said: Ooof! Something really weird happens when I run: gensky 6 21 10:30 -g -c Not sure what it does, but it includes a sun. Time to rerun some simulations... Randolph On 2011-02-09

Re: [Radiance-dev] gensky -g buglet

2011-02-10 Thread Randolph M. Fritz
you use -g 0.30, you would get a ground reflectance of 30% instead of the default 20%. Make sense? -Greg From: "Randolph M. Fritz" Date: February 9, 2011 10:05:17 AM PST So is the default never used? Or only when -g is not given? On 2011-02-07 13:49:44 -0800, Gregory J. War

Re: [Radiance-dev] gensky -g buglet

2011-02-10 Thread Randolph M. Fritz
On 2011-02-09 10:22:13 -0800, Guglielmetti, Robert said: The default rfl value for -g is used when -g is not given. That's the definition of default, isn't it? =8-) Greg is saying that -g needs an argument, for the ground refl. It's not an on/off switch. I know that...now. Thanks. Randol

Re: [Radiance-dev] gensky -g buglet

2011-02-09 Thread Randolph M. Fritz
g() to check command argument types. -Greg From: "Randolph M. Fritz" Date: February 7, 2011 1:29:09 PM PST If -g is given as the last argument to the gensky command, a bus error or segmentation fault results. That is: gensky 3 31 10:00 -g -c works, but gensky 3 31 10:00 -c -g

[Radiance-dev] gensky -g buglet

2011-02-07 Thread Randolph M. Fritz
If -g is given as the last argument to the gensky command, a bus error or segmentation fault results. That is: gensky 3 31 10:00 -g -c works, but gensky 3 31 10:00 -c -g fails. -- Randolph M. Fritz • rfr...@lbl.gov Environmental Energy Technologies Division • Lawrence Berkeley Labs

[Radiance-dev] .dat files missing from 4.0 Debian packages

2011-01-19 Thread Randolph M. Fritz
The following files: > ./src/gen/defangle.dat > ./src/gen/coeff_perez.dat Are not in the Debian version of Radiance 4.0, version 4R0+20100620-1. They belong in /usr/share/radiance. Randolph ___ Radiance-dev mailing list Radiance-dev@radiance-online

[Radiance-dev] .dat files missing from 4.0 Debian packages

2011-01-19 Thread Randolph M. Fritz
The following files: > ./src/gen/defangle.dat > ./src/gen/coeff_perez.dat Are not in the Debian version of Radiance 4.0, version 4R0+20100620-1. They belong in /usr/share/radiance. Randolph ___ Radiance-dev mailing list Radiance-dev@radiance-onlin