[Pbrt-discuss] problem with the sphere

Mohamed Yessine Yengui yengui.yessine at gmail.com
Fri Oct 30 17:14:37 EDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/pbrt-discuss/attachments/20091030/f78b3d9b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sphere.png
Type: image/png
Size: 14020 bytes
Desc: not available
Url : <http://six.pairlist.net/pipermail/pbrt-discuss/attachments/20091030/f78b3d9b/attachment.png>


More information about the pbrt-discuss mailing list