|
![](/i/fill.gif) |
Christoph Hormann wrote:
> Wolfgang Wieser wrote:
>> [...]
>>
>> If you think that I should re-implement PRTRenderer's functionality
>> using plain C and use PRTImageData and PRTTileHeap for their
>> purposes, I will very likely consider doing that.
>
> PRTImageData and PRTTileHeap are both completely undocumented
>
No, they are not. The header file contains a small comment on the
functionality of the methods. I normally put my docu into the header
and not into the .cpp files because when I want to use the code
lateron, I using the headers is more convenient.
But of course, more comments explaining some general ideas and
workings should be added.
> and they
> do some really strange things - using 16 bit values for the image for
> example is understandable for memory size reasons but this makes it
> essentially incompatible to other patches (HDR output, post processing).
>
Ah, you are right. In case there are other patches or parts of the code
which need the complete image in memory, one should design and implement
exactly one class which can do so if needed and can be used by all other
parts. This class should be able to handle 16 bit precision if required.
It should, however, not be the default, because the row-by-row
working of povray enables users to generate images of real large size
(6000x6000 which would use 200Mb for the PRT image buffer alone).
BTW, Since when did I have access to HDR output and post processing code?
Wolfgang
Post a reply to this message
|
![](/i/fill.gif) |