Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using --pixelstats in conjunction with --outfile do not work as expected #414

Open
fvandw opened this issue Feb 16, 2024 · 1 comment
Open

Comments

@fvandw
Copy link

fvandw commented Feb 16, 2024

When rendering --pixelstats with an --outfile option, pixelstat images filenames seem to be over-sanitized.

Example: rendering to a destination subfolder

~/pbrt/build/pbrt ../pbrt-v4-scenes/bmw-m6/bmw-m6.pbrt --pixelstats --spp 4 --outfile bmw/bmw-m6-spp4.exr
correctly renders the output image to a bmw-m6-spp4.exr file in the subdirectory bmw. However, the pixelstats images are rendered in the current directory under the name bmw_bmw-m6-spp4-[pixelstat name].exr

It gets even worse if the destination file name starts with ./:
~/pbrt/build/pbrt ../pbrt-v4-scenes/bmw-m6/bmw-m6.pbrt --pixelstats --spp 4 --outfile ./bmw/bmw-m6-spp4.exr
produces a (hidden) stat image named ._bmw_bmw-m6-spp4-[pixelstat name].exr in the current directory

Also, a pixelstat named with a string containing a space character lead to an output file between quotes, eg. a "dummy name" pixel stat is rendered in a 'bmw-m6-spp4-dummy name.exr' file

@pbrt4bounty
Copy link
Contributor

pbrt4bounty commented Oct 15, 2024

I found this issue here too. Try to investigating a bit..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants