[Radiance-general] rpict command for photon mapping

Shakespeare, Robert A. shakespe at indiana.edu
Mon Oct 31 08:40:33 PDT 2016


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 <gregoryjward at gmail.com<mailto:gregoryjward at gmail.com>> 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 <katsuya.obara at arup.com<mailto:katsuya.obara at arup.com>>

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:gregoryjward at gmail.com]
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 <katsuya.obara at arup.com<mailto:katsuya.obara at arup.com>>

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:gregoryjward at gmail.com]
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 <katsuya.obara at arup.com<mailto:katsuya.obara at arup.com>>

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:gregoryjward at gmail.com]
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 <katsuya.obara at arup.com<mailto:katsuya.obara at arup.com>>

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
Radiance-general at radiance-online.org<mailto: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<mailto: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<mailto: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/20161031/98e0956c/attachment-0001.html>


More information about the Radiance-general mailing list