rookie question: how to do in the command window of Windows system what "echo" does in Unix shell?

Dear Radiance experts,

I'm new to Radiance and appreciate if you can help me on this simple
question:

Welcome and I guess we can.

The following commend in the Shell of Unix will get the horizontal
irradiance value due to the uniform sky as defined in the sky_uni.oct file:

First of all: In your command below you need to substitute the "-r+"
with a "-I+" (upper case i). If you copied this command correctly from
your source then you need a better source of information.

% echo "0 0 0 0 0 1" | rtrace -h -r+ -w -ab 1 sky_uni.oct

May I ask in order to do the same thing what DOS commands I should use do
the same thing in the command window of a Windows XP or Vista system when
I'm using the Desktop Radiance?

You can create a file "points.txt" with "0 0 0 0 0 1" in it (ASCII
text file, not a Word doc!). These are basically the coordinates of
the point you want to test (0,0,0) and the direction in which you
point your virtual sensor (0,0,1 = "up"). Now use this command on the
DOS prompt:

rtrace -w -h -ab 1 sky_uni.oct < points.txt

Later on you will want to test more than just one point. Then you can
just add a new line for each point to the file and you will get one
line of output (r,g and b value) for each line/point.

PS: If you can install applications on your system then you should
replace the Radiance installation from Desktop Radiance with a more
recent version. You can download a Windows installer for the 3.9
version here:

http://www.bozzograo.net/radiance/index.php?module=Downloads&func=prep_hand_out&lid=23

Regards,
Thomas

···

On Fri, May 28, 2010 at 10:48 AM, Ji Zhang 张冀 <[email protected]> wrote:

Dear Thomas,

Thank you very much for your kind help!

Ji

···

On Fri, May 28, 2010 at 8:55 PM, Thomas Bleicher <[email protected]>wrote:

On Fri, May 28, 2010 at 10:48 AM, Ji Zhang 张冀 <[email protected]> wrote:
> Dear Radiance experts,
>
> I'm new to Radiance and appreciate if you can help me on this simple
> question:

Welcome and I guess we can.

> The following commend in the Shell of Unix will get the horizontal
> irradiance value due to the uniform sky as defined in the sky_uni.oct
file:

First of all: In your command below you need to substitute the "-r+"
with a "-I+" (upper case i). If you copied this command correctly from
your source then you need a better source of information.

> % echo "0 0 0 0 0 1" | rtrace -h -r+ -w -ab 1 sky_uni.oct

> May I ask in order to do the same thing what DOS commands I should use do
> the same thing in the command window of a Windows XP or Vista system when
> I'm using the Desktop Radiance?

You can create a file "points.txt" with "0 0 0 0 0 1" in it (ASCII
text file, not a Word doc!). These are basically the coordinates of
the point you want to test (0,0,0) and the direction in which you
point your virtual sensor (0,0,1 = "up"). Now use this command on the
DOS prompt:

rtrace -w -h -ab 1 sky_uni.oct < points.txt

Later on you will want to test more than just one point. Then you can
just add a new line for each point to the file and you will get one
line of output (r,g and b value) for each line/point.

PS: If you can install applications on your system then you should
replace the Radiance installation from Desktop Radiance with a more
recent version. You can download a Windows installer for the 3.9
version here:

http://www.bozzograo.net/radiance/index.php?module=Downloads&func=prep_hand_out&lid=23

Regards,
Thomas

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

--
ZHANG Ji 张冀 (PhD) :: Research Fellow :: Centre for Sustainable Asian Cities
:: School of Design and Environment :: National University of Singapore :: 4
Architecture Drive, Singapore, 117566 :: Contact: 65-6516 5046 :: Email:
[email protected]