<!-- /* Font Definitions */ @font-face {font-family:Helvetica; panose-1:2 11 6 4 2 2 2 2 2 4;} @font-face {font-family:PMingLiU; panose-1:2 2 5 0 0 0 0 0 0 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:"\@PMingLiU"; panose-1:2 2 5 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman","serif";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Times New Roman","serif"; color:#0F5573; font-weight:normal; font-style:normal; text-decoration:none none;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif"; mso-fareast-language:ZH-TW;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} -->
Hi Roland,
Thank you for your advice.
I tried getinfo and got following result.
global.pmap:
\#?RADIANCE
mkpmap \-apg global\.pmap 50000 \-t 60 model\.oct
43666 photons @ \(1\.55e\+000, 1\.38e\+000, 1\.17e\+000\) avg watts
Extent \[2356\.115, \-840\.531, 5\.277\] \[2429\.861, \-780\.744, 120\.050\]
FORMAT=Radiance\_Global\_Photon\_Map
VERSION=160
But I am not sure whether this value is reasonable or not. Can you give me any thought on this value?
Regards,
Katsuya
From: Roland Schregle [mailto:[email protected]]
Sent: Tuesday, November 01, 2016 5:02 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] Radiance-general] Radiance-general] rpict command for photon mapping
Hi Katsuya,
Check the output of getinfo on the photon map. Check the extent (bounding box) to see the photons are where you expect them to be in your scene. Also check the flux in Watts for an absurdly low or high value.
--Roland
Katsuya Obara <[email protected]> wrote:
Hi Greg,
I have tried regenerating octree and run rpict again as following command.
oconv -f materials.mat Balcony.rad glass.rad inside.rad Volume.rad lightshelf.rad sky_M6D10T13.rad >model.oct
mkpmap -apg global.pmap 50000 -t 60 model.oct
I could run successfully until mkpmap and got global.pmap. But when I tried to run rpict as following, I get test.txt file just repeating following command.
rpict -t 60 -ap global.pmap 50 -ab -1 -vf view.vf model.oct >> test.txt
Are there any way to confirm whether calculated photon map file( in this case global.pmap) is correct or not?
Regards,
Katsuya
From: Roland Schregle [mailto:[email protected]]
Sent: Tuesday, November 01, 2016 4:35 AM
To: Radiance general discussion
Subject: Re: [Radiance-general] Radiance-general] rpict command for photon mapping
Hi all,
Indeed intriguing. But how did Katsuya get mkpmap to generate a photon map in the first place? It uses the standard octree parsing routines.
--Roland
"Shakespeare, Robert A." <[email protected]> wrote:
Rpict rvu objview all hang if there is an incomplete xform command... no file reference at the end.
Might be irrelevant in this situation, but sometimes the less obvious is what causes headaches.
Rob
Sent from my iPad
On Oct 31, 2016, at 11:14 AM, Greg Ward <[email protected]> wrote:
OK, since you verified that rpict can at least run, but you are seeing no initialization message with -t 60 and no photon map or ambient file, this seems to imply that rpict is getting stuck trying to read the octree. I have not seen this problem before. Usually, if there is a problem with the octree, it will report an error an exit. How was the octree generated? Did you try re-generating it and running rpict again?
Cheers,
-Greg
From: Katsuya Obara <[email protected]>
Date: October 30, 2016 8:45:22 PM PDT
Hi Greg,
I could get return from following command you advise me.
rpict –version
RADIANCE 5.0 Official Release 2015/09/18 by G. Ward
rpict –defaults
-vtv # view type perspective
-vp 0.000000 0.000000 0.000000 # view point
-vd 0.000000 1.000000 0.000000 # view direction
-vu 0.000000 0.000000 1.000000 # view up
-vh 45.000000 # view horizontal size
-vv 45.000000 # view vertical size
-vo 0.000000 # view fore clipping plane
-va 0.000000 # view aft clipping plane
-vs 0.000000 # view shift
-vl 0.000000 # view lift
-x 512 # x resolution
-y 512 # y resolution
-pa 1.000000 # pixel aspect ratio
-pj 0.670000 # pixel jitter
-pm 0.000000 # pixel motion
-pd 0.000000 # pixel depth-of-field
-ps 4 # pixel sample
-pt 0.050000 # pixel threshold
-t 0 # time between reports
-w+ # warning messages on
-i- # irradiance calculation off
-u- # correlated quasi-Monte Carlo sampling
-bv+ # back face visibility on
-dt 0.050000 # direct threshold
-dc 0.500000 # direct certainty
-dj 0.000000 # direct jitter
-ds 0.250000 # direct sampling
-dr 1 # direct relays
-dp 512 # direct pretest density
-dv+ # direct visibility on
-ss 1.000000 # specular sampling
-st 0.150000 # specular threshold
-av 0.000000 0.000000 0.000000 # ambient value
-aw 0 # ambient value weight
-ab 0 # ambient bounces
-aa 0.200000 # ambient accuracy
-ar 64 # ambient resolution
-ad 512 # ambient divisions
-as 128 # ambient super-samples
-me 0.00e+000 0.00e+000 0.00e+000 # mist extinction coefficient
-ma 0.000000 0.000000 0.000000 # mist scattering albedo
-mg 0.000000 # mist scattering eccentricity
-ms 0.000000 # mist sampling distance
-lr 7 # limit reflection
-lw 1.00e-003 # limit weight
-am 0.0 # max photon search radius
Could you come up any other idea why I cannot run rpict command?
Thank you.
Katsuya
From: Greg Ward [mailto:[email protected]]
Sent: Monday, October 31, 2016 11:00 AM
To: Radiance general discussion
Subject: Re: [Radiance-general] rpict command for photon mapping
Yes, there must be something wrong with the rpict command on your system. Try running "rpict -version" and "rpict -defaults" with no other options.
If those don't return, then rpict is completely broken on your system. Perhaps it is a 64/32-bit mode issue. I have no idea.
Best,
-Greg
From: Katsuya Obara <[email protected]>
Date: October 30, 2016 6:17:12 PM PDT
Hi Greg,
I even don’t get “0% done”.
Followings are the result when I tested your suggestion.
1.What happens when you run the same command without the photon maps?
I tried rpict –t 60 –ab 1 –vf view.vf model.oct >test.result. Even in this case, I couldn’t get “0% done”.
2. What happens when you run with the photon maps and -ab -1?
I tried rpict -t 60 -ap global.pmap 50 -ab -1 -vf view.vf model.oct >test.result. Also in this case, I couldn’t get “0% done”.
Does this mean that I have problem in rpict command not in photon maps?
Thank you for your help.
Regards,
Katsuya
From: Greg Ward [mailto:[email protected]]
Sent: Friday, October 28, 2016 11:32 PM
To: Radiance general discussion
Subject: Re: [Radiance-general] rpict command for photon mapping
Hi Katsuya,
With the -t 60 option, you should at least get a "0% done" message after initialization. Is that message even showing up? You might not see reports every 60 seconds if the scanline writes take longer than that, but you should at least get the initialization output. If you are not seeing that, then something else must be wrong with your command, or the photon map(s) are not loading correctly. I don't know how to verify this, other than regenerating the maps and trying again.
What happens when you run the same command without the photon maps? What happens when you run with the photon maps and -ab -1?
Does anyone else have experience/suggestions to offer?
Cheers,
-Greg
From: Katsuya Obara <[email protected]>
Date: October 27, 2016 6:26:41 PM PDT
Hi Greg,
Thank you for your reply.
Below is the command I tried to run for rpict.
rpict -t 60 -ap global.pmap 50 -ap caustic 200 -ab 1 -vf view.vf model.oct
Following your advice, I changed the command to add output redirection as below.
rpict -t 60 -ap global.pmap 50 -ap caustic 200 -ab 1 -vf view.vf model.oct >test.result
It seems that I could run command but it does not report any progress. Are there any specific format I should specify for output file?
Thank you!
Regards,
Katsuya
From: Greg Ward [mailto:[email protected]]
To: Radiance general discussion
Can you offer any details about what process is starting all the (unsuccessful?) rpict commands? It seems that there is no output redirection, so this is not even a command you would normally run. What is running it for you?
Best,
-Greg
From: Katsuya Obara <[email protected]>
Date: October 27, 2016 1:29:58 AM PDT
Hi all,
I am trying to create rendering image using photon map.
Following the photon map extension user manual, I could run mkpmap command.
But when I try to run rpict command, it seems that they keep trying to run the command and failing as following image.
Can anyone advise me what is causing this problem and how to solve it.
Thank you very much for your help!
Katsuya
____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general