Hi all,
How can I render Reinhart MF:4 sky for a given location, date and time using command prompt in Windows?
Thanks
Best regardsSandeep
Hi all,
How can I render Reinhart MF:4 sky for a given location, date and time using command prompt in Windows?
Thanks
Best regardsSandeep
Hi Sandeep,
Did you include the falsecolor rendering so as to say, "I'd like to render something like this?" Otherwise, it looks like you already figured it out. Where did you get the image?
If you want to render a hemispherical fisheye projection but not in false color, you can use the following command to create a set of component images:
vwrays -vth -vp 0 0 0 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 512 -y 512 | rfluxmtx -fac -x 512 -y 512 - rh4sky.rad
where "rh4sky.rad" contains:
###############
#@rfluxmtx h=u o=rhsky%04d.hdr
void glow groundglow
0
0
4 1 1 1 0
groundglow source ground
0
0
4 0 0 -1 180
# Sky glow inherits previous o= setting
#@rfluxmtx h=r4 u=+Y
void glow skyglow
0
0
4 1 1 1 0
skyglow source sky
0
0
4 0 0 1 180
###############
This will create 2306 uncompressed picture files in the current working directory. On some machines, you need to increase the number of open files allowed. Honestly, I don't know how to do this under Windows or if it's a problem.
If you prefer an angular fisheye, which would include visibility of the ground in the corners, change "-vth" to "-vta" in the vwrays command.
To generate a particular sky, use genskyvec with dctimestep like so:
gensky 11 2 12:30 [meridian, latitude, etc.] | genskyvec -m 4 | dctimestep rhsky%04d.hdr > sky11_2_1230.hdr
If you then want to convert this to a false color representation, you can use:
falsecolor -i sky11_2_1230.hdr -log 5 -s auto | ra_bmp > sky11_2_1230fc.bmp
I just want to add that using rfluxmtx to generate 2306 uncompressed pictures, each of which has just a few white pixels, is pretty wasteful of CPU time and disk space. You can run each of the images through "ra_rgbe -r" to reduce their size, but the calculation is still pretty bad. There are better ways to do it, but none that are very convenient.
I should also mention that there was a bug that was recently fixed related to the numbering of output pictures in rcontrib, so you will need to have the latest HEAD release for all this to work.
Cheers,
-Greg
From: sandeep pandey <[email protected]>
Date: November 2, 2016 9:33:04 AM PDTHi all,
How can I render Reinhart MF:4 sky for a given location, date and time using command prompt in Windows?
Thanks
Best regards
Sandeep
Sandeep,
Look for the perl script I posted some time ago to this list.
Depends on whether you have perl available on your machine. It avoids generating a lot of images and is much quicker I suppose.
Best regards,
Wouter
Op 2 nov. 2016 20:03 schreef Greg Ward [email protected]:
Hi Sandeep,
Did you include the falsecolor rendering so as to say, “I’d like to render something like this?” Otherwise, it looks like you already figured it out. Where did you get the image?
If you want to render a hemispherical fisheye projection but not in false color, you can use the following command to create a set of component images:
vwrays -vth -vp 0 0 0 -vd 0 0 1 -vu 0 1 0 -vh 180 -vv 180 -x 512 -y 512 | rfluxmtx -fac -x 512 -y 512 - rh4sky.rad
where “rh4sky.rad” contains:
###############
#@rfluxmtx h=u o=rhsky%04d.hdr
void glow groundglow
0
0
4 1 1 1 0
groundglow source ground
0
0
4 0 0 -1 180
Sky glow inherits previous o= setting
#@rfluxmtx h=r4 u=+Y
void glow skyglow
0
0
4 1 1 1 0
skyglow source sky
0
0
4 0 0 1 180
###############
This will create 2306 uncompressed picture files in the current working directory. On some machines, you need to increase the number of open files allowed. Honestly, I don’t know how to do this under Windows or if it’s a problem.
If you prefer an angular fisheye, which would include visibility of the ground in the corners, change “-vth” to “-vta” in the vwrays command.
To generate a particular sky, use genskyvec with dctimestep like so:
gensky 11 2 12:30 [meridian, latitude, etc.] | genskyvec -m 4 | dctimestep rhsky%04d.hdr > sky11_2_1230.hdr
If you then want to convert this to a false color representation, you can use:
falsecolor -i sky11_2_1230.hdr -log 5 -s auto | ra_bmp > sky11_2_1230fc.bmp
I just want to add that using rfluxmtx to generate 2306 uncompressed pictures, each of which has just a few white pixels, is pretty wasteful of CPU time and disk space. You can run each of the images through “ra_rgbe -r” to reduce their size, but the calculation is still pretty bad. There are better ways to do it, but none that are very convenient.
I should also mention that there was a bug that was recently fixed related to the numbering of output pictures in rcontrib, so you will need to have the latest HEAD release for all this to work.
Cheers,
-Greg
From: sandeep pandey [email protected]
Date: November 2, 2016 9:33:04 AM PDT
Hi all,
How can I render Reinhart MF:4 sky for a given location, date and time using command prompt in Windows?
Thanks
Best regards
Sandeep
You can also try this simplified online tool, which should work with
standard output without header from genskyvec.
On Sun, Nov 20, 2016 at 12:00 PM, < [email protected]> wrote:
Send Radiance-general mailing list submissions to
[email protected]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
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiance-general digest..."Today's Topics:
1. Re: Sky model visualization (Wouter Beck | Ascendilex)
----------------------------------------------------------------------
Message: 1
Date: Wed, 02 Nov 2016 20:18:54 +0100
From: Wouter Beck | Ascendilex <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] Sky model visualization
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-
general/attachments/20161102/d21803c3/attachment.html>------------------------------
Subject: Digest Footer
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general------------------------------
End of Radiance-general Digest, Vol 153, Issue 23
*************************************************