POV-Ray

The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Tasklist

FS#114 - Mosaic Preview not displaying properly

Attached to Project: POV-Ray
Opened by Jim Holsenback (jholsenback) - Friday, 21 May 2010, 19:01 GMT
Last edited by Jim Holsenback (jholsenback) - Sunday, 26 September 2010, 00:49 GMT
Task Type Definite Bug
Category Frontend → Preview
Status Closed
Assigned To Christoph Lipka (clipka)
Operating System Linux
Severity Low
Priority Normal
Reported Version 3.70 beta 37a
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Mosaic preview display didn’t work as expected, given these command line options: +sp64 +ep16. The preview was solid colored instead of the coarse preview that you’d expect.

I’ve tested a fix to unix/disp_sdl.cpp from clipka and it appears to work.

This task depends upon

Closed by  Jim Holsenback (jholsenback)
Sunday, 26 September 2010, 00:49 GMT
Reason for closing:  Fixed
Comment by Christoph Lipka (clipka) - Friday, 21 May 2010, 20:13 GMT

fix submitted as change #4990

Comment by Grimbert Jérôme (Le_Forgeron) - Thursday, 08 July 2010, 17:53 GMT

It seems to work (with source from #5066) but I have the following observations:

1. the previewed mozaic is one pixel short (at least on linux): at iteration with size x, we can still see the border (one pixel width) of the iteration with size*2. (and from starting grid, the black layout): is it an intended effect ?
(see attached picture)

2. There is a side effect on the reported statistics (or actually ?) for the number of threads used to perform the rendering.

With +sp64 +ep16 +H1025 +W1025:

Photon Time:      0 hours  0 minutes  0 seconds (0.190 seconRender Time:
Photon Time:      0 hours  0 minutes  0 seconds (0.189 seconds)
            using 21 thread(s) with 0.216 CPU-seconds total
Radiosity Time:   No radiosity
Trace Time:       0 hours  4 minutes  5 seconds (245.113 seconds)
            using 72 thread(s) with 2882.681 CPU-seconds total

POV-Ray finished

With +H1025 +W1025:
Render Time:

Photon Time:      0 hours  0 minutes  0 seconds (0.190 seconds)
            using 21 thread(s) with 0.216 CPU-seconds total
Radiosity Time:   No radiosity
Trace Time:       0 hours  4 minutes  1 seconds (241.207 seconds)
            using 18 thread(s) with 2852.969 CPU-seconds total

POV-Ray finished

With +sp256 +ep16 +H1025 +W1025:
Render Time:

Photon Time:      0 hours  0 minutes  0 seconds (0.189 seconds)
            using 21 thread(s) with 0.217 CPU-seconds total
Radiosity Time:   No radiosity
Trace Time:       0 hours  4 minutes  3 seconds (243.261 seconds)
            using 72 thread(s) with 2866.325 CPU-seconds total

With +sp32 +ep16 +H1025 +W1025:
Render Time:

Photon Time:      0 hours  0 minutes  0 seconds (0.190 seconds)
            using 21 thread(s) with 0.216 CPU-seconds total
Radiosity Time:   No radiosity
Trace Time:       0 hours  4 minutes  3 seconds (243.193 seconds)
            using 54 thread(s) with 2878.677 CPU-seconds total

POV-Ray finished

So it seems the number of working Threads are accumulated/multiplied by the number of steps on the mozaic.
(and maybe +sp256 is maxed out to a lower value)
As the threads used for the mozaic are probably ended before actually rendering the remaining picture, it's a bit of a lie: there probably was never 72 simultaneous threads alive...
(My default +WT is 18, YMMV)

Comment by Jim Holsenback (jholsenback) - Saturday, 14 August 2010, 17:24 GMT

Corrected 1 pixel error with change #5099

Comment by Grimbert Jérôme (Le_Forgeron) - Saturday, 25 September 2010, 19:42 GMT

Preview is now fine with beta 39.
(from sources via perforce)

I would like to suggest to close.

Loading...