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

CPU and GPU renders are different for a simple curve scene #208

Closed
xiamengqi2012 opened this issue Nov 21, 2021 · 1 comment
Closed

CPU and GPU renders are different for a simple curve scene #208

xiamengqi2012 opened this issue Nov 21, 2021 · 1 comment

Comments

@xiamengqi2012
Copy link

xiamengqi2012 commented Nov 21, 2021

I tried to render the following simple scene with 50 straight curves side by side but found CPU and GPU renders are different. My CUDA version is 11.5.

Integrator "path"
    "integer maxdepth" [ 1 ]
LookAt 0 0 -6
    0 0 0
    0 1 0
Camera "perspective"
    "float fov" [ 18 ]
Sampler "halton"
    "integer pixelsamples" [ 64 ]
Film "rgb"
    "string filename" [ "1layer_back.png" ]
    "integer yresolution" [ 400 ]
    "integer xresolution" [ 400 ]
    "float iso" [ 110 ]
WorldBegin
AttributeBegin
    Material "hair"
        "float eta" [ 1.55 ]
        "float beta_n" [ 0.3 ]
        "float beta_m" [ 0.3 ]
        "float alpha" [ 0 ]
        "rgb sigma_a" [ 0 0 0 ]
    Include "scenes/hair50.pbrt"
AttributeEnd
AttributeBegin
    LightSource "point"
        "point3 from" [ 0 0 -1 ]
        "rgb I" [ 10 10 10 ]
AttributeEnd

CPU render
1layer_back_cpu

GPU render
1layer_back_gpu

@mmp
Copy link
Owner

mmp commented Nov 22, 2021

Yep, this is a known discrepancy (for now at least). See issues #201 and #7. PRs are welcome if you're familiar with OptiX. :-)

@mmp mmp closed this as completed Nov 22, 2021
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