|
 |
In article <3905c5a7@news.povray.org> , "Thorsten Froehlich"
<tho### [at] trf de> wrote:
> It might be that some MegaPOV code counts from 1 to image height. Make sure
> that when MegaPOV calls MacFile_ReadLine the parameter line_number starts
> with 0, not 1. Then fix the MegaPOV code (not the sysmacpict code as a 0
> base is required for it to work with other POV-Ray code). You do not notice
> this problem with other formats because PICT images cannot be loaded line by
> line and therefore need a working line counter, while other formats may not
> even use it.
Actually it needs to be -1, not 0 (as MegaPOV sets it). Just set the inital
line number in DoPostProcess to tmp = -1 . This is required because the
reading functions are responsible for incrementing the line number. For the
other formats it just does not matter as they don't use this line number
anyway. Note that this requirement is based on the function
Read_Rendered_Part in POV-Ray 3.1.
Thorsten
Post a reply to this message
|
 |