[Pbrt-discuss] problem with the sphere

John Danks john.danks at gmail.com
Fri Oct 30 17:23:51 EDT 2009


Which version of pbrt are you using? I was not able to reproduce the
problem with version 2.

On Fri, Oct 30, 2009 at 2:14 PM, Mohamed Yessine Yengui
<yengui.yessine at gmail.com> wrote:

> Hello!

>

> When I tried to render the sphere model with pbrt, I noticed that there was

> a dark point in the resulting image, normally, this point must be

> illuminated. After analyzing, I perceived that the normal vector computed on

> the sphere is not continuous. Could anyone help me to resolve this problem?

>

> This is my .pbrt file and you find in attached the resulting image.  The

> dark point is in the red circle.

>

>

>

>  Film "image" "string filename"  ["sphere.exr"]

>         "integer xresolution" [500] "integer yresolution" [500]

>    Sampler  "bestcandidate"  "integer pixelsamples" [4]

>    LookAt -12 -3 12 0 0 0 0 1 0

>     Camera "orthographic"

>     WorldBegin

>    AttributeBegin

>    CoordSysTransform "camera"

>      LightSource "distant"  "color I" [ 3 3 3 ] "point from" [0 0 0] "point

> to" [-1 -1 1]

>     AttributeEnd

>     AttributeBegin

>      Material "plastic" "color Kd" [1.0 1.0 1.0] "color Ks" [8 8 8] "float

> roughness" [.006]

>     Shape "sphere" "float radius" [.3]

>      AttributeEnd

>     WorldEnd

>

> Thanks

> _______________________________________________

> pbrt-discuss mailing list

> pbrt-discuss at pbrt.org

> http://six.pairlist.net/mailman/listinfo/pbrt-discuss

>

>



More information about the pbrt-discuss mailing list