Skip to content

Deterministic multicore rendering #184

@cfreude

Description

@cfreude

Hello,

I would like to deterministically get the same results when using the same seed for sample generation.
However it seems that this only works when using a single core, and as soon as I use multiple cores,
there are differences from one run to the next showing the tile pattern.
My guess is that the scheduler does not guarantee that each thread is processing the same tiles in each run,
which results in different random numbers used for certain tiles in each run.

Is my guess correct?
And what would be the minimal change necessary to ensure a completely deterministic result when using multicore rendering?
I only render locally, so I would not need this for remote rendering on a cluster.

I currently have difficulties understanding the full scheduling infrastructure, since there are numerous interdependent class hierarchies.

Cheers,
Christian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions